mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #152] Naming intervals #126
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#126
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @HenriqueMisael on GitHub (Mar 13, 2018).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/152
Originally assigned to: @jmcnamara on GitHub.
Does this library have a function to name a interval/cell?




For example, in Excel, I can click on the box (left to the formula box) with the cell name (for example A4) and give it a name, and reference this cell with a name. Something like: I name B1 as "income", B2 as "taxes" and B3 as "profit". In the B1 and B2 I write 500 and 200. In the B3 (profit) I write "=income-taxes", and it returns the same as "=B1-B2".
@jmcnamara commented on GitHub (Mar 14, 2018):
Hi,
That is possible. It is called "defined names". See the following:
http://libxlsxwriter.github.io/workbook_8h.html#a442b4056e8d4debf56c07888f2a776f6
http://libxlsxwriter.github.io/defined_name_8c-example.html
John