IF Function not returning as expected

Hello


I have an IF function I am trying to run that evaluates a cell, and then returns one of two indexing formula results

image.png


I have verified that each indexing function and the If function itself with different results all seem to work.


But when I plug them together, my IF function stops evaluating "3100" properly, or it will pull up the Zip result for everyone rather than LOB result for some depending on what PRIN@row says.

As background, PRIN is a dropdown column with four options, one of which I need LOB codes for, two of which I need Zips codes for and one of which is NA so I figured that targeting the most specific one would work best for the IF function.


Thanks for any help in advance!

Tags:

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!