Multiply cells in single row if cell is not blank
Referencing the attached image, I want to multiply the Pricing cell by the Seats/Multiplier cell, but only if the latter has a value/is not blank (obviously irrespective of row, ignore that part in the formulas).
So if this works:
=Pricing13 * [Seats/Multiplier]13
And this works:
=IF(ISBLANK([Seats/Multiplier]2), Pricing2)
And this works:
=IF(NOT(ISBLANK([Seats/Multiplier]14)), Pricing14 * [Seats/Multiplier]14)
Why doesn't this work:
=IF(NOT(ISBLANK([Seats/Multiplier]14)), Pricing14 * [Seats/Multiplier]14), IF(ISBLANK([Seats/Multiplier]14), Pricing14
Or more importantly, how can I more simply formulate elseif?
Thanks in advance!!
Best Answer
-
Too many parenthesis. Try =IF(NOT(ISBLANK([Seats/Multiplier]14)), Pricing14 * [Seats/Multiplier]14, IF(ISBLANK([Seats/Multiplier]14), Pricing14
Answers
-
Too many parenthesis. Try =IF(NOT(ISBLANK([Seats/Multiplier]14)), Pricing14 * [Seats/Multiplier]14, IF(ISBLANK([Seats/Multiplier]14), Pricing14
-
Thanks, Emily! What a difference a parenthesis makes. Cheers!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!