+ Reply to Thread
Results 1 to 4 of 4

Counting days worked

  1. #1
    anonymous person
    Guest

    Counting days worked

    I am working with a client that has an old accounting system. I can get the
    data over to excel, spend some time reformatting it and get a good sheet to
    work with.

    The system is a timecard based manufacturer, so employees will list the
    date, pieces made, pieces scrapped. My problem is counting the days worked.
    The spreadsheet will show several listings for the same day:

    10/10/03 x x
    10/10/03 x x
    10/11/03
    etc

    I'd like to get a count for the actual number of days worked. If I just
    count lines, I'm getting multiple lines for the same date because they work
    on more than one type of piece each day. How can I get a count where it
    will only count 10/10 once and then move on and give me an actual number of
    days worked?

    Thanks in advance.



  2. #2
    Aladin Akyurek
    Guest

    Re: Counting days worked

    Looks like a count of distinct days is what you require...

    =SUMPRODUCT((DateRange<>"")/COUNTIF(DateRange,DateRange))

    anonymous person wrote:
    > I am working with a client that has an old accounting system. I can get the
    > data over to excel, spend some time reformatting it and get a good sheet to
    > work with.
    >
    > The system is a timecard based manufacturer, so employees will list the
    > date, pieces made, pieces scrapped. My problem is counting the days worked.
    > The spreadsheet will show several listings for the same day:
    >
    > 10/10/03 x x
    > 10/10/03 x x
    > 10/11/03
    > etc
    >
    > I'd like to get a count for the actual number of days worked. If I just
    > count lines, I'm getting multiple lines for the same date because they work
    > on more than one type of piece each day. How can I get a count where it
    > will only count 10/10 once and then move on and give me an actual number of
    > days worked?
    >
    > Thanks in advance.
    >
    >


  3. #3
    Aladin Akyurek
    Guest

    Re: Counting days worked

    Make that:

    =SUMPRODUCT((DateRange<>"")/COUNTIF(DateRange,DateRange&""))

    Aladin Akyurek wrote:
    > Looks like a count of distinct days is what you require...
    >
    > =SUMPRODUCT((DateRange<>"")/COUNTIF(DateRange,DateRange))
    >
    > anonymous person wrote:
    >
    >> I am working with a client that has an old accounting system. I can
    >> get the data over to excel, spend some time reformatting it and get a
    >> good sheet to work with.
    >>
    >> The system is a timecard based manufacturer, so employees will list
    >> the date, pieces made, pieces scrapped. My problem is counting the
    >> days worked. The spreadsheet will show several listings for the same day:
    >>
    >> 10/10/03 x x
    >> 10/10/03 x x
    >> 10/11/03
    >> etc
    >>
    >> I'd like to get a count for the actual number of days worked. If I
    >> just count lines, I'm getting multiple lines for the same date because
    >> they work on more than one type of piece each day. How can I get a
    >> count where it will only count 10/10 once and then move on and give me
    >> an actual number of days worked?
    >>
    >> Thanks in advance.
    >>


  4. #4
    anonymous person
    Guest

    Re: Counting days worked

    thank you, I will try that out this afternoon.
    "Aladin Akyurek" <akyurek@xs4all.nl> wrote in message
    news:41F2A684.9060801@xs4all.nl...
    > Make that:
    >
    > =SUMPRODUCT((DateRange<>"")/COUNTIF(DateRange,DateRange&""))
    >
    > Aladin Akyurek wrote:
    >> Looks like a count of distinct days is what you require...
    >>
    >> =SUMPRODUCT((DateRange<>"")/COUNTIF(DateRange,DateRange))
    >>
    >> anonymous person wrote:
    >>
    >>> I am working with a client that has an old accounting system. I can get
    >>> the data over to excel, spend some time reformatting it and get a good
    >>> sheet to work with.
    >>>
    >>> The system is a timecard based manufacturer, so employees will list the
    >>> date, pieces made, pieces scrapped. My problem is counting the days
    >>> worked. The spreadsheet will show several listings for the same day:
    >>>
    >>> 10/10/03 x x
    >>> 10/10/03 x x
    >>> 10/11/03
    >>> etc
    >>>
    >>> I'd like to get a count for the actual number of days worked. If I just
    >>> count lines, I'm getting multiple lines for the same date because they
    >>> work on more than one type of piece each day. How can I get a count
    >>> where it will only count 10/10 once and then move on and give me an
    >>> actual number of days worked?
    >>>
    >>> Thanks in advance.
    >>>




+ 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