+ Reply to Thread
Results 1 to 16 of 16

Calling data from sheets

  1. #1
    Forum Contributor
    Join Date
    02-11-2016
    Location
    tanzania
    MS-Off Ver
    2007
    Posts
    319

    Calling data from sheets

    Hi friends
    I hope you are okay
    I have a data from sheet 2 to sheet 400.
    I need a formula which will calling data in sheet 2 column D9 to sheet 400 column D9 in sheet 1 B4 to B404
    Thanks much

  2. #2
    Forum Contributor
    Join Date
    02-11-2016
    Location
    tanzania
    MS-Off Ver
    2007
    Posts
    319
    I mean it is a single name in each sheet not all things from another sheet

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Calling data from sheets

    Before even attempting to answer this...you have 400 sheets?????
    That is probably at least 390 too many. Why do you need so many sheets?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Calling data from sheets

    You may use INDIRECT function to get what you want.

    =INDIRECT( sheet_name ! address )

    and you can also use helper cell to create list of sheet_name for use in INDIRECT function.

    for sample from A4 contain Sheet2
    in B4 you may use
    =Indirect("'" & A4 &"'!D9")

    Regards.

    But.....400 sheets is a very large number :O

  5. #5
    Forum Contributor
    Join Date
    02-11-2016
    Location
    tanzania
    MS-Off Ver
    2007
    Posts
    319

    Re: Calling data from sheets

    It doesn't work

  6. #6
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Calling data from sheets

    Can you show a picture of your desired result and let's saw some of your worksheet name? [in case you can't upload a small sample file]

    Regards.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Calling data from sheets

    why do you even have 400 sheets??

  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 2403
    Posts
    44,063

    Re: Calling data from sheets

    400 sheets seems a bit excessive!!!

    =INDIRECT("'"&A2&"'!D9")
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  9. #9
    Forum Contributor
    Join Date
    02-11-2016
    Location
    tanzania
    MS-Off Ver
    2007
    Posts
    319

    Re: Calling data from sheets

    Thanks much for your contribution.
    But i would like to ask more is it possible to call data as they way you did from d9 to p9 for all shets?
    If possible it will make may work easier.
    Thanks much i believe somebody will help me

  10. #10
    Forum Contributor
    Join Date
    02-11-2016
    Location
    tanzania
    MS-Off Ver
    2007
    Posts
    319

    Re: Calling data from sheets

    Thanks much for your contribution.
    But i would like to ask more is it possible to call data as they way you did from d9 to p9 for all shets? THOSE DATA TO COME IN SHEET ONE B2 TO N2.
    If possible it will make may work easier.
    Thanks much i believe somebody will help me

  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 2403
    Posts
    44,063

    Re: Calling data from sheets

    The contents of WHICH cell should be in C2?

    The contents of WHICH cell should be in D2?

  12. #12
    Forum Contributor
    Join Date
    02-11-2016
    Location
    tanzania
    MS-Off Ver
    2007
    Posts
    319

    Re: Calling data from sheets

    Okay thanks much
    i attach sample file and you will see what i need in sheet 1, i decide to use green and yellow colour to represent output. And those output i put it manually now i think you will understand.
    And i need all to be there in sheet one as the way you did to the b1 to b5
    thanks much for you contribution
    i believe you will understand what i need here
    see the attachment of what i need
    Attached Files Attached Files

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

    Re: Calling data from sheets

    Try:
    =INDIRECT("'"&$A3&"'!"&CELL("address",D$9))

    copied across and down.

    1. Will any of the target cells be empty?

    2. Will the real data be text or numbers, or a bit of a mixture?
    Attached Files Attached Files

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

    Re: Calling data from sheets

    One way of dealing with empty cells is this:
    =IF(INDIRECT("'"&$A3&"'!"&CELL("address",D$9))="","",INDIRECT("'"&$A3&"'!"&CELL("address",D$9)))

    However, bear in mind that INDIRECT is volatile. It recalculates EVERY time ANYTHING changes. On big sheets, this CAN cause performance issues.

  15. #15
    Forum Contributor
    Join Date
    02-11-2016
    Location
    tanzania
    MS-Off Ver
    2007
    Posts
    319

    Re: Calling data from sheets

    Thanks much
    it works wonderfull be blessed

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

    Re: Calling data from sheets

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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] Tricky request! Moving sheets, calling macro within macro, applying to all sheets.
    By excelfriend1 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-22-2016, 10:48 PM
  2. [SOLVED] Sorting sheets by calling sub procedures.
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-09-2014, 01:28 PM
  3. Calling data between sheets
    By roberj13 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 12-28-2012, 06:27 PM
  4. Calling non-existing sheets
    By Arcady in forum Excel General
    Replies: 6
    Last Post: 10-29-2009, 08:54 PM
  5. Accesing external programs and calling data from other sheets.
    By MaximusPrimal in forum Excel General
    Replies: 0
    Last Post: 09-22-2009, 01:20 AM
  6. Calling btn_Click event from different sheets
    By shsassy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-30-2007, 11:46 AM
  7. Calling Programs in other sheets
    By wilro85 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-02-2005, 02:42 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