Converting excel formula to function

Options

I'm having trouble converting the below formula from excel to smartsheets.

The biggest issue I'm having is the +1(take from the cell to the right of the Vlookup result) and *-1(make the result value negative). So far I have this but keep getting #No Match

How would I go about fixing this?

Thank you!

Best Answer

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    Answer ✓
    Options

    It looks like you are wanting to locate the string "HONOR" across the row, pull the data from the column immediately to the right of it, then make it a negative number and if "HONOR" is not found you want to leave the cell blank?

    =IFERROR(INDEX([First Column]@row:[Last Column]@row, 1, MATCH("HONOR", [First Column]@row:[Last Column]@row, 0) + 1) * -1, "")

Answers

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭
    Options

    Hi @JJJARED123

    I hope you're well and safe!

    Can you describe your process in more detail and maybe share the sheet(s)/copies of the sheet(s) or some screenshots? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, andree@workbold.com)

    I hope that helps!

    Be safe and have a fantastic weekend!

    Best,

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    Answer ✓
    Options

    It looks like you are wanting to locate the string "HONOR" across the row, pull the data from the column immediately to the right of it, then make it a negative number and if "HONOR" is not found you want to leave the cell blank?

    =IFERROR(INDEX([First Column]@row:[Last Column]@row, 1, MATCH("HONOR", [First Column]@row:[Last Column]@row, 0) + 1) * -1, "")

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!