+ Reply to Thread
Results 1 to 10 of 10

Index and Match formula assistance

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Index and Match formula assistance

    Hi all,

    I am looking for some assistance as to why this index and match formula is not work.
    Here is what I want to do:


    I want to match the month in Column A, then match the Lid in Column B and fill in the Uptime from Column J for each month under column C.

    Not too sure why my formula will not work.

    Thanks in advance!!
    Attached Files Attached Files
    Last edited by bigroo1958; 12-11-2014 at 12:19 PM.
    ==========
    Bigroo1958
    Austin, Texas
    ==========

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,719

    Re: Index and Match formula assistance

    Perhaps it would be easier with SUMIFS, i.e. this formula in C2 copied down

    =SUMIFS(J:J,H:H,A2,I:I,B2)
    Audere est facere

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Index and Match formula assistance

    Something wrong with downloaded file at my end

    Got it sorted. Avoid using full column references as they cause unnecessary calculation.

    Array enter (Ctrl + Shift + Enter) this formula in C2 and copy down
    Formula: copy to clipboard
    =INDEX($J2:$J100,MATCH(A2&B2,H2:H100&I2:I100,0))
    Last edited by newdoverman; 12-11-2014 at 12:45 PM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Re: Index and Match formula assistance

    Oh, interesting. What error message are you getting?

  5. #5
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Index and Match formula assistance

    If you need to match the month value and not the actual dates, then try this array formula:

    =INDEX($J:$J,MATCH(MONTH(A2)&B2,MONTH($H:$H)&I:I,0),1)
    Confirm as an array with Ctrl-Shift-Enter.

    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  6. #6
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Re: Index and Match formula assistance

    Thanks to those that replied and left a solution, also thanks to those that stopped by as well.

    DaddylongLegs,
    Thanks, I did not think of sumifs function, but it worked. I was thinking lookup value so settled on these functions. I thought sumif was for calculations, but worked in this example.

    Newdoverman,
    Its strange, your formula worked for my example, but when applied to my real list data of 2700 rows, I did not get the correct values returned. I will look further

    ConneXionLost,
    Your formula worked like a charm, thanks!!
    I noticed you using the Ctrl+Shift+Enter to insert the formula, when do you use this versus just plain enter?

  7. #7
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Index and Match formula assistance

    You need to use the Ctrl-Shift-Enter when you are using an array formula.


  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Index and Match formula assistance

    Notice that I limited the range to row 100. Increase that and enter with Ctrl + Shift + Enter

    Formula: copy to clipboard
    =INDEX($J2:$J3000,MATCH(A2&B2,H2:H3000&I2:I3000,0))

  9. #9
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Index and Match formula assistance

    If you are seeing errors, one possibility is the "dates" you have in columns A and H are actually text.

  10. #10
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Re: Index and Match formula assistance

    Great, thanks to our Canadian friends, I have this working as needed!!
    Thanks all!

+ 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 + match assistance!
    By LemonOrange in forum Excel General
    Replies: 12
    Last Post: 04-02-2014, 03:39 PM
  2. Index/Match Data Cleansing Assistance
    By cadyl70 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-28-2013, 05:01 AM
  3. Index/Match Excel Formula assistance required
    By coyy in forum Excel General
    Replies: 3
    Last Post: 12-10-2012, 09:21 AM
  4. [SOLVED] Index & Match Assistance
    By Excel-Access in forum Excel General
    Replies: 1
    Last Post: 12-10-2012, 05:50 AM
  5. [SOLVED] Need assistance on nesting an indirect function in a index / match formula
    By ghosters in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-08-2012, 06:00 AM

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