+ Reply to Thread
Results 1 to 5 of 5

Nesting Index & Match together

  1. #1
    Registered User
    Join Date
    03-27-2017
    Location
    Penticton, BC
    MS-Off Ver
    2016
    Posts
    33

    Nesting Index & Match together

    So I have a matrix that I'm trying to populate in a worksheet. I'm getting the #Value error.

    Here is my formula =INDEX(E:E,MATCH(H3&J4&I5&H5,A:A&B:B&C:C&D:D,0))

    I thought the Index/Match function would allow me to be a little 'all over the place' with my matrix box qualifying cells. Am I mistaken?

    Attached is a snapshot and sample workbook. In the real worksheet the matrix will be on a different tab and then the resulting figure will be used in other formulas.
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    2,002

    Re: Nesting Index & Match together

    You could try an array formula. Press Ctrl+Shift+Enter after putting it in the formula bar

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,618

    Re: Nesting Index & Match together

    Named ranges created:
    Carrier =Sheet1!$C$2:$C$193
    Destination =Sheet1!$A$2:$A$193
    Origin =Sheet1!$B$2:$B$193
    Product =Sheet1!$D$2:$D$193
    Rate =Sheet1!$E$2:$E$193

    J5:
    Please Login or Register  to view this content.
    Ben Van Johnson

  4. #4
    Registered User
    Join Date
    03-27-2017
    Location
    Penticton, BC
    MS-Off Ver
    2016
    Posts
    33

    Re: Nesting Index & Match together

    That works wonderfully, however using the array makes it hard (impossible really for me anyway) to nest it as part of a larger formula. The formula in it's entirety would be:

    ((Carrier Cartgage*Fuel Surcharge Percentage)+Carrier Cartage)+CPL . Example in numbers ((.0484*22.18% = 0.01073 )+ .0484) + 1.67 = 1.729135

    What you've given me (beautifully I might add) is only the .0484 part - the Carrier Cartgage part. The other figures will be pulled from other cells that I already have populated with the necessary Fuel Surcharge/CPL. But they do change so they aren't a constant value.

    I can add another tab and do the math in stages, but I was hoping to simplify it into a single worksheet with just the carrier rates on a separate tab.

    Thoughts? I am really weak with the arrays.

  5. #5
    Registered User
    Join Date
    03-27-2017
    Location
    Penticton, BC
    MS-Off Ver
    2016
    Posts
    33

    Re: Nesting Index & Match together

    Holy Smoking Jones on Fire...... ProtonLeah

    That works and it allows the rest of my formula to flow. Literally, first try... down to the forth decimal perfect.... I just made a coworker dance with me.

    Thank you. Thank you. Thank you. THANK YOU.

+ 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. Nesting Aggregate within Index Match?
    By MiserableShake0 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-25-2022, 09:54 PM
  2. [SOLVED] Nesting Multiple IF Functions with Index and Match
    By Dropfiddy in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-27-2015, 02:14 AM
  3. Help using INDEX and nesting MATCH
    By mikenike420 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-28-2015, 02:10 AM
  4. [SOLVED] Nesting multiple INDEX and MATCH functions
    By dontaylor in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-12-2013, 06:15 PM
  5. [SOLVED] Nesting 2 INDIRECT inside an INDEX MATCH - any ideas?
    By Sam the Monster in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-14-2013, 10:25 AM
  6. Multiple nesting lookup, index, match
    By Georgia Golfer in forum Excel General
    Replies: 11
    Last Post: 03-15-2010, 04:02 PM
  7. Nesting Index and Match Functions
    By Malone in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-16-2005, 06:55 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