-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onVariable - access to cell position #30
Comments
Is this achievable in Excel or Google Sheets? |
In Excel tables, it is supported |
What do you think of this? Is there any otherway u propose I can access a row index of a variable cell? |
I'm not familiar with the structured reference, I think I will just make position the third parameter. |
Cool thanks. Will be helpful. |
Any ETA on v2 release? |
Not sure yet, could be the beginning of 2021, or the end of 2020. |
Wondering if there is a way to access Table names as well
|
Implemented in the v2 branch, |
https://github.com/LesterLyu/fast-formula-parser/blob/master/grammar/hooks.js#L107
Right now, onVariable callbacks has access to variable name and sheet, but not the cell position.
Can i propose to change
to
The reason is that lets say i have a formula
=sales * 10
, in a table. For each onVariable call, i want to access the cell position and return the correct position ofsales
column.Eg:
The text was updated successfully, but these errors were encountered: