+ Reply to Thread
Results 1 to 12 of 12

Index Match Lookup

  1. #1
    Registered User
    Join Date
    06-05-2015
    Location
    UK
    MS-Off Ver
    2013
    Posts
    35

    Index Match Lookup

    Hi,

    I am creating a pivot table (on the pivot table tab in the attached on link) and I need it to look up into a static table (on the lookups tab). I am struggling to get it lookup up to the right line and locate the correct month and input the value. I think it will be an index match formula, can anyone help please?

    Thankshttps://1drv.ms/x/s!Algf4bOCiK4DgVTkZI3CHNx_FR74

    https://1drv.ms/x/s!Algf4bOCiK4DgVTkZI3CHNx_FR74

  2. #2
    Registered User
    Join Date
    01-20-2017
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    199

    Re: Index Match Lookup

    I will give it a try. Where is the data coming from and where do you want it to be filled? Maybe attach the file showing one example. Then I can derive a formula to make it happen.
    Last edited by BillyRaySpivy; 02-21-2017 at 10:18 AM.

  3. #3
    Registered User
    Join Date
    06-05-2015
    Location
    UK
    MS-Off Ver
    2013
    Posts
    35

    Re: Index Match Lookup

    Hi, thanks.

    The pivot feeds from a raw table into the pivot (I have recreated the pivot in the pivot tab on the sheet - it will always be the same size). In column F on the pivot tab I created a concatenation that may or may not be helpful.

    Essentially we need to feed the table in the tab 'lookups' from the data in the tab 'pivot tables'. For example cell D20 in 'Lookups' needs to find the box in the pivot for 'sum of sales' 'financial year 2016-2017' for June. So it needs to pull back cell N8 from the 'pivot table' tab and enter that.

    Does that make sense - hugely appreciate your support here.

  4. #4
    Forum Contributor
    Join Date
    08-23-2016
    Location
    India
    MS-Off Ver
    MS Office Professional Plus 2013
    Posts
    194

    Re: Index Match Lookup

    Please attach the file in here. Not everyone would like to or would be able to access a link.



    Attach File:

    GO ADVANCED - bottom right of the REPLY window

    Scroll down to MANAGE ATTACHMENTS

    CHOOSE FILE

    UPLOAD

    CLOSE WINDOW

    SUBMIT REPLY
    Ash

  5. #5
    Registered User
    Join Date
    01-20-2017
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    199

    Re: Index Match Lookup

    Your 2 tables need to be organized for the months to be in the same order. Please organize this way and send the attachment. I have a meeting now and will address the issue when I come back.

    This will work very well with Index Match array.

  6. #6
    Registered User
    Join Date
    06-05-2015
    Location
    UK
    MS-Off Ver
    2013
    Posts
    35

    Re: Index Match Lookup

    Thank you.

    I have added attached the spreadsheet as requested.

    I have also rearranged the tables to match however you will see that in C4 of the lookups tab I can select what month I wish my year to start at, as such it will not always be in the same order as the pivot, as such I was hoping the formula would be able to match the month regardless of the pivot table order - extra complications, I know!
    Attached Files Attached Files

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

    Re: Index Match Lookup

    You are very inconsistent is your "naming" e.g Jan vs January. To avoid this problem use Excel dates (01/10/2016) ad then format as "mmm" or "mmmm".

    In your "Pivot Table" you could use 2015 as the year in the headings as you can work out the row from the year.

    Try (for Sales 2016/2017)

    =INDEX('Pivot Table'!I8:T13,MATCH(Lookups!C6,LEFT('Pivot Table'!G8:G13,4)+0,0),MONTH($C$4&0))

    Enter with Ctrl+Shift+Enter

    There is no parameter in "Lookups" to identify which data you want returned. (Sales, Forecast, Budget)

  8. #8
    Registered User
    Join Date
    06-05-2015
    Location
    UK
    MS-Off Ver
    2013
    Posts
    35

    Re: Index Match Lookup

    Hi, Thanks for your response - that formula works for that particular cell but I am unsure how to extend it out.

    I have uploaded the workbook this time with how I am trying to get the data to appear. I understand what you mean about there being no identifier but this is where I thought the concatenation column that I added might come in to play, it is visible in this workbook. Could be that what I am trying to do is not possible though.

    If you have any ideas I would certainly appreciate them.
    Attached Files Attached Files

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

    Re: Index Match Lookup

    In D20

    =INDEX('Pivot Table'!$I$8:$T$13,MATCH(Lookups!$A20,'Pivot Table'!$F$8:$F$13,0),MONTH(D$18&0))

    Copy across and down

  10. #10
    Registered User
    Join Date
    01-20-2017
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    199

    Re: Index Match Lookup

    Glad John was able to figure out the issues.

  11. #11
    Registered User
    Join Date
    06-05-2015
    Location
    UK
    MS-Off Ver
    2013
    Posts
    35

    Re: Index Match Lookup

    That works perfectly, thank you so much for your help, really appreciated.

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

    Re: Index Match Lookup

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. 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. [SOLVED] Index Match with Partial Match in Lookup Array
    By AliGW in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-22-2016, 03:13 PM
  2. [SOLVED] Match-Index in stead of Index-Match lookup Array among Arrays
    By Numnum in forum Excel General
    Replies: 2
    Last Post: 10-15-2015, 02:08 PM
  3. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  4. Replies: 3
    Last Post: 06-17-2013, 12:37 PM
  5. Match/Index/Lookup - Searching From Bottom to Top (A reverse lookup maybe)
    By Neutralizer in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-02-2013, 03:55 AM
  6. Replies: 7
    Last Post: 06-19-2011, 12:51 PM
  7. Using Lookup instead of Index/Match for left lookup
    By teylyn in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-07-2008, 09:20 PM

Tags for this Thread

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