If Then Help
I'd like to have a main input cell for # of items being shipped. Sheet is being set up to ship 40 items. I'd like to have 4 other cells which populate based on the main cell's value.
(Example 1)
Main Cell: 5
Cell 1 (0-10 Items): 5
Cell 2 (10-20 Items): 0
Cell 3 (20-30 Items): 0
Cell 4 (30-40 Items): 0
(Example 2)
Main Cell: 25
Cell 1 (0-10 Items): 0
Cell 2 (10-20 Items): 0
Cell 3 (20-30 Items): 25
Cell 4 (30-40 Items): 0
Can I use If then statements on this?
Answers
-
If you want to enter the number in "Main Cell" and then it automatically populate one of the 4 cells below it depending on the number, you would use 4 different IF statements (one in each of the 4 cells).
=IF(AND([Column Name]1 >= 0, [Column Name]1 <= 10), [Column Name]1)
=IF(AND([Column Name]1 >= 11, [Column Name]1 <= 20), [Column Name]1)
=IF(AND([Column Name]1 >= 21, [Column Name]1 <= 30), [Column Name]1)
=IF(AND([Column Name]1 >= 31, [Column Name]1 <= 40), [Column Name]1)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!