IF Statement Help
Hello All,
I am trying to create a smartsheet to optimize a process. Basically what I need is a statement to recognize if a cell has a specific text value (for example CUP). If the cell contains the value, I need the cell, that I am writing the statement into, to display text (for example Andrej).
I tried to use the IF statement syntax but either I am getting something wrong or I do not know how to format the statement. The statement I tried to use was:
=IF(Customer1="CUP", Andrej)
I tried variations with switching up the brackets and everything but nothing seems to work.
I also want to nest this IF statement to be able to assign multiple customers to a person. For example if the customers CUP and MUG appeared, my cell value would be Andrej. And if the customer values PLATE and FORK appeared then my cell value would be Brian.
Thank you for your response in advance,
Andrej Sulek
Comments
-
Hi Andrej,
Try this.
=IF(Customer1 = "CUP", "Andrej")
Did it work?
Have a fantastic weekend!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
If there could be font or name variations (CUP, cup, Cup, Cupp, etc), I would suggest something along the lines of
=IF(FIND("cup", LOWER(Customer1)) > 0, Andrej)
This will convert the cell to all lower case letters and search for "cup" anywhere within the cell.
-
It worked! Thank you a lot
-
This also worked, thank you!
-
Great!
Happy to help!
Best,
Andrée
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
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!