+ Reply to Thread
Results 1 to 8 of 8

Help with a tricky lookup or index/match scenario

  1. #1
    Registered User
    Join Date
    02-10-2012
    Location
    Portland, OR
    MS-Off Ver
    EXCEL 2011
    Posts
    3

    Help with a tricky lookup or index/match scenario

    Good morning,

    I'm stumped. I've tried several varieties of lookups and index/match but can't seem to solve this one. My source data comes in a specific format so I'm trying to make the formulas work based on what I get without having to modify the original data. I'm attaching an oversimplified version of my source data. What I'm getting stumped on:

    1) The "Name" is only in the first cell and is blank for the cells below (though it references the same name)
    2) the "Products" column isn't consistent. This takes away offset options
    (Both in the blue table)

    I hope to solve for the blank cells in the green table.

    Hard one to explain... I hope this makes sense when you see the table.

    Thanks in advance!
    Frank
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Help with a tricky lookup or index/match scenario

    Hi and welcome to the forum

    This isnt exactly changing what you get, but if you could add a helper column, it would make this really simple. In H2, copied down...
    =IF(A2="",H1,A2)

    Then you can sumifS() to your hearts content
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    02-10-2012
    Location
    Portland, OR
    MS-Off Ver
    EXCEL 2011
    Posts
    3

    Re: Help with a tricky lookup or index/match scenario

    Thanks for the welcome, Ford and thanks for the suggestions. Your solution definitely would make life easier if I could add that column. I should have clarified that the blue table = my source data that I am linking from to a new spreadsheet which is my green table. I'm looking at the blue table as unchangeable, however, I can modify the green table if that helps.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Help with a tricky lookup or index/match scenario

    And if have an option to extend names in column A you can use this formula

    =SUMPRODUCT(($A$2:$E$8=$A12)*($F$2:$F$8=B$11)*($G$2:$G$8))
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Help with a tricky lookup or index/match scenario

    you can put the extended name list on the other sheet so you dont have to touch the original or another sheet altogether see sheet 2
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Registered User
    Join Date
    02-10-2012
    Location
    Portland, OR
    MS-Off Ver
    EXCEL 2011
    Posts
    3

    Re: Help with a tricky lookup or index/match scenario

    The helper column will get me where I need to go. Thanks for your help and for the welcome!

  7. #7
    Registered User
    Join Date
    12-21-2013
    Location
    Hyderabad
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Help with a tricky lookup or index/match scenario

    you can use the following formula

    If you like it please heads up for me...thanks

    sheep solution.jpg

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Help with a tricky lookup or index/match scenario

    abdulads please do not upload a picture of your file...rather, upload a sample of your workbook, not all members can upload picture files (Company firewalls and stuff)

+ 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: 6
    Last Post: 04-30-2014, 02:42 AM
  2. Tricky INDEX/MATCH Function
    By jj554 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-10-2013, 08:42 PM
  3. Tricky INDEX/MATCH Function
    By jj554 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-10-2013, 07:04 PM
  4. =IF(Match(index) - tricky multiple conditions
    By Blackhawks in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-30-2013, 10:20 AM
  5. Tricky index and match
    By robbo46 in forum Excel General
    Replies: 1
    Last Post: 06-21-2011, 04:18 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