+ Reply to Thread
Results 1 to 15 of 15

Display rows from multiple sheets matching a criteria

  1. #1
    Registered User
    Join Date
    05-27-2013
    Location
    BANGALORE, INDIA
    MS-Off Ver
    Excel 2013
    Posts
    45

    Question Display rows from multiple sheets matching a criteria

    Hi, Can somebody pls help me.
    I have multiple sheet in a workbook with same patients data of different years. I want compare their health records in a new sheet with use of search by identification number. I have code which works for single sheet , pls somebody help me how to extend it for multiple sheets. below is the code which works for EHC 14-15 sheet, I want the search to display the results from EHC 13-14 sheet also.



    HTML Code: 
    Attached Files Attached Files
    Last edited by rudswa; 03-27-2015 at 06:13 AM.

  2. #2
    Registered User
    Join Date
    05-27-2013
    Location
    BANGALORE, INDIA
    MS-Off Ver
    Excel 2013
    Posts
    45

    Re: Display rows from multiple sheets matching a criteria

    I have attached the excel sheet . Pls somebody help.

  3. #3
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Display rows from multiple sheets matching a criteria

    Maybe:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  4. #4
    Registered User
    Join Date
    05-27-2013
    Location
    BANGALORE, INDIA
    MS-Off Ver
    Excel 2013
    Posts
    45

    Re: Display rows from multiple sheets matching a criteria

    @xladept, Thanks a lot. It worked like charm.

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Display rows from multiple sheets matching a criteria

    You're welcome and thanks for the rep!

  6. #6
    Registered User
    Join Date
    05-27-2013
    Location
    BANGALORE, INDIA
    MS-Off Ver
    Excel 2013
    Posts
    45

    Re: Display rows from multiple sheets matching a criteria

    Hi,
    Everything working fine, but I want hyperlink to the original sheet cell from the search results. Pls somebody help.
    Last edited by rudswa; 04-14-2015 at 02:27 AM.

  7. #7
    Registered User
    Join Date
    05-27-2013
    Location
    BANGALORE, INDIA
    MS-Off Ver
    Excel 2013
    Posts
    45

    Re: Display rows from multiple sheets matching a criteria

    Any help pls


    Hi,
    Everything working fine, but I want hyperlink to the original sheet cell from the search results. Pls somebody help.

  8. #8
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Display rows from multiple sheets matching a criteria

    Hi Rudswa,

    I don't understand what you want to recover, can you explain?

  9. #9
    Registered User
    Join Date
    05-27-2013
    Location
    BANGALORE, INDIA
    MS-Off Ver
    Excel 2013
    Posts
    45

    Re: Display rows from multiple sheets matching a criteria

    Quote Originally Posted by xladept View Post
    Hi Rudswa,

    I don't understand what you want to recover, can you explain?
    Hi xladept,
    Thanks for reply. I need hyperlink on the search results, so that if I click on the hyperlink it will take to the original sheet & cell from where the value arises.
    I have attached an excel. In that you can see that I have created hyperlink manually in the name field. I want that hyperlink generated automatically along with search results.

    Sorry for my poor English, I am not able to put words properly.
    Attached Files Attached Files

  10. #10
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Display rows from multiple sheets matching a criteria

    MAybe:

    Please Login or Register  to view this content.
    Last edited by xladept; 04-15-2015 at 04:57 PM.

  11. #11
    Registered User
    Join Date
    05-27-2013
    Location
    BANGALORE, INDIA
    MS-Off Ver
    Excel 2013
    Posts
    45

    Re: Display rows from multiple sheets matching a criteria

    Hi xladept,
    Thanks for reply. it is creating hyperlink as i required but i am getting error "cannot open the specified file" when i click on hyperlink. Can you pls see.
    Attached Files Attached Files
    Last edited by rudswa; 04-16-2015 at 12:30 AM.

  12. #12
    Registered User
    Join Date
    05-27-2013
    Location
    BANGALORE, INDIA
    MS-Off Ver
    Excel 2013
    Posts
    45

    Re: Display rows from multiple sheets matching a criteria

    Hyperlink address is directing to an unknown file
    Capture.PNG

  13. #13
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Display rows from multiple sheets matching a criteria

    Hi Rudswa,

    Nothing I've done has worked

    But my research tells me that it may be because I'm using Excel 2010 - all I can say is: Try this

    Please Login or Register  to view this content.

  14. #14
    Registered User
    Join Date
    05-27-2013
    Location
    BANGALORE, INDIA
    MS-Off Ver
    Excel 2013
    Posts
    45

    Re: Display rows from multiple sheets matching a criteria

    Hi, xladept,
    Thanks a million for this, I made very small changes and it worked like zoom. I'm on cloud nine. Thank you so much, you really saved my day.

    HTML Code: 
    Attached Files Attached Files

  15. #15
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Display rows from multiple sheets matching a criteria

    Wow! Excellent! AND NOW IT WORKS for my 2010!

    Thanks for the rep!

+ 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. Multiple cells, multiple sheets, multiple criteria matching
    By Drudnits1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-17-2014, 12:12 PM
  2. Replies: 16
    Last Post: 08-23-2013, 06:43 PM
  3. [SOLVED] Index/Match Not Matching Correctly on Multiple Criteria Across Sheets
    By cbauer in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-02-2012, 04:19 PM
  4. [SOLVED] Mark or Delete Rows based on Matching Multiple Criteria in another worksheet
    By clearbluez in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-11-2012, 02:38 PM
  5. Replies: 1
    Last Post: 07-14-2010, 07:08 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