-
Notifications
You must be signed in to change notification settings - Fork 66
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
excel command: parse excel "error" values #1682
Comments
I think this is a very good idea
|
https://github.com/tafia/calamine/blob/953d80ee66d80ecbeabf14670841ea6cc0e1b006/src/lib.rs#L96-L132 I can certainly add an If I can retrieve the unparsed cell as a string, I'm thinking of using three special values for the If a cell's formula is causing a division by zero error and
If
If
If the
WDYT? |
Yes, it would be very good if we are able to format errors with type and original value. For me, I just need a prefix for distinguishing the error cell from the normal cell |
before, we were returning the debug value, which didn't have the '#' prefix to clearly indicate its a cell error - i.e. `#DIV/0!` instead of `Div0` This improves Excel error handling while I research how to get the "original value" of a cell that's causing the error as discussed in #1682
Hi @abcvjp , In the meantime, i'm asking calamine's maintainer if its possible to get the "original value" (tafia/calamine#416) |
@abcvjp, @ondohotola - with #1721 merged, Please let me know how it works for ya'll. Interestingly, it seems fetching the formula text only works on macOS per the GH action runner tests for Ubuntu Linux and Windows. Would be interested to see if you experience the same behavior on your computers. |
Hi. I really love qsv especially the 'excel' command, but there is a small behavior of that command that doesn't fit our requirement
Is your feature request related to a problem? Please describe.
The "error" values in excel file are converted unexpectedlly. E.g.: #ERROR! -> Error, #DIV/0! -> Div0, #NULL! -> Null, ...
Describe the solution you'd like
Keep the original value or convert to a constant specified value
The text was updated successfully, but these errors were encountered: