Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
anonymous person
 
Posts: n/a
Default 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   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

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   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

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   Report Post  
anonymous person
 
Posts: n/a
Default

thank you, I will try that out this afternoon.
"Aladin Akyurek" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting days and Configurations together Kevin M Excel Worksheet Functions 2 January 5th 05 07:11 PM
Subracting Dates to come up with the # of days between them KimberlyC Excel Worksheet Functions 8 December 20th 04 09:46 PM
Calculating Production/Man Days in Excel mpetersen Excel Discussion (Misc queries) 3 December 16th 04 02:41 PM
How to change (delivery) days and automatically the receive date in an other cell? Elboo Excel Worksheet Functions 5 November 22nd 04 02:44 PM
Help! I am stuck calculating Days, Hours, Mins please help OB1 Excel Worksheet Functions 3 November 15th 04 05:17 PM


All times are GMT +1. The time now is 01:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"