INDEX/Match Problem Across Sheets

Options
Frank S.
Frank S. ✭✭✭✭✭✭

Here is my problem:

I'm trying to compare dates on sheet A to a list of dates on Sheet B and if the dates match, fill in a number on sheet A.

If I move the data over to sheet A and use this formula works fine:

=INDEX([Column9]:[Column9], MATCH([Column4]@row, [Column8]:[Column8], 0))

When I use a cross sheet reference I get no match

=INDEX({Value I want Sheet B}, MATCH([Column4]@row, {List of Dates Sheet B}, 0))

When I select the sheet reference I'm selecting the entire column.

What am I doing wrong?

Frank Smith, PMP

Assistant Director | IT Special Projects Mgr.

Oregon Parks & Recreation Department

If my response helps, please mark it as an accepted answer. 😎

Tags:

Best Answer

Answers

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

    Hi @Frank.Smith

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

  • Genevieve P.
    Options

    Hi @Frank.Smith

    The formula is built correctly so the error is likely coming from the column type or the data itself. It would be helpful to see screen captures of both sheets, but please block out any sensitive data.

    Can you also confirm how the dates are being populated in both Column4 in this current sheet and the {List of Dates Sheet B} column in the other sheet? Are these manual inputs, or do you use a formula to create the date?

    Thanks!

    Genevieve

    Join us at Smartsheet ENGAGE 2024 🎉
    October 8 - 10, Seattle, WA | Register now

  • Frank S.
    Frank S. ✭✭✭✭✭✭
    Options

    @Andrée Starå

    Good morning.

    I have shared both sheets with you and would appreciate any advice on what I'm missing.

    Frank Smith, PMP

    Assistant Director | IT Special Projects Mgr.

    Oregon Parks & Recreation Department

    If my response helps, please mark it as an accepted answer. 😎

  • Frank S.
    Frank S. ✭✭✭✭✭✭
    Options

    Good morning @Genevieve P. ,

    Here is some more information:

    My index column is a number, which is what I want to display.

    My match is a date and my match column is a date.

    What I'm trying to accomplish is how many times did this occur on a particular date.

    I can get it to work if I copy my dates and make them text/numbers but if I use dates it does not work.

    Frank Smith, PMP

    Assistant Director | IT Special Projects Mgr.

    Oregon Parks & Recreation Department

    If my response helps, please mark it as an accepted answer. 😎

  • Genevieve P.
    Options

    Hi @Frank.Smith

    Thank you for clarifying! So the issue here is that the MATCH doesn't work because one half of the match is an actual date value, but the other half has the value entered as text.

    How are the dates are being populated in both Column4 in this current sheet and the {List of Dates Sheet B} column in the other sheet? Are these manual inputs, or do you use a formula to create the date?

    Join us at Smartsheet ENGAGE 2024 🎉
    October 8 - 10, Seattle, WA | Register now

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭
    edited 09/07/21
    Options

    Hi @Frank.Smith,

    I haven't received anything.

    Can you share them again? Share too andree@workbold.com

    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.

  • Frank S.
    Frank S. ✭✭✭✭✭✭
    Options

    @Genevieve P.

    Column 4 is being populated via a formula and {List of Dates Sheet B} is also populated via a formula.

    Frank Smith, PMP

    Assistant Director | IT Special Projects Mgr.

    Oregon Parks & Recreation Department

    If my response helps, please mark it as an accepted answer. 😎

  • Frank S.
    Frank S. ✭✭✭✭✭✭
    Options

    Hi @@Andrée Starå

    New invites sent.

    Frank Smith, PMP

    Assistant Director | IT Special Projects Mgr.

    Oregon Parks & Recreation Department

    If my response helps, please mark it as an accepted answer. 😎

  • Genevieve P.
    Genevieve P. Employee
    Answer ✓
    Options

    Can you copy/paste the formulas here?

    It's likely that one formula outputs the value as a date, but the other may output the value as text, which is why you can't find a match.

    Join us at Smartsheet ENGAGE 2024 🎉
    October 8 - 10, Seattle, WA | Register now

  • Frank S.
    Frank S. ✭✭✭✭✭✭
    Options

    @Genevieve P.

    Formula Column 4: =IFERROR(VLOOKUP([Column2]@row, [Column3]:[Column3], 1, false), [Column2]@row) Column properties = date

     {List of Dates Sheet B}: =IFERROR(INDEX(DISTINCT(COLLECT({PEBT TFS Defects Range 1}, {PEBT TFS Defects Range 1}, ISDATE(@cell))), [Row #]@row), "") Column Properties = date

    Frank Smith, PMP

    Assistant Director | IT Special Projects Mgr.

    Oregon Parks & Recreation Department

    If my response helps, please mark it as an accepted answer. 😎

  • Frank S.
    Frank S. ✭✭✭✭✭✭
    Options

    I finally got it to work.

    One of my feeder columns properties was not set correctly. Once I set all the column properties the same it is working correctly.

    Thanks to everyone for your help.

    Frank Smith, PMP

    Assistant Director | IT Special Projects Mgr.

    Oregon Parks & Recreation Department

    If my response helps, please mark it as an accepted answer. 😎

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

    @Frank.Smith

    Excellent!

    Happy to help!

    Glad you got it working!

    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!