+ Reply to Thread
Results 1 to 5 of 5

Lookup newest value from a column in another workbook

  1. #1
    Registered User
    Join Date
    07-27-2023
    Location
    North Dakota
    MS-Off Ver
    Office 365
    Posts
    2

    Lookup newest value from a column in another workbook

    So I have a daily report I have to compile that pulls data from several workbooks and various pages withing those workbooks.

    For example, I need to pull the newest non text entry from coulumn b, on page Water & Oil, in workbook CTB Test Book 2.

    How do I put in that formula?

    All help is appreciated.
    Last edited by OilfieldTim; 07-27-2023 at 10:32 AM.

  2. #2
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,888

    Re: Lookup newest value from a column in another workbook

    Welcome to the forum.

    Adding a workbook link to a formula is detailed here:

    https://trumpexcel.com/reference-ano...kbook-in-Excel

    Then use this as your formula:

    =LOOKUP(2,1/(ISNUMBER(B:B)),B:B)

    Replace B:B with the full worksheet reference as per the link.
    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.

  3. #3
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,888

    Re: Lookup newest value from a column in another workbook

    So either:

    ='[CTB Test Book 2.xlsx]Water & Oil'!B:B

    or:

    ='C:\Users\someone\Desktop\[CTB Test Book 2.xlsx]Water & Oil'!B:B

    Added like this:

    =LOOKUP(2,1/(ISNUMBER('[CTB Test Book 2.xlsx]Water & Oil'!B:B)),'[CTB Test Book 2.xlsx]Water & Oil'!B:B)

    or:

    =LOOKUP(2,1/(ISNUMBER('C:\Users\someone\Desktop\[CTB Test Book 2.xlsx]Water & Oil'!B:B)),'C:\Users\someone\Desktop\[CTB Test Book 2.xlsx]Water & Oil'!B:B)

  4. #4
    Registered User
    Join Date
    07-27-2023
    Location
    North Dakota
    MS-Off Ver
    Office 365
    Posts
    2
    Thank you so much. You've saved me like an hour a day.

  5. #5
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,888

    Re: Lookup newest value from a column in another workbook

    Glad to have helped.

    If you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered 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. Need VBA code that updates newest rows from a different workbook
    By sonicsoul in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-01-2023, 03:28 AM
  2. Lookup date in a column on SharePoint workbook and copy column to current workbook
    By alimsab in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-21-2020, 11:20 AM
  3. [SOLVED] Modification to the Newest file in a folder function - Getting a list of 'n' Newest files
    By yoursamrit2000 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-21-2019, 07:22 AM
  4. Need to Activate Newest Workbook
    By TrueFangz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-20-2018, 03:02 PM
  5. [SOLVED] Vba code to lookup newest and oldest date
    By UPA in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-01-2017, 07:27 AM
  6. Arranging Pivot table data from Newest to oldest to Newest does not appear
    By paradise2sr in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-08-2014, 06:53 AM
  7. Lookup Adjacent Cell Values based on Newest and Oldest Date
    By nevi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-09-2008, 02:27 PM

Tags for this Thread

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