+ Reply to Thread
Results 1 to 5 of 5

Consolidation of data based on search criteria

  1. #1
    Registered User
    Join Date
    08-25-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2007
    Posts
    31

    Consolidation of data based on search criteria

    Hello,

    I need your help in getting the data consolidated from multiple sheets to one sheet based on the week we select.

    For Example: I have sheets named Project A, B & C (Variable) and each has 4 weeks (Variable) data. I am looking for a Macro which should ask for the "week" and suppose if I select Week 1 then it should copy the data from all the sheets of Week 1 to consolidated sheet as shown in the sample sheet.

    Thanks in advance for your help!!

    Regards,
    PK
    Attached Files Attached Files
    Last edited by pradeepkodali; 08-25-2015 at 01:55 PM. Reason: Solved

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Consolidation of data based on search criteria

    Enter a number (Not text )ONLY when asked.
    Attached Files Attached Files
    Last edited by AB33; 08-24-2015 at 04:51 PM.

  3. #3
    Registered User
    Join Date
    08-25-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Consolidation of data based on search criteria

    Thanks AB33, its works like a Charm in the sample but not on my actual data sheet. I have attached my data sheet, can you please have a look.

    Also is it possible to check the name in B2, C2,D2, E2,.... and check for the same Sheet names and copy the data?

    Data will have around 15 to 20 sheets & 52 weeks Data.

    Thanks much for your help!!

    Regards,
    PK
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Consolidation of data based on search criteria

    PK,
    Merged cells and VBA are not good friends. I have hard time amending the code. The code was unable to find any week, so I have to remove all the data in row 2 and retype them again.

    You should have consistent data layout. The weeks are in row 2.
    Attached Files Attached Files
    Last edited by AB33; 08-25-2015 at 01:33 PM.

  5. #5
    Registered User
    Join Date
    08-25-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Consolidation of data based on search criteria

    Thanks a LOT for all your help AB33. Sorry for the trouble.

+ 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. VBA to search in data range based on criteria from a different work sheet
    By tompee29 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-14-2015, 12:37 PM
  2. Find data based on search criteria
    By melnahum in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-20-2015, 12:01 PM
  3. Replies: 4
    Last Post: 01-08-2013, 12:37 PM
  4. Replies: 5
    Last Post: 10-03-2012, 09:36 AM
  5. Copy data between sheets based on search criteria
    By Phosphonothioic in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-21-2011, 11:51 AM
  6. How to show data based on search criteria
    By BlastRanger in forum Excel General
    Replies: 4
    Last Post: 09-24-2010, 05:22 AM
  7. pulling data from another worksheet based on criteria search
    By spectrum in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-29-2005, 06: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