+ Reply to Thread
Results 1 to 6 of 6

Index and Matching

  1. #1
    Forum Contributor
    Join Date
    01-16-2019
    Location
    NY
    MS-Off Ver
    Office 365
    Posts
    120

    Index and Matching

    I have 7 worksheets. 6 that have data labeled animal names on here like cat and mouse and then sheet 1 which is a summary tab. Each of the animal worksheets have dates along row 8 that should math to the dates on sheet 1 in column C. I want the word in C4 : research & development, to be found on the animal worksheets and then the ABSOLUTE VALUE of whatever is in the matching cell to be brought back that corresponds to the year.
    Ideally, i can use this chart and replicate it for a ton of other items like sales & marketing or general & administrative. it is not the case that every worksheet has all these items so then it should just be blank (not an error message) and it is not the case that every row matches across these animal name files - things can be located on different rows. I divide the formula by 100 because i want to format as a %. I tried a formula that did not work - I'm hoping its a small fix: =INDEX(INDIRECT("'" & D3 & "'!1:1048576"), MATCH(C4, INDIRECT("'" & D3 & "'!A:A"), 0), MATCH(TEXT($C$6, "mm/yyyy"), INDIRECT("'" & D3 & "'!10:10"), 0))/100

    feel free to use a completely different formula too as I'm not that proficient yet with advanced formulas.
    Attached Files Attached Files
    Last edited by dianaCatz; 04-14-2024 at 06:54 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Index and Matching

    You didn't give us expected answers, so this is a guess!!

    D5, copied across and dnown:

    =IFERROR(INDEX(INDIRECT("'"&D$3&"'!1:1048576"),MATCH($C$4,INDIRECT("'"&D$3&"'!A:A"),0),MATCH($C5,INDIRECT("'"&D$3&"'!8:8"),0))/100,"")

    NOTE... The purple cells in the raw data sheets have a new formula to ensure that the dates match. Simply subtracting 365 falls over whn there's a leap year.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

  3. #3
    Forum Contributor
    Join Date
    01-16-2019
    Location
    NY
    MS-Off Ver
    Office 365
    Posts
    120

    Re: Index and Matching

    You did it! Thank you!!
    Quick addition to the formula, can you adjust the formula so it brings back the absolute value?

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Index and Matching

    Do you mean this?

    =IFERROR(ABS(INDEX(INDIRECT("'"&D$3&"'!1:1048576"),MATCH($C$4,INDIRECT("'"&D$3&"'!A:A"),0),MATCH($C5,INDIRECT("'"&D$3&"'!8:8"),0))/100),"")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Contributor
    Join Date
    01-16-2019
    Location
    NY
    MS-Off Ver
    Office 365
    Posts
    120

    Re: Index and Matching

    Thank you both

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Index and Matching

    You're welcome. Thanks for letting us know that you got an answer.




    Please take a moment and consider clicking the "Add Reputation" button at the foot of any of the posts of anyone who helped you reach a solution here today.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Index/Matching Help
    By rburkholder in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-26-2017, 03:45 PM
  2. Index partial Matching with at least 3 characters matching per criteria
    By T86157 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-09-2017, 03:15 PM
  3. four way index matching + if then
    By turbo600hp in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-28-2013, 11:36 PM
  4. Replies: 4
    Last Post: 12-27-2012, 06:18 PM
  5. if and index and matching
    By mathbish in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2012, 05:43 PM
  6. index matching
    By Jay7 in forum Excel General
    Replies: 5
    Last Post: 11-10-2009, 11:00 AM
  7. Index Matching
    By JR573PUTT in forum Excel General
    Replies: 2
    Last Post: 03-30-2007, 04:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1