+ Reply to Thread
Results 1 to 12 of 12

Index match function

  1. #1
    Registered User
    Join Date
    06-24-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    30

    Index match function

    Hi All,

    I am try to use index match function with number of columns having daily values e.g 1990 to 2018 to get data into single column. The formula is INDEX($C$3:$BB$368,MATCH(DATE(YEAR(BD2),1),$C$2:$BB$2,0),MATCH(DAY(BD2),MONTH(BD2),$C$3:$BB$368))

    Where Column C to BB having daily data for 365 or 366 values (leap years). C2 to BB row has year names e.g 1960 to 2010 and BD is the column where I need all the data in one column.

    Can any body suggest me code?

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Index match function

    Isn't this a repeat of the other threads that you have posted?

    Anyway, your DATE function seems to be missing the month parameter, which has ended up in the second MATCH function.

    Pete

  3. #3
    Registered User
    Join Date
    06-24-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Index match function

    Hi every body

    I am using following index match function to convert data, however, it is not production results.

    =INDEX($C$2:$BB$368,MATCH(YEAR(BD2),$A$3:$A$97,0),MATCH(Date(DAY(AJ2),$A$2:$A$368,0)))

    Could you please suggest amendment ?

  4. #4
    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,053

    Re: Index match function

    Please read the yellow banner at the top of the scree. Act on its guidelines and post a sample sheet.
    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

  5. #5
    Registered User
    Join Date
    06-24-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Index match function

    Please find attached sheet with data and output required.

    Regards
    saleem
    Attached Files Attached Files

  6. #6
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Index match function

    Cross-posted at: https://www.excelguru.ca/forums/show...index-function
    Please read Excel Forum's Cross-Posting policy in rule 8: http://www.excelforum.com/forum-rule...rum-rules.html
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  7. #7
    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,053

    Re: Index match function

    chsaleem. Can I strongly suggest that you read the forum rules. You have had two infractions in the last few days. One for duplicate posting on this site and one for not telling us about asking the same question on other help forums.

    If you do not adhere to the forum rules, there is a stong possibility that you will be banned.

  8. #8
    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,053

    Re: Index match function

    I have absolutely no idea what you want.

    You were asked to post a sample of 10-20 rows with some manually calculated results. You have posted almost 400 rows and have given us no idea of what you expect to see.

    Please add some manually calculated expected results on a SMALL sample sheet. It is unreasonable of you to ask us to check almost 400 rows, manually, to ensure that the correct solution is provided.

  9. #9
    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,053

    Re: Index match function

    In your duplicate thread there was a formula...

    use this in BD3

    =INDEX(a,MATCH(1,INDEX((DAY(BC3)=d)*(MONTH(BC3)=e),0),0),MATCH(YEAR(BC3),b,0))

    But READ the rules and stick to them. Otherwise you WILL be banned. Permanently.
    Attached Files Attached Files

  10. #10
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Index match function

    Please try at BD3

    Please Login or Register  to view this content.
    Regards.

  11. #11
    Registered User
    Join Date
    06-24-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Index match function

    Thank you very much. It worked and solved my problem. I will stick to the rules.

  12. #12
    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,053

    Re: Index match function

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. Replies: 7
    Last Post: 10-03-2019, 11:23 AM
  2. [SOLVED] Index/Match/Min/ABS Function needs to ignore one value in the index.
    By pronghorn in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 09-16-2019, 02:04 AM
  3. How to apply an Index.Match.Match function to all entries in a Listbox on a User Form
    By jason.drozd in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-25-2018, 01:54 AM
  4. Need help in Index, Match usage to match multiple criteria in sum function
    By Summer0830 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-26-2017, 02:47 AM
  5. Problems applying INDEX-MATCH-MATCH function on other data
    By LennartB in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-13-2015, 05:33 AM
  6. [SOLVED] Stuck on Match function with #N/A; attempting to reverse Index/Match
    By Cappytano in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-10-2014, 06:39 PM
  7. Replies: 3
    Last Post: 06-17-2013, 12:37 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