+ Reply to Thread
Results 1 to 4 of 4

Need Help: Pull Data from another Sheet using INDEX, MATCH functions etc

  1. #1
    Registered User
    Join Date
    11-05-2013
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    3

    Need Help: Pull Data from another Sheet using INDEX, MATCH functions etc

    Hi all,

    I have 2 worksheets "Master Database" & "Group Generation Module"

    "Master Database" contains all customer data and "Group Generation Module" is where certain data is going to be imported from "Master Database" like customer name, amount paid, branch, group code etc.

    I have created a drop down list in cell A1 with group codes CA,CB,CC,CD and when I select CA from the drop down list in "Group Generation Module". The following formulas are used as described below.

    In "Master Database" sheet:
    IF(P3="","-",P3&"_"&COUNTIF(P$3:P3,P3)) = to count the No. of group Code appearing in a row, so when the formula is copied down to say 100 rows, it will appear like "IF(P100="","-",P100&"_"&COUNTIF(P$3:P100,P100))" in the 100th row. This will give the count of CA,CB,CC,CD in the respective rows. So, if CA appears 12 times the formula result shows CA_12 in the 12th position of the CA group code row.

    In "Group Generation Module" sheet:
    IF(ISNA(MATCH($H$1&"_"&ROWS(A$1:A1),'Master Database'!AC:AC,0)),"",MATCH($H$1&"_"&ROWS(A$1:A1),'Master Database'!AC:AC,0)) = to show the row id of the particular match. For eg Group code 'CA' appearing at row P3 in Sheet1 will show as "3". Referring this formula, I used "IF($AJ3="","",INDEX('Master Database'!B:B,$AJ3))" to pull data like customer name, amount paid, branch etc based on this row ID from "Master Database".

    Now, the above formulas works like charm but what I want to do is - In "Master Database", next to Group Code is Division column heading. If the Division is allotted to a particular cell, say P3 (group code) is CA and Q3 (division) allotted is 1 then in "Group Generation Module" the row id formula should skip this row and should look for a row for which division is not allotted.

    Can anyone help on this...
    Last edited by eummagic; 11-18-2013 at 06:05 AM. Reason: more info added

  2. #2
    Registered User
    Join Date
    11-05-2013
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Need Help: Pull Data from another Sheet using INDEX, MATCH functions etc

    Hi all,
    Guys no reply....any suggestion/ideas. Stuck in my project, awaiting your help...

  3. #3
    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,926

    Re: Need Help: Pull Data from another Sheet using INDEX, MATCH functions etc

    Hi and welcome to the forum

    I would suggest you upload a sample work book, (all sensitive data removed), showing what data you are working with, a few examples of what your expected outcome is, and how you arrived at that
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    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

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Need Help: Pull Data from another Sheet using INDEX, MATCH functions etc

    Please attach a sample workbook with enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    Note: Please don't attach documents containing confidential data like (address, telephone, ID#s, etc.).


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ 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 and MATCH functions to sum data with blank cells
    By Simplex06 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-14-2013, 08:38 AM
  2. Replies: 4
    Last Post: 08-29-2012, 10:32 AM
  3. Replies: 5
    Last Post: 01-05-2011, 03:13 PM
  4. Replies: 2
    Last Post: 05-21-2005, 01:06 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