IF statement based on values from another cell
Hello,
I am trying to add a 4th condition to my IF statement which already has 3 criteria.
My current working formula for 3 criteria is:
=IF(ISDATE([Reorder date]@row), "Reordered", IF([In stock qty]@row <= [Reorder level]@row, "Reorder Needed", "OK"))
I am creating an inventory sheet where if "In stock qty" column is less than "Reorder level" than to return "REORDERED NEEDED" or if it is greater than reorder level than to put "OK". If there is a date filled out in the "reorder date" column that takes priority and outputs "Reordered"
The tricky part is adding in my 4th condition. If "In stock qty" drops within 500 or less of "Reorder level", I want it to output "Reorder soon" but if the "In stock qty" drops below "Reorder level", it needs to change back to "REORDERED NEEDED" again.
The formula I've been trying to use to add my 4th condition is:
=IF(ISDATE([Reorder date]@row), "Reordered", IF([In stock qty]@row <= [Reorder level]@row, "Reorder Needed", "OK", IF(AND([In stock qty]@row = < 500 [Reorder level]@row, "Reorder soon"))))
Best Answer
-
Does this work as expected?
=IF(ISDATE([Reorder date]@row), "Reordered", IF([Stock qty]@row <= [Reorder level]@row, "Reorder Needed", IF([Stock qty]@row - [Reorder level]@row <= 500, "Reorder Soon", "OK")))
Jessica Selano | Selano Consulting
jessica@selanoconsulting.com
Answers
-
Does this work as expected?
=IF(ISDATE([Reorder date]@row), "Reordered", IF([Stock qty]@row <= [Reorder level]@row, "Reorder Needed", IF([Stock qty]@row - [Reorder level]@row <= 500, "Reorder Soon", "OK")))
Jessica Selano | Selano Consulting
jessica@selanoconsulting.com
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 449 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!