Exact

I just want to compare 2 cells (=exact in excel) if they are exact then true, if not then false, why am I struggling

Best Answer

  • Kerry St. Thomas
    Kerry St. Thomas Community Champion
    Answer ✓

    =IF(Column1@row=Column2@row,1,0) applied to a column of type Checkbox will do this comparison. Sometimes, confounding issues will arise (e.g. if the columns are of different types). If you're comparing numbers, you'll definitely want to review your output for accuracy - there's a possibility you are VIEWING a rounded number but there's an underlying decimal, or that you're viewing what LOOKS like a number but is reading as text. (You can fix these by using ROUND and/or VALUE formulas to wrap Column1@row and Column2@row to standardize format.)

    Good luck!

    If this answer resolves your question, please help the Community by marking it as an accepted answer. I'd also be grateful for your response - "Insightful"or "Awesome" reactions are much appreciated. Thanks!

Answers

  • Kerry St. Thomas
    Kerry St. Thomas Community Champion
    Answer ✓

    =IF(Column1@row=Column2@row,1,0) applied to a column of type Checkbox will do this comparison. Sometimes, confounding issues will arise (e.g. if the columns are of different types). If you're comparing numbers, you'll definitely want to review your output for accuracy - there's a possibility you are VIEWING a rounded number but there's an underlying decimal, or that you're viewing what LOOKS like a number but is reading as text. (You can fix these by using ROUND and/or VALUE formulas to wrap Column1@row and Column2@row to standardize format.)

    Good luck!

    If this answer resolves your question, please help the Community by marking it as an accepted answer. I'd also be grateful for your response - "Insightful"or "Awesome" reactions are much appreciated. Thanks!

  • AnnThompson
    AnnThompson ✭✭✭✭

    This worked perfectly! Thank you! so much!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!