If cell A contains specific data, populate cell C with data from cell B
Hello Smartsheet Community! I hope that everyone is well and had a Happy Thanksgiving, for those of you in the States!
I need some formula assistance for what I'm trying to accomplish.
I have (3) columns: A - Veggie Type, B - Veggie Qty, C - Total Potato Qty
If A - Veggie Type is "Potato", I want the C - Total Potato Qty column to populate with the data that is in the B - Veggie Qty column.
This is what I tried but its not working:
=IF(CONTAINS("Potato", [A - Veggie Type]@row) = [B - Veggie Qty]@row)
Test Sheet here for example: https://app.smartsheet.com/b/publish?EQBCT=98259ee80f37420b8a39b7238a8664d9
Thanks in advance for the assistance!
Best Answer
-
Try this:
=IF([A - Veggie Type]@row = "Potato", [B - Veggie Qty]@row)
Answers
-
Try this:
=IF([A - Veggie Type]@row = "Potato", [B - Veggie Qty]@row)
-
@Paul Newcome - that did the trick! As usual, I was making it harder than it needed to be. Thanks for the uber quick reply! Have a great day!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!