How to search a row for a date among blank values?

I am trying to create a nested IF(ISDATE())... function to pull the date from the columns right of the first column. However, when I try this, after the first IF(ISDATE()) function I am get error message "#UNPARSEABLE." I am unsure of why this is happening. I have tried retyping it multiple times, but am still getting the same error. I have checked for double quotes and column name but am still getting the error. For the sake of the solution, ignore the lines that are "#NO MATCH." Thank you!

Answers

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    Can you provide the formula you are currently working with?

  • I figured out the issue! I must have had a typo because I got it after doing IF(ISDATE() one at a time! Thanks, Paul!

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    There may be a more efficient way of pulling the date depending on details aside from a long nested IF formula. Will there only every be one date across a row? If there are multiple dates, do they go in chronological order from left to right?


    If there will only every be a single date across the row then you could use something along the lines of...

    =INDEX(COLLECT([1st Date Column]@row:[Last Date Column]@row, [1st Date Column]@row:[Last Date Column]@row, @cell <> ""), 1)

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!