+ Reply to Thread
Results 1 to 6 of 6

Error when Sorting data with INDEX Formula

  1. #1
    Registered User
    Join Date
    07-30-2013
    Location
    Grimstad, Norway (Southern part)
    MS-Off Ver
    Excel 2010
    Posts
    48

    Error when Sorting data with INDEX Formula

    Hi,
    I've got large set of data(Column E) for dates from 2007 to 2013(Column B). Here dates are in chronological order.(Attachement)
    Now I want to match the data in to dates in Column H. Here dates are in random order. I used =INDEX(E3:E40582; MATCH(H3;B3:B40582; 0)). But it doesn't work. Kindly help me.Thank you.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    07-30-2013
    Location
    Grimstad, Norway (Southern part)
    MS-Off Ver
    Excel 2010
    Posts
    48

    Re: Error when Sorting data with INDEX Formula

    Forumla is applied in column J. Matching is not occured and it gives zero for all dates. But all the values are not zero in column E.

  3. #3
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Error when Sorting data with INDEX Formula

    Hi, you are missing $ signs in your formulas I think, for your formula you might need to look up at the hour as well. I guess you could do:
    =INDEX(E3:E40582, MATCH(H3&I3,B$3:B$40582&C$3:C$40582, 0))
    but it would likely take a very long time to calculate on that data set, you might be better with
    =INDEX(E$3:E$40607, MATCH(H3,B$3:B$40607, 0)+I3)
    if your data is chronological.

  4. #4
    Registered User
    Join Date
    07-30-2013
    Location
    Grimstad, Norway (Southern part)
    MS-Off Ver
    Excel 2010
    Posts
    48

    Re: Error when Sorting data with INDEX Formula

    Hi ragulduy,

    Thank you very much. But still it doesn't work. I applied =INDEX(E$3:E$40582; MATCH(H3;B$3:B$40582; 0)) with $ mark.

  5. #5
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Error when Sorting data with INDEX Formula

    See rest of post #3 and try:
    =INDEX(E$3:E$40607, MATCH(H3,B$3:B$40607, 0)+I3)

  6. #6
    Registered User
    Join Date
    07-30-2013
    Location
    Grimstad, Norway (Southern part)
    MS-Off Ver
    Excel 2010
    Posts
    48

    Re: Error when Sorting data with INDEX Formula

    Yes, Many thanks. It works.
    I am sorry, I coud not try it.
    Great.

+ 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: 14
    Last Post: 01-15-2014, 09:42 AM
  2. [SOLVED] getting error using =index formula
    By Elainefish in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-18-2013, 03:19 AM
  3. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  4. If formula with index, match error
    By toclare84 in forum Excel General
    Replies: 2
    Last Post: 10-01-2010, 08:44 AM
  5. Sorting by Index and Matching Formula
    By Cleman04 in forum Excel General
    Replies: 4
    Last Post: 07-07-2009, 03:50 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