+ Reply to Thread
Results 1 to 4 of 4

Need help making a formula to keep track of current week.

  1. #1
    Registered User
    Join Date
    02-28-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Need help making a formula to keep track of current week.

    I'm making an inventory spreadsheet to keep track of boxes on hand and when they get to a certain point, showing up as 'order'. My problem is, my formula is reading the one column and I want to be able to add consecutive week in consecutive columns and have it read the most recent column. In the example I am posting, I have it set up to read the numbers from the Week 1 column, but I'm wanting it to automatically read from Week 2 when I input week 2's numbers. Is there a way I can do this?
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    08-14-2006
    Location
    USA
    MS-Off Ver
    2019
    Posts
    686

    Re: Need help making a formula to keep track of current week.

    To find the last value (not a blank cell) in the range F3:L3 use:

    =INDEX(F3:L3,MATCH(9.99999999999999E+307,F3:L3))


    credit to TheExcelAddict.com Feb 3rd newsletter for this one!

  3. #3
    Registered User
    Join Date
    02-28-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Need help making a formula to keep track of current week.

    Awesome, thank you very much!!

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Need help making a formula to keep track of current week.

    Hi

    be aware that this solution ignores error values. If the range contains, for example, #DIV/0 errors the formula will not highlight this fact, but will return the last non-error value.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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