+ Reply to Thread
Results 1 to 11 of 11

Index Matching not working and need to pull data from large database

  1. #1
    Registered User
    Join Date
    08-14-2014
    Location
    toronto, canada
    MS-Off Ver
    2010
    Posts
    20

    Index Matching not working and need to pull data from large database

    Hi all,

    I have a large piece of data with that is organized by cost type (construction, operating revenues, etc, revenues from asset sales) and by year for each asset

    I need to re-organize my data by asset and have the respective cost types under each section. (e.g. rows 14-22)

    Can someone please give me a formula to enter into row C15 that I can just drag across and down into all of the pink colored cells. I put the values of what it should be as a point of reference. I also cut the data set much shorter than what I actually have. Ideally, it is the same formula I can just drag across and down, rather than having several index matches. (Maybe an index match match might work?)

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,359

    Re: Index Matching not working and need to pull data from large database

    Duplicate post ?????

  3. #3
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,428

    Re: Index Matching not working and need to pull data from large database

    No, it's different - different layout in the file.
    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.

  4. #4
    Registered User
    Join Date
    08-14-2014
    Location
    toronto, canada
    MS-Off Ver
    2010
    Posts
    20

    Re: Index Matching not working and need to pull data from large database

    No, I asked something else earlier. Please let me know if anything in my request was unclear. I have 20+ asset classes and with about 15 cost types so it would be nice to have 1 formula but I'm stuck on it

  5. #5
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,428

    Re: Index Matching not working and need to pull data from large database

    I have a question: why do you keep changing the layout of your data? What is the purpose of having the same information presented in a slightly different way?

  6. #6
    Registered User
    Join Date
    08-14-2014
    Location
    toronto, canada
    MS-Off Ver
    2010
    Posts
    20

    Re: Index Matching not working and need to pull data from large database

    It will be used to feed into other formulas / valuations.

    Also provides us with a different way of looking at the dataset

  7. #7
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,428

    Re: Index Matching not working and need to pull data from large database

    Mmmm ... Not convinced about that based on what you are asking for this time, which is a trivial change in data presentation for no real value that I can see. I'm afraid I'm out of time today, but hopefully John or someone else will run with this for you.

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,359

    Re: Index Matching not working and need to pull data from large database

    In C15

    =OFFSET($C$1,MATCH($A15,$A$2:$A$12,0)+MATCH($A$14,$A$2:$A$12,0)-1,COLUMNS($C:C)-1)

    Copy across and down to row 17

    Copy to C20 and change highlighted references

    See attached row 24 onward
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    08-14-2014
    Location
    toronto, canada
    MS-Off Ver
    2010
    Posts
    20

    Re: Index Matching not working and need to pull data from large database

    Hi John,

    Thanks for the formula. It works well on the initial sheer but whe I try and adapt the formula to my large sheet it's not working for me.

    I think I am messing up the formula. I attached for the full data sheet but grouped the data you don't need to see.

    I am trying to enter the formula in cell G233 but as you can see it is not working. Row 233 should match what is in row 234.

    Can you please provide some guidance?

    Thanks
    Attached Files Attached Files

  10. #10
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,359

    Re: Index Matching not working and need to pull data from large database

    Try

    =IFERROR(OFFSET($C$128,MATCH($C233,$C$129:$C$185,0)+MATCH($C$232,$C$129:$C$185,0)-1,COLUMNS($C:G)-1),0)

  11. #11
    Registered User
    Join Date
    08-14-2014
    Location
    toronto, canada
    MS-Off Ver
    2010
    Posts
    20

    Re: Index Matching not working and need to pull data from large database

    This worked

    Thanks

+ 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. trying use index match to pull information from database to individual sheet
    By garvey1973 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-20-2015, 07:33 PM
  2. [SOLVED] Lookup or index on multiple parameters and pull table heading for matching values
    By pcrewlok in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-24-2015, 07:07 PM
  3. MIN IF and Index/Match difficulty in Large Database
    By cchase22 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-26-2015, 06:17 PM
  4. Need to pull matching values from another workbook using index match
    By rbhandair in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-18-2015, 02:48 PM
  5. [SOLVED] Problem Using LARGE formula with Index/Match to pull values when there are Duplicates
    By BDavis in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-11-2014, 02:23 PM
  6. Index matching with Large() calculation
    By dr3amz in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 07-19-2013, 10:26 AM
  7. Replies: 8
    Last Post: 03-22-2012, 03:02 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