Vlookup if cell is blank

If "Employee manual entry" column is blank, then I want to do a vlookup to another sheet in the "Employee". If there's text in the "Employee manual entry" column then I want that text to display in the "Employee" column. The formula I'm using is below, but I get an #INCORRECT ARGUMENT SET

Any advice on how to correct this formula?

=IF(ISBLANK([Employee manual entry]@row, IFERROR(VLOOKUP([Created By]@row, {Reference Sheet - Admin Info Range}, 2, false), ""), [Employee manual entry]@row))

Created By is an email address (Smartsheet helper column).

Reference Sheet - Admin Info Range is two column range with emails and then their name.

Answers

  • heyjay
    heyjay ✭✭✭✭✭

    Will you consider using Index/Match instead of VLOOKUP?

    =IF(ISBLANK([Employee manual entry]@row,
    IFERROR(
    INDEX({Reference Sheet - Admin Info Range},MATCH(Created By]@row,{Your_Range},0),
    [Employee manual entry]@row)

    You will need to update {Your_Range} with the range of search value (column name of Created By).

    ...

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!