IF(Index-Match) - Multiple Entries in INDEX returns Non-Blank


I’m using an Index-Match formula and ran into an issue where the Source sheet (WIP Details) has multiple entries in the INDEX column (some entries w/ JobCtMo populated, some with JobCtMo blank). I want to capture only the entries where JobCtMo is NOT BLANK. I used the formula below, but it is returning the #INVALID DATA TYPE error. I also verified that all columns in the formula are text/number data types.

=IF({WIP Details_JobCtMo}, INDEX({WIP Details_JobCtMo}, MATCH([Well/ Pad Name/ Job Type]@row, {WIP Details_wellPadjob}, 0)), "")

Best Answer


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!