+ Reply to Thread
Results 1 to 26 of 26

Retrieving the data of the target number from a closed book

  1. #1
    Forum Contributor
    Join Date
    09-23-2020
    Location
    Turkey
    MS-Off Ver
    Office Pro Plus 2016 TR
    Posts
    140

    Retrieving the data of the target number from a closed book

    Hello my Excel masters


    We have a closed book.We constantly record the data in that book.Formats column headings are fixed.

    Can we call the data of the relevant target number from a closed book to our open Excel book?

    I wanted to explain it as much as I could in the Excel book.


    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,014

    Re: Retrieving the data of the target number from a closed book

    Try this in F2, then copy down and across.

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    09-23-2020
    Location
    Turkey
    MS-Off Ver
    Office Pro Plus 2016 TR
    Posts
    140

    Re: Retrieving the data of the target number from a closed book

    I guess I couldn't explain

    B column numbers are fixed on the main page (L.Number)
    If the number in column B (L.Number) is in a closed book, those marked including the L.number will be brought to the main page.

    We need to do it as shown in the picture.
    Attached Images Attached Images

  4. #4
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,014

    Re: Retrieving the data of the target number from a closed book

    Did you input previous formula in MaskerK!F2, then copy down and across?

  5. #5
    Forum Contributor
    Join Date
    09-23-2020
    Location
    Turkey
    MS-Off Ver
    Office Pro Plus 2016 TR
    Posts
    140

    Re: Retrieving the data of the target number from a closed book

    I couldn't explain much due to language requirements.


    On the home page (if there is L.Number)
    We want to pull the data from the yellow columns in the closed book
    In the yellow column locations on the master page

    formula brings gender
    Attached Images Attached Images

  6. #6
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,014

    Re: Retrieving the data of the target number from a closed book

    It's weird. I saw is correct. Please see the attached file.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    09-23-2020
    Location
    Turkey
    MS-Off Ver
    Office Pro Plus 2016 TR
    Posts
    140

    Re: Retrieving the data of the target number from a closed book

    The column count formula messed things up.
    it worked now

    columns =sütunsay

    excel automatically translated your formula

    Can't we do this formula with code? this formula worked
    like automatic formula filling ?
    Last edited by Tacir; 03-08-2024 at 06:59 AM.

  8. #8
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,014

    Re: Retrieving the data of the target number from a closed book

    You can wait someone to write a VBA code.

  9. #9
    Forum Contributor
    Join Date
    09-23-2020
    Location
    Turkey
    MS-Off Ver
    Office Pro Plus 2016 TR
    Posts
    140

    Re: Retrieving the data of the target number from a closed book

    but the formula was nice

  10. #10
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,014

    Re: Retrieving the data of the target number from a closed book

    I'm glad to help.

  11. #11
    Forum Contributor
    Join Date
    09-23-2020
    Location
    Turkey
    MS-Off Ver
    Office Pro Plus 2016 TR
    Posts
    140

    Re: Retrieving the data of the target number from a closed book

    When I searched the forum I found a code from Mr. Jindon

    https://www.excelforum.com/excel-pro...ive-sheet.html


    I tried to design it in my own file.I can more or less interpret the codes.
    But I made a mistake somewhere and I couldn't run it.

    Can you take a look at the relevant files?

    Calling the relevant data of the number from another closed book
    Attached Files Attached Files

  12. #12
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,014

    Re: Retrieving the data of the target number from a closed book

    Try this,
    Please Login or Register  to view this content.

  13. #13
    Forum Contributor
    Join Date
    09-23-2020
    Location
    Turkey
    MS-Off Ver
    Office Pro Plus 2016 TR
    Posts
    140

    Re: Retrieving the data of the target number from a closed book

    windknife

    This is it!.Mr. Jindon's codes became our map.

    Thank you very much for the effort you put in.I hadn't thought about the last code sentence at all.

    Both options turned out very well. Formula and coding

    Very nice thank you

  14. #14
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,014

    Re: Retrieving the data of the target number from a closed book

    You are welcome.
    --------------------------------------
    If that takes care of your original question, please click on "Thread Tools" from the menu link above and mark this thread as SOLVED.

  15. #15
    Forum Contributor
    Join Date
    09-23-2020
    Location
    Turkey
    MS-Off Ver
    Office Pro Plus 2016 TR
    Posts
    140

    Re: Retrieving the data of the target number from a closed book

    I was waiting to bookmark it after your comment.

    I added your reputation before.

    It is now marked as solved.
    Last edited by Tacir; 03-09-2024 at 10:44 AM. Reason: update

  16. #16
    Forum Contributor
    Join Date
    09-23-2020
    Location
    Turkey
    MS-Off Ver
    Office Pro Plus 2016 TR
    Posts
    140

    Re: Retrieving the data of the target number from a closed book

    Windnife,

    (L.Number) The code gives an error when alpha is numeric.

    I hadn't thought about this part.


    example , L.Number 40-D-702 if it happens

    There is no problem when there is a number


    f1 =

    Is it necessary to use similar function instead of equality?
    Last edited by Tacir; 03-09-2024 at 12:49 PM.

  17. #17
    Forum Contributor
    Join Date
    09-23-2020
    Location
    Turkey
    MS-Off Ver
    Office Pro Plus 2016 TR
    Posts
    140

    Re: Retrieving the data of the target number from a closed book

    rs.Open "Select F1 , F2, F3, F4, F5, F6, F7, F12, F9 From `Summary$a2:o` where F1 like '" & .Cells(i, 2) & "';", cn, 3, 3, 1

    I think I fixed it

  18. #18
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,387

    Re: Retrieving the data of the target number from a closed book

    Here a variation (In your current method, you are reloading the two objects in every loop)
    You don't need a loop.

    Please Login or Register  to view this content.

  19. #19
    Forum Contributor
    Join Date
    09-23-2020
    Location
    Turkey
    MS-Off Ver
    Office Pro Plus 2016 TR
    Posts
    140

    Re: Retrieving the data of the target number from a closed book

    Dear Jec,


    Thank you for your information and interest.

    I add your solution to the module
    Last edited by Tacir; 03-10-2024 at 03:32 AM.

  20. #20
    Forum Contributor
    Join Date
    09-23-2020
    Location
    Turkey
    MS-Off Ver
    Office Pro Plus 2016 TR
    Posts
    140

    Re: Retrieving the data of the target number from a closed book

    Dear jec.


    Alpha numeric ones still seem to be a problem
    Attached Files Attached Files
    Last edited by Tacir; 03-10-2024 at 03:33 AM.

  21. #21
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,014

    Re: Retrieving the data of the target number from a closed book

    Try this,

    Please Login or Register  to view this content.

  22. #22
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,588

    Re: Retrieving the data of the target number from a closed book

    Please Login or Register  to view this content.

  23. #23
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,152

    Re: Retrieving the data of the target number from a closed book

    Alternative;

    Please Login or Register  to view this content.
    Sample workbooks are also attached and be aware that, some of the headings are different (misspelled) in the workbooks such as "Diagnosis" in the master WB and "Dianotics" in the other WB.
    Attached Files Attached Files
    Last edited by Haluk; 03-10-2024 at 04:55 AM.

  24. #24
    Forum Contributor
    Join Date
    09-23-2020
    Location
    Turkey
    MS-Off Ver
    Office Pro Plus 2016 TR
    Posts
    140

    Re: Retrieving the data of the target number from a closed book

    Thank you very much for your efforts . Dear Jindon and Dear windknife.


    Master Jindon's sample codes were the beginning of the topic and it ended well.
    Adding your reputations is a duty

    Kind regards

  25. #25
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: Retrieving the data of the target number from a closed book

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  26. #26
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,152

    Re: Retrieving the data of the target number from a closed book

    @Tacir;

    Did you also try my attached workbook ?

+ 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. [SOLVED] Pull data from closed book based on values
    By Jamesraywebber85 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-08-2018, 10:53 AM
  2. [SOLVED] Copy and paste data from closed book
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-03-2017, 04:39 AM
  3. Help understanding a MS Query code retrieving data from closed XL Files
    By Doc.AElstein in forum Excel Programming / VBA / Macros
    Replies: 46
    Last Post: 04-22-2017, 10:02 AM
  4. Open Closed Book, carry out a VLookup and then put all entries into blank book
    By AChatwin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-22-2015, 03:17 AM
  5. Retrieving data from a closed workbook
    By sat-65 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-27-2013, 04:24 PM
  6. Copy data from closed book
    By cbachu1 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-28-2012, 03:31 PM
  7. Retrieving File Name by Matching a Given Page Number in a Book
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-25-2005, 02:23 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