Description Usage Arguments Value Examples
Extract formulas from an Excel workbook sheet
1 | extract_formulas(xlsx, n)
|
xlsx |
an |
n |
sheet number |
a tibble
with three columns (sheet, cell & formuma text). The
data frame may be empty if no formulas were found. The return will be NULL
if the sheet wasn't found and a warning to said effect will be issued.
1 2 3 4 5 6 7 8 | doc <- read_xlsx(system.file("extdata/wb.xlsx", package="xlsxtractr"))
extract_formulas(doc, 1)
extract_formulas(doc, 2)
extract_formulas(doc, 3) # no formula
# gotta extract'em all!
map_df(seq_along(doc), ~extract_formulas(doc, .))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.