+ Reply to Thread
Results 1 to 8 of 8

Pulling the 300th Value

  1. #1
    Registered User
    Join Date
    06-12-2013
    Location
    Rochester, Minnesota
    MS-Off Ver
    Excel 2007
    Posts
    80

    Pulling the 300th Value

    Hello,

    I was wondering if there was a way to develop some kind of VBA Programming/Macro/Whatever that will open up a spreadsheet, go to A300 (Date Cell), see how many days (from today) that date is back, and post that number into a cell on a different workbook?

    Thanks!

  2. #2
    Registered User
    Join Date
    08-15-2013
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2013
    Posts
    16

    Re: Pulling the 300th Value

    I may be misunderstanding your question, but is it sufficient to use this formula in the other workbook?

    =TODAY()-'[FirstWorkbookName]Sheet1'!$A$300
    Have a great day!

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Pulling the 300th Value

    You can do that with a formula.

    =TODAY()-'C:\2013\Excel Files\[MyImportantWorkbook.xlsx]Sheet1'!$A$300

    Format that cell as General.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    06-12-2013
    Location
    Rochester, Minnesota
    MS-Off Ver
    Excel 2007
    Posts
    80

    Re: Pulling the 300th Value

    Ingenious. Now reality presents a problem: I over simplified the problem, instead of A300, how do I point to the 300th cell of a filter? So the 300th cell is actually A7230 today, A2000 tomorrow and so on and so forth.

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Pulling the 300th Value

    Don't know of any way to do that. You would need to use a more specific lookup formula to target that row specifically.

  6. #6
    Registered User
    Join Date
    06-12-2013
    Location
    Rochester, Minnesota
    MS-Off Ver
    Excel 2007
    Posts
    80

    Re: Pulling the 300th Value

    Anyway to point Excel to the 300th value in Column with Filter X applied?

  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
    53,050

    Re: Pulling the 300th Value

    Not sure if this will of any use, but maybe you can build on it?

    Use the SUBTOTAL(2,range) function
    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

  8. #8
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Pulling the 300th Value

    Maybe?

    Please Login or Register  to view this content.
    Sheet3 would be the other worksheet.

+ 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. Pulling a Specific Cell when Pulling a Tabel from Web Based Data
    By Zallen89 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-26-2013, 05:39 PM
  2. Help Looking Up and Pulling Value
    By daw382 in forum Excel General
    Replies: 6
    Last Post: 08-25-2011, 07:39 PM
  3. Pulling the whole Row
    By cjohnsen in forum Excel General
    Replies: 1
    Last Post: 10-09-2006, 11:06 PM
  4. Pulling data from web
    By famdamly in forum Excel General
    Replies: 3
    Last Post: 02-26-2006, 02:20 PM
  5. Pulling out every nth value
    By Anauna in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-07-2005, 05:06 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