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)
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!