IFERROR and number / currency as value_if_error
I have the following columns in my worksheet:
In the "Bookings" column, I have the following formula:
=IFERROR(INDEX({Bookings Table Total Bookings}, MATCH(pfid@row, {Bookings Table PF}, 0)), "")
In my "Adjusted Bookings" column, I have the following formula:
=[sbe_allocation]@row * Bookings@row
However, as you can see, I get the #INVALID OPERATION message when the value_if_error returns a blank. I tried modifying the formula as follows:
=IFERROR(INDEX({Bookings Table Total Bookings}, MATCH(pfid@row, {Bookings Table PF}, 0)), "$0")
but Smartsheet treats the "$0" as text rather than a currency value. So, then I tried to enter the value_if_error as "0," but Smartsheet also treats this as text, and the #INVALID OPERATION error does not resolve.
Is there a workaround here? Like an "ISNUMBER" wrapper for the value_if_error?
Best Answer
-
Thanks, Andrée. I reverted back to leaving the cell blank for my value_if_error and putting the Adjusted bookings total into this formula:
=IF(ISBLANK(Bookings@row), "", ([sbe_allocation]@row * Bookings@row))
That seemed to work, and it's better for me to have the blanks than 0s in those cells so I can distinguish products that genuinely have $0 in bookings versus products for which we are missing bookings data.
Thanks as always for the help!
Answers
-
Try removing the ”” around the 0 so it looks something like below.
=IFERROR(INDEX({Bookings Table Total Bookings}, MATCH(pfid@row, {Bookings Table PF}, 0)), 0)
Did that work?
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Thanks, Andrée. I reverted back to leaving the cell blank for my value_if_error and putting the Adjusted bookings total into this formula:
=IF(ISBLANK(Bookings@row), "", ([sbe_allocation]@row * Bookings@row))
That seemed to work, and it's better for me to have the blanks than 0s in those cells so I can distinguish products that genuinely have $0 in bookings versus products for which we are missing bookings data.
Thanks as always for the help!
-
Excellent!
You're more than welcome!
✅Remember! Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives