+ Reply to Thread
Results 1 to 7 of 7

Search over multiple sheets and display results

  1. #1
    Registered User
    Join Date
    05-03-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    23

    Search over multiple sheets and display results

    Hello All,

    I have the attached workbook that I am working on. Right now it searches all rows in sheet "Info1" for the words "Awaiting Parts" in column D. If it finds a rows containing these words in Column D, it displays that entire row on the "Results" sheet. I have A2:D11 set up as name: table1. This works great as it is. What I would like to do though is to search over all 3 sheets (Info1, Info2 & Info3) for the words "Awaiting Parts" in Column D and have the results from all 3 pages displayed in the same table in the "Results" sheet. I've tried a few things but nothing seems to work. Any help would be greatly appreciated.

    Thanks so much,
    Cedric
    Attached Files Attached Files

  2. #2
    Forum Contributor Bhuvi's Avatar
    Join Date
    04-19-2013
    Location
    Delhi, India
    MS-Off Ver
    MS Excel 2003,07,10
    Posts
    153

    Re: Search over multiple sheets and display results

    Hi cedricmeier,

    The desired result can be achieved through a macro. Please refer to the attached sheet and run the macro copy.
    Attached Files Attached Files
    If this helped and you wish to say thanks, then Please click on the Star* icon below this post.

  3. #3
    Registered User
    Join Date
    05-03-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Search over multiple sheets and display results

    This is awesome. Thank you so much!!!!

    One more thing, if you don't mind:
    I will be adding another sheet called "Formulas" to this workbook that I don't want this macro to search in. What would I add to this macro to make this possible? It looks like the macro will search every sheet in the workbook as it is now. I would like it to skip the sheet called "Formulas".

    Thanks again for your help,
    Cedric

  4. #4
    Registered User
    Join Date
    05-03-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Search over multiple sheets and display results

    .....actually I will have 2 sheet that I don't want searched. "Formulas" and "Item Count".

    Thanks

  5. #5
    Forum Contributor Bhuvi's Avatar
    Join Date
    04-19-2013
    Location
    Delhi, India
    MS-Off Ver
    MS Excel 2003,07,10
    Posts
    153

    Re: Search over multiple sheets and display results

    Hi,
    I hope you can edit the macro and make addition to the code.
    Press alt+f11 , go module1
    In sub copy alter the if statement as follows:
    If wksht.name <>"Results" OR wksht.name <> "Formulas"

  6. #6
    Forum Contributor Bhuvi's Avatar
    Join Date
    04-19-2013
    Location
    Delhi, India
    MS-Off Ver
    MS Excel 2003,07,10
    Posts
    153

    Re: Search over multiple sheets and display results

    Further you can add more OR conditions for "item count"

  7. #7
    Registered User
    Join Date
    05-03-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Search over multiple sheets and display results

    thats awesome!!!!! Thank you so much for your 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. Macro to search other sheets and display results if there are any
    By stumpedintern in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2014, 04:06 PM
  2. [SOLVED] Display multiple search results by column
    By Declan.Ryan in forum Excel General
    Replies: 19
    Last Post: 11-09-2012, 08:51 AM
  3. Display multiple search results in a row
    By Alicita in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 01-24-2011, 10:45 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