+ Reply to Thread
Results 1 to 5 of 5

Display data from sheets based on value in a cell on main sheet.. Help!

  1. #1
    Registered User
    Join Date
    04-26-2010
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007
    Posts
    27

    Display data from sheets based on value in a cell on main sheet.. Help!

    Hello!

    I am trying to create a formula which will allow me to type a word in a cell on the Main sheet, and then pull any row from multiple sheets and display them on the Main sheet. For example, my sheet named Main looks like this:

    A B C D E
    1 Query:
    2 Fruit Store Cost Mode Date



    And there's a sheet for each month with the same format and different data:
    A B C D E
    1 Fruit Store Cost Mode Date
    2 Apple Dominicks 1.99 Bagged 3/16/2014
    3 Apple Piggly Wiggly 2.19 Ala Carte 3/14/2014
    4 Banana Jewel 0.49 Bagged 3/1/2014
    5 Banana Dominicks 0.57 Ala Carte 3/16/2014
    6 Banana Costco 0.69 Ala Carte 3/16/2014
    7 Cantaloupe Jewel 2.99 Ala Carte 3/14/2014
    8 Cantaloupe Dominicks 1.99 Ala Carte 3/1/2014
    9 Eggplant Jewel 0.99 Ala Carte 3/30/2014
    10 Eggplant Dominicks 1.19 Ala Carte 3/30/2014
    11 Eggplant Costco 1.29 Ala Carte 3/21/2014
    12 Eggplant Safeway 0.79 Ala Carte 3/16/2014
    13 Pears Jewel 1.19 Ala Carte 3/14/2014
    14 Pears Dominicks 1.59 Bagged 3/1/2014
    15 Pears Piggly Wiggly 0.99 Ala Carte 3/30/2014
    16 Rhubarb Jewel 0.99 Ala Carte 3/14/2014
    17 Rhubarb Piggly Wiggly 0.59 Ala Carte 3/14/2014
    18 Rhubarb Costco 0.89 Ala Carte 3/14/2014
    19 Tomatoes Jewel 1.99 Ala Carte 3/1/2014
    20 Tomatoes Safeway 1.69 Bagged 3/30/2014
    21 Tomatoes Dominicks 1.89 Carton 3/27/2014


    ... and so on. On my main sheet in Cell B1, I want to type a fruit name, such as Banana, and have every row in every sheet with Banana in column A,pulled and displayed on the Main sheet. Firstly, is this even possible with a macro? and second, any guidance would be most appreciated. .

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Display data from sheets based on value in a cell on main sheet.. Help!

    Try this:

    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Display data from sheets based on value in a cell on main sheet.. Help!

    Maybe:

    Please Login or Register  to view this content.

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Display data from sheets based on value in a cell on main sheet.. Help!

    Please Login or Register  to view this content.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  5. #5
    Registered User
    Join Date
    04-26-2010
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Display data from sheets based on value in a cell on main sheet.. Help!

    Incredible! Three super quick replies, and each work as needed. Thank you three for the help!

+ 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. Pull data from multiple sheets based on cell in Main sheet
    By cpyter in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-29-2014, 01:19 PM
  2. Copy data from multiple sheets to one main based on cell value
    By jdjenterprises in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-28-2013, 10:13 PM
  3. Macro code to pull data from different sheets based on the header of the main sheet
    By Shanthuday in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-21-2012, 05:00 AM
  4. Replies: 1
    Last Post: 08-08-2012, 01:17 AM
  5. Replies: 3
    Last Post: 10-25-2011, 03:10 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