Cross sheet formulas

Options

W e want to bring a Install Date into a sheet from another sheet IF the Job number in the first sheet matches the Job number in the second sheet.

I have used cross sheet references before and this is the formula we have used in the cell (hopefully to soon become a column formula)

In the first sheet, in Install Date Column cell we have typed

=IF([Job Number]@row = {Schedule 5 Range 1}, {Schedule 5 Range 2})

Schedule 5 Range 1 has highlighted the Job Number Column in the second sheet

Schedule 5 Range 2 has highlighted the Install Date Column in the second sheet

it comes up with #INVALID OPERATION

Any help would be great received as the alternative is cell linking....

Thanks

Tracey


Answers

  • Bassam Khalil
    Bassam Khalil ✭✭✭✭✭✭
    edited 08/25/21
    Options

    Hi @Tracey Tume

    Hope you are fine, you can't use IF statement in your case you need to use Vlookup Or Index with Match, Collect Function.

    if you like me to fix the formula directly on your sheet please share me as an admin on a sample copy of your sheets ( Source & Destination ) and i will Create the exact formula for you then you can copy it to your original sheet.


    My Email for sharing : Bassam.k@mobilproject.it

    PMP Certified

    bassam.khalil2009@gmail.com

    ☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"

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

    Hi @Tracey Tume

    I hope you're well and safe!

    I'd recommend using an INDEX/MATCH combination instead. (IF won't work)

    The formula structure for an INDEX/MATCH combination would look something like this.

    =INDEX({ColumnWithTheValueYouWantToShow}; MATCH(CellThatHaveTheValueToMatch@row;
    {ColumnWithTheValueToMatchAgainsTheCell}; 0))
    

    Depending on your country/region, you'll need to exchange the comma to a period and the semi-colon to a comma.

    Did that work/help?

    I hope that helps!

    Be safe and have a fantastic day!

    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 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.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!