# Removing Zero from my results

✭✭✭✭
edited 04/26/24

Can anyone see what is wrong with this equation. Trying to remove zero from my column when nothing has been done.

=IF({08 - Estimating # of Pricing} = 0, INDEX({08 - Estimating # of Pricing}, MATCH([Job #]@row, {08 - Estimating Sheet Job #}, 0)), "")

• ✭✭✭✭✭✭

It sounds like you are trying to return the value from 08 - Estimating # of Pricing in a different sheet where the Job # matches, but if this is 0 you want to return blank? Is that correct?

If so, I believe you need to have the IF evaluate the result of the INDEX MATCH rather than the column as it won't know which cell in the column to look at. Try this:

=IF(INDEX({08 - Estimating # of Pricing}, MATCH([Job #]@row, {08 - Estimating Sheet Job #}, 0)) = 0, "", INDEX({08 - Estimating # of Pricing}, MATCH([Job #]@row, {08 - Estimating Sheet Job #}, 0)))

• ✭✭✭✭✭✭

It sounds like you are trying to return the value from 08 - Estimating # of Pricing in a different sheet where the Job # matches, but if this is 0 you want to return blank? Is that correct?

If so, I believe you need to have the IF evaluate the result of the INDEX MATCH rather than the column as it won't know which cell in the column to look at. Try this:

=IF(INDEX({08 - Estimating # of Pricing}, MATCH([Job #]@row, {08 - Estimating Sheet Job #}, 0)) = 0, "", INDEX({08 - Estimating # of Pricing}, MATCH([Job #]@row, {08 - Estimating Sheet Job #}, 0)))

• ✭✭✭✭

TYVM

• ✭✭✭✭✭✭

NP, HTH

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!