+ Reply to Thread
Results 1 to 3 of 3

Counting number of days

  1. #1
    Forum Contributor
    Join Date
    01-28-2007
    MS-Off Ver
    2019
    Posts
    204

    Counting number of days

    Hi,


    I have this speadsheet that is used to track deliveries. what i want to do is track the number of days from last delivery in each tank on tab "28 day Check". I cant seem to get it to work.
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Counting number of days

    This will give you the number of days since the last delivery in tank 3 (I'm assuming deliverise are in date order)

    =TODAY()-LOOKUP(2,1/(Data!P5:P100="3"),Data!R5:R100)

    change "3" to the relevant tank number for the others. Format result cell as general
    Audere est facere

  3. #3
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: Counting number of days

    your requirement is not clear

    suppose in AK5 type the formula
    =IF(R5="","",TODAY()-R5)
    copy it down
    format column AK as number with zero decimal places.

    if this is nor what you want, clarify

+ 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