+ Reply to Thread
Results 1 to 5 of 5

Make a counter

  1. #1
    Forum Contributor choy96's Avatar
    Join Date
    03-19-2010
    Location
    singapore
    MS-Off Ver
    Excel 2019
    Posts
    187

    Make a counter

    i need a formula can be count total stock was produce between last collect day and today,production will produce 2000 per day, example last collect date is 04-Mar-12 , today is 06-Mar-12 , the result will be 4,000.

    thanks.
    Attached Files Attached Files
    Last edited by choy96; 04-07-2012 at 08:43 PM. Reason: Thanks very much

  2. #2
    Valued Forum Contributor
    Join Date
    03-14-2012
    Location
    Arizona USA
    MS-Off Ver
    Excel 2000/2007
    Posts
    408

    Re: Make a counter .

    Take a close look at cells(B3 to F3). See your modified workbook attached.
    Attached Files Attached Files

  3. #3
    Forum Contributor choy96's Avatar
    Join Date
    03-19-2010
    Location
    singapore
    MS-Off Ver
    Excel 2019
    Posts
    187

    Re: Make a counter .

    Thanks Dennis7849 very much.

    May i have a formula that straight can be total day multiple to qtty per day ?
    I have try =b3-today()*2000 , but it return a wrong result , anyone help ?

    thanks

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Make a counter .

    Hi Choy,

    I think you need to adjust for proper order of operations. Try:

    =(B3-TODAY())*2000

    This will first subtract today from B3, then multiply that difference by 2000. In your attempt it is multiplying TODAY() by 2000 (a very large number since today's serial date is 41003) and then subtracting that from B3.

  5. #5
    Valued Forum Contributor
    Join Date
    03-14-2012
    Location
    Arizona USA
    MS-Off Ver
    Excel 2000/2007
    Posts
    408

    Re: Make a counter

    =(B3-TODAY())*2000

    this should yield a negative value because 'Today()' will alway be larger than any previous date.

    the correct form should be

    =(TODAY()-B3)*2000

+ 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