Extract a number from text and multiply it to another column number
Hi
A spreadsheet I am using that I have imported into Smartsheet has this formula:
=IFERROR(W63*VALUE(RIGHT(X63, LEN(X63)-FIND("=", X63)))," ")
I managed to get it to work using it like this in Smartsheet
=IFERROR([System Details - PV Size (kWp) - QTY]@row * VALUE(RIGHT([System Details - PV Size- Model (kWp)]@row, LEN([System Details - PV Size- Model (kWp)]@row) - FIND("0.", [System Details - PV Size- Model (kWp)]@row))), " ")
I managed to get it to work using the "0." rather than the "=" as it kept coming blank.
My issue comes is that the next few columns that I need to use the formula doesnt have the 0. and now I am unable to find a way to make it work.
Would someone be able to assist?
Thank you
Melissa
Best Answer
-
Hi @Mel Collis,
I think this should help do what you're after:
=IFERROR(VALUE(RIGHT([System Details - PV Size- Model (kWp)]@row, LEN([System Details - PV Size- Model (kWp)]@row) - FIND("=", [System Details - PV Size- Model (kWp)]@row) - 1)) * [System Details - PV Size (kWp) - QTY]@row, "")
Sample output:
Hope this helps, but if there are any problems/questions, just let us know!
Answers
-
Hi @Mel Collis,
I think this should help do what you're after:
=IFERROR(VALUE(RIGHT([System Details - PV Size- Model (kWp)]@row, LEN([System Details - PV Size- Model (kWp)]@row) - FIND("=", [System Details - PV Size- Model (kWp)]@row) - 1)) * [System Details - PV Size (kWp) - QTY]@row, "")
Sample output:
Hope this helps, but if there are any problems/questions, just let us know!
-
Thank you so much, that worked perfectly!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!