Multiple IF statements
Hi, I'm attemping to assign PRICE to items based on CONDITION and CATEGORY but my limited skills with formulas are keeping me from my desired results. I'm hoping some one can help me out.
In my PRICE column if have the following formula. It works for the "Chair" category but nothing else. Any guidance is appreciated.
=IF(AND(Condition@row = "Fair"), IF(Category@row = "chair", "$5.00"), IF(AND(Condition@row = "good"), IF(Category@row = "chair", "$10.00"), IF(AND(Condition@row = "excellent"), IF(Category@row = "chair", "$15.00"), IF(AND(Condition@row = "Fair"), IF(Category@row = "storage", "$10.00"), IF(AND(Condition@row = "good"), IF(Category@row = "storage", "$20.00"), IF(AND(Condition@row = "excellent"), IF(Category@row = "storage", "$30.00"), IF(AND(Condition@row = "Fair"), IF(Category@row = "Large Furniture", "$25.00"), IF(AND(Condition@row = "good"), IF(Category@row = "large furniture", "$50.00"), IF(AND(Condition@row = "excellent"), IF(Category@row = "large furniture", "$75.00"), IF(AND(Condition@row = "Fair"), IF(Category@row = "small furniture", "$5.00"), IF(AND(Condition@row = "good"), IF(Category@row = "small furniture", "$10.00"), IF(AND(Condition@row = "excellent"), IF(Category@row = "small furniture", "$15.00")))))))))))))
Thank you!
Ken
Best Answer
-
Try this:
=IF(AND(Condition@row = "fair", Category@row = "chair"), 5, IF(AND(Condition@row = "good", Category@row = "chair"), 10, IF(AND(Condition@row = "excellent", Category@row = "chair"), 15, IF(AND(Condition@row = "fair", Category@row = "storage"), 10, IF(AND(Condition@row = "good", Category@row = "storage"), 20, IF(AND(Condition@row = "excellent", Category@row = "storage"), 30, IF(AND(Condition@row = "fair", Category@row = "large Furniture"), 25, IF(AND(Condition@row = "good", Category@row = "large furniture"), 50, IF(AND(Condition@row = "excellent", Category@row = "large furniture"), 75, IF(AND(Condition@row = "fair", Category@row = "small furniture"), 5, IF(AND(Condition@row = "good", Category@row = "small furniture"), 10, IF(AND(Condition@row = "excellent", Category@row = "small furniture"), 15, "not found"))))))))))))
Format your Price column for $.
Answers
-
Try this:
=IF(AND(Condition@row = "fair", Category@row = "chair"), 5, IF(AND(Condition@row = "good", Category@row = "chair"), 10, IF(AND(Condition@row = "excellent", Category@row = "chair"), 15, IF(AND(Condition@row = "fair", Category@row = "storage"), 10, IF(AND(Condition@row = "good", Category@row = "storage"), 20, IF(AND(Condition@row = "excellent", Category@row = "storage"), 30, IF(AND(Condition@row = "fair", Category@row = "large Furniture"), 25, IF(AND(Condition@row = "good", Category@row = "large furniture"), 50, IF(AND(Condition@row = "excellent", Category@row = "large furniture"), 75, IF(AND(Condition@row = "fair", Category@row = "small furniture"), 5, IF(AND(Condition@row = "good", Category@row = "small furniture"), 10, IF(AND(Condition@row = "excellent", Category@row = "small furniture"), 15, "not found"))))))))))))
Format your Price column for $.
-
That did it. You rock! Thank you very much!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!