+ Reply to Thread
Results 1 to 11 of 11

How to find data from multiple sheets to a single sheet as shown in sample file

Hybrid View

  1. #1
    Registered User
    Join Date
    09-28-2015
    Location
    Dhaka
    MS-Off Ver
    2007
    Posts
    31

    How to find data from multiple sheets to a single sheet as shown in sample file

    Dear friends,
    Thanks in advance as I have got lots of help from you. Now, I need to find data from multiple sheets to a single sheet as shown in the sample file(File size 22 kb). I have Stock name in column B (please see Analysis sheet) and I have lots of other sheets where I will obtain data from web. Hence, I want to put data in analysis sheet as I have designed( Column C, D, D,E............ in analysis sheet). But I have failed to put data using my limited knowledge. I am eagerly waiting for getting help help to solve my problem. I need this data frequently. I humbly seek your kind help.
    With regards,
    Samorita
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: How to find data from multiple sheets to a single sheet as shown in sample file

    Hi there. Try this formula in C3, copied across and down:

    =IFERROR(OFFSET(INDEX(INDIRECT("'"&$B3&"'!$A$1:$A$20"),MATCH(INDIRECT(ADDRESS(1,3+5*INT((COLUMNS($A:A)-1)/5),4)),INDIRECT("'"&$B3&"'!$A$1:$A$20"),0)),1,MOD(COLUMNS($A:A)-1,5)+1,,),"")

    See sheet to see it working:
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    09-28-2015
    Location
    Dhaka
    MS-Off Ver
    2007
    Posts
    31

    Smile Re: How to find data from multiple sheets to a single sheet as shown in sample file

    Quote Originally Posted by Glenn Kennedy View Post
    Hi there. Try this formula in C3, copied across and down:

    =IFERROR(OFFSET(INDEX(INDIRECT("'"&$B3&"'!$A$1:$A$20"),MATCH(INDIRECT(ADDRESS(1,3+5*INT((COLUMNS($A:A)-1)/5),4)),INDIRECT("'"&$B3&"'!$A$1:$A$20"),0)),1,MOD(COLUMNS($A:A)-1,5)+1,,),"")

    See sheet to see it working:
    Dear Glenn,
    Thank you so much. Your formula has solved my problem within nano second. But I have tried to use the same formula for getting another data, unfortunately I have failed to do so. I have attached herewith the sample file. I will be highly pleased if you do me another favour and explain the formula as well so that I can use it in future in a customized way. Thank you once again for your excellent quick support.
    With regards,
    Samorita
    Attached Files Attached Files

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: How to find data from multiple sheets to a single sheet as shown in sample file

    Hi @Samorita
    I think you can avoid many problems if you store your information in another way, as shown in the image.
    Samorita.JPG
    Please find attached the file with the data structure in Sheet1
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-28-2015
    Location
    Dhaka
    MS-Off Ver
    2007
    Posts
    31

    Re: How to find data from multiple sheets to a single sheet as shown in sample file

    Quote Originally Posted by José Augusto View Post
    Hi @Samorita
    I think you can avoid many problems if you store your information in another way, as shown in the image.
    Attachment 474780
    Please find attached the file with the data structure in Sheet1
    Dear Augusto,
    Thanks for your support. But the file you have uploaded is not readable. Will you please check the issue.

  6. #6
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: How to find data from multiple sheets to a single sheet as shown in sample file

    Quote Originally Posted by samorita View Post
    Dear Augusto,
    Thanks for your support. But the file you have uploaded is not readable. Will you please check the issue.
    Hi
    It works for me but I include another with extension xlsx
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    09-28-2015
    Location
    Dhaka
    MS-Off Ver
    2007
    Posts
    31

    Re: How to find data from multiple sheets to a single sheet as shown in sample file

    Dear Augusto,
    Thank you so much for your generous help. Take care friend.
    With regards,
    Samorita

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: How to find data from multiple sheets to a single sheet as shown in sample file

    That's a completely different layout. I have to go out to try to find a wasp's nest that is causing me some problems!! I'll get back to this sheet later, providing the wasps don't get me!!

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: How to find data from multiple sheets to a single sheet as shown in sample file

    For the first column:
    =TEXT(IF(INDIRECT("'"&$B$3&"'!"&ADDRESS(ROWS($1:1)+1,COLUMNS($A:A),4))=0,"",INDIRECT("'"&$B$3&"'!"&ADDRESS(ROWS($1:1)+1,COLUMNS($A:A),4))),"dd/mm/yyyy")
    copied down.

    For the rest:
    =IF(INDIRECT("'"&$B$3&"'!"&ADDRESS(ROWS($1:1)+1,COLUMNS($A:B),4))=0,"",INDIRECT("'"&$B$3&"'!"&ADDRESS(ROWS($1:1)+1,COLUMNS($A:B),4)))
    copied across and down.

  10. #10
    Registered User
    Join Date
    09-28-2015
    Location
    Dhaka
    MS-Off Ver
    2007
    Posts
    31

    Re: How to find data from multiple sheets to a single sheet as shown in sample file

    Quote Originally Posted by Glenn Kennedy View Post
    For the first column:
    =TEXT(IF(INDIRECT("'"&$B$3&"'!"&ADDRESS(ROWS($1:1)+1,COLUMNS($A:A),4))=0,"",INDIRECT("'"&$B$3&"'!"&ADDRESS(ROWS($1:1)+1,COLUMNS($A:A),4))),"dd/mm/yyyy")
    copied down.

    For the rest:
    =IF(INDIRECT("'"&$B$3&"'!"&ADDRESS(ROWS($1:1)+1,COLUMNS($A:B),4))=0,"",INDIRECT("'"&$B$3&"'!"&ADDRESS(ROWS($1:1)+1,COLUMNS($A:B),4)))
    copied across and down.
    Dear Glenn,

    Thank you so much. It has solved my problem. I am really grateful to you. God must help you in some other ways. Take Care my friend.
    With regards,
    Samorita

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: How to find data from multiple sheets to a single sheet as shown in sample file

    You're very welcome.

+ 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. Replies: 2
    Last Post: 07-25-2016, 09:35 AM
  2. [SOLVED] Copy data from serveral sheets to single sheet with its file name
    By sarajun_88 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-29-2016, 02:06 AM
  3. VBA to Compare changes from multiple sheets and shown in New sheet.
    By KumarPK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-06-2016, 06:40 AM
  4. Replies: 0
    Last Post: 10-12-2015, 10:02 AM
  5. Replies: 5
    Last Post: 10-16-2014, 08:53 AM
  6. Auto creation of sheets based on Data sheet with a sample output shown next to it
    By paradise2sr in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-27-2013, 07:56 AM
  7. [SOLVED] Multiple sheets as data for a single sheet
    By Newbie1092 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-19-2005, 01:25 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