+ Reply to Thread
Results 1 to 3 of 3

To fetch data from sheet 2 based on the selections made on sheet 1

  1. #1
    Registered User
    Join Date
    03-27-2016
    Location
    United States
    MS-Off Ver
    2010
    Posts
    39

    To fetch data from sheet 2 based on the selections made on sheet 1

    Hello experts,

    This might sound complicated to me, but I am sure its a piece of cake for you

    I have a spreadsheet, with two tabs on it.

    One tab - "main' has all data with lot of information. Kind of source data.
    Another tab - "results" where I would like to fetch from "main" tab based on the criteria selected on this tab

    Attached the sample file and the desired results I am looking for.

    On the "main" tab, column B is always unique. Based on the selections made on "Results" tab, I want a macro to pick up the data in column B of "main" tab.

    If the selections made has 10 data on column B, I would like to see all 10 data.
    If selection reads "All", I would like to see all data on Column B with no filters
    If selections are made, but there is no data for selected criteria, I would like to see " No results"

    I have mentioned everything in the attached file as well.
    Any help is appreciated.


    Thank you very much!
    maryflower
    Attached Files Attached Files
    Last edited by maryflower; 10-24-2017 at 02:32 PM.

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: To fetch data from sheet 2 based on the selections made on sheet 1

    Try using a pivot table as shown in Columns P-Q in the attached.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    03-27-2016
    Location
    United States
    MS-Off Ver
    2010
    Posts
    39

    Re: To fetch data from sheet 2 based on the selections made on sheet 1

    Hello dflak

    Thanks for your response. Sorry, my mistake I didn't mention this before. The goal is to achieve this without pivot. I currently have pivot.
    Sorry again for missing this important piece.

+ 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. Need help to fetch data from other sheet based on Resource Name
    By Sanjibghosh in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-26-2016, 04:22 AM
  2. Data Fetch From One Sheet to Another Sheet Based on Check Box
    By Sanjibghosh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-02-2016, 10:56 AM
  3. macro to loop through data sheet , fetch 8 rows at a time and put in new sheet
    By nyree in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-04-2015, 01:46 AM
  4. Fetch the data from another sheet based on drop down list
    By sreejeshc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-25-2015, 02:26 AM
  5. Replies: 3
    Last Post: 01-09-2014, 05:55 PM
  6. Replies: 3
    Last Post: 02-28-2012, 02:15 PM
  7. Fetch data from another sheet based on a filter value
    By jrule in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-30-2011, 12:38 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