My Formula is not working? I know it is long but I have been over it a few times.
Can someone look at this formula and tell me where I am going wrong?
=IF(Foreman@row= Rob Delich ,β MI URD Crew 1β,IF(Foreman@row= Daren Sterling ,β MI URD Crew 2β, IF(Foreman@row= Todd Katz ,βMI URD Crew 3β, IF(Foreman@row= Matt Pinkerton ,βMI OH Crew 1β, IF(Foreman@row= Bob Knight ,βMI OH Crew 2β, IF(Foreman@row = Anthony Wright ,β MI OH Crew 3β, IF(Foreman@row= Tanner Lancaster ,β MI OH Crew 4β, IF(Foreman@row = Shawn Parrish ,βMI OH Crew 5β, IF(Foreman@row = Eric Quinn , βMI OH Crew 6β, IF(Foreman@row= Shawn Udics ,βMI OH Crew7β, IF(Foreman@row= Scott Holoman ,βSB OH Crew 1β, IF(Foreman@row= Jason Scoles ,βSB OH Crew 2β, IF(Foreman@row= Tim Lowes , βSB OH Crew 3β, IF(Foreman@row= John Snyder ,βSB OH Crew 4β, IF(Foreman@row= James Cotton ,βSB OH Crew5β, IF(Foreman@row = Cory Campbell ,βFW URD Crew 1β, IF(Foreman@row= Ed Harless ,βFW URD Crew 2β, IF(Foreman@row = Jeremy Hurst ,βFW URD Crew 3β, IF(Foreman@row= Phil Garretson ,β FW URD Crew 4β, IF(Foreman@row= Tim Huffman ,βFW URD Crew 5β, IF(Foreman@row= Marco Juarez ,βFW URD Crew 6β, IF(Foreman@row= Jason Curtis ,βFW OH Crew 1β, IF(Foreman@row= Tim Miller ,β FW OH Crew 2β, IF(Foreman@row= Jeff Stone ,βFW OH Crew 3β, IF(Foreman@row= Jared Cripe ,βFW OH Crew 4β))))))))))))))))))))))))))
Best Answer
-
Hi @Nemo
This comment the correct syntax that you'll want to use! Any time you reference text it needs to be "in quotes" so that the formula recognizes it as something to either search for or reproduce.
However, there are two different types of quotes in your formula.
Look at the ones around "MI URD Crew 1β,
=IF([Foreman]@row=Β "Rob Delich" , "MI URD Crew 1β,
You'll notice that the first one is straight " but the second one is curved β
Smartsheet needs the quotes to be the straight type. In your very first formula it looks like all of the quotes are curved... like you had perhaps written the formula somewhere else then copy/pasted it into Smartsheet?
When you adjust the syntax, make sure you're re-typing all of the quotes in Smartsheet as well so that they're the straight type!
Cheers,
Genevieve
Need more information? π | Help and Learning Center
γγγ«γ‘γ― (Konnichiwa), Hallo, Hola, Bonjour, OlΓ‘, Ciao!π | Global Discussions
Answers
-
Hi,
Try the following syntax
=IF(Foreman@row= "Rob Delich" , "MI URD Crew 1β, ....
Hope that helps.
-
I tried, it still is not working. Thank you though
-
what I am trying to do is get a column to put the designated crew number when someone enters a foreman's name.
-
I even changed the formula to =IF([Foreman]@row=Β "Rob Delich" , "MI URD Crew 1β,
-
Hi @Nemo
This comment the correct syntax that you'll want to use! Any time you reference text it needs to be "in quotes" so that the formula recognizes it as something to either search for or reproduce.
However, there are two different types of quotes in your formula.
Look at the ones around "MI URD Crew 1β,
=IF([Foreman]@row=Β "Rob Delich" , "MI URD Crew 1β,
You'll notice that the first one is straight " but the second one is curved β
Smartsheet needs the quotes to be the straight type. In your very first formula it looks like all of the quotes are curved... like you had perhaps written the formula somewhere else then copy/pasted it into Smartsheet?
When you adjust the syntax, make sure you're re-typing all of the quotes in Smartsheet as well so that they're the straight type!
Cheers,
Genevieve
Need more information? π | Help and Learning Center
γγγ«γ‘γ― (Konnichiwa), Hallo, Hola, Bonjour, OlΓ‘, Ciao!π | Global Discussions
-
THANK YOU @Genevieve P.