+ Reply to Thread
Results 1 to 2 of 2

Transfer data from main sheet to summary sheet using three selective critiria

  1. #1
    Registered User
    Join Date
    01-30-2013
    Location
    Northamptonshire
    MS-Off Ver
    Excel 2010
    Posts
    9

    Question Transfer data from main sheet to summary sheet using three selective critiria

    Hi All,

    I do hope someone can assist me in this task. I have an understanding of VBA but not to the level of manipulating data in arrays or from one source to another so hence the cry for help.

    What I need to do is take data from one spread sheet (main data source) and populate another (summary data) based upon three criteria, which are “Question”, “Supplier” and “Rating”.

    In the summary sheet I have three dropdown boxes for selecting the criteria:
    1. Supplier name
    2. Question i.e. Service level agreement (I have some 30 questions)
    3. Rating (this is 1 or 4)

    I would like the vba code to be attached to the last drop down (rating) and then take the three criteria and search the main data source sheet and return every entry where the criteria is met but only display data from specific columns i.e. column “B”, “G”, “H” etc.

    So the initial check should be column A for supplier name, then row 1 for question and then down the column.

    Example of main data source (A – supplier name, B – sub date, C to F question ratings, G to J questions text response)

    A B C D E F G H I J
    1 Date Q1 rate Q2 Q3 Q4 Q1 Ans Q2 Ans Q3 Ans Q4 Ans
    2 EMF 01/12 1 2 1 4 Any txt Any txt Any txt Any txt
    3 Plus 1 02/12 3 3 1 4 Any txt Any txt Any txt Any txt
    4 Browns 02/12 2 2 1 1 Any txt Any txt Any txt Any txt
    5 EMF 02/12 2 1 1 4 Any txt Any txt Any txt Any txt
    6 ACE 02/12 4 1 2 3 Any txt Any txt Any txt Any txt
    7 Browns 03/12 2 2 4 1 Any txt Any txt Any txt Any txt
    8 EMF 03/12 3 3 1 4 Any txt Any txt Any txt Any txt
    Plus 1 03/12 1 2 2 4 Any txt Any txt Any txt Any txt

    So if I select EMF and Q2 and Rating 1 it should extract data from row 5 columns D (rating) and H (text relating to q2.
    I hope this is a good example and my requirements are clear.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Transfer data from main sheet to summary sheet using three selective critiria

    Click GO ADVANCED and use the paperclip icon to post up a copy of your workbook. Make sure the workbook demonstrates your desired results if possible, or just highlight the cells you're trying to fix. Use BEFORE/AFTER sheets if that helps make it clearer.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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