Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Calulating the number of days an employee works

I currently use the following formula below to caculate the number of days
worked by each emloyee

=SUMPRODUCT(('Employee Data'!$L$5:$L$260<"")/COUNTIF('Employee
Data'!$L$5:$L$260,'Employee Data'!$L$5:$L$260&""))

However this formulae was used when each employee information was seperated
in seperate sheets.

I need to add a string to this fomrula that calcualtes the number of
different days worked by each employee (all employee information is now
compiled in a single sheet

Hopefully this make s sense

Thanks

ce
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 695
Default Calulating the number of days an employee works

I ned to no where employeenames are (ges there names are in several rows)?
and u ned to have the names somwhere only onse to calcuate with


"Curtis" skrev:

I currently use the following formula below to caculate the number of days
worked by each emloyee

=SUMPRODUCT(('Employee Data'!$L$5:$L$260<"")/COUNTIF('Employee
Data'!$L$5:$L$260,'Employee Data'!$L$5:$L$260&""))

However this formulae was used when each employee information was seperated
in seperate sheets.

I need to add a string to this fomrula that calcualtes the number of
different days worked by each employee (all employee information is now
compiled in a single sheet

Hopefully this make s sense

Thanks

ce

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Calulating the number of days an employee works

Employee Names are located in the sheet and range

('Employee Data'!$J$5:$J$260=$A24)

Where $a24 = unique employee ID

"excelent" wrote:

I ned to no where employeenames are (ges there names are in several rows)?
and u ned to have the names somwhere only onse to calcuate with


"Curtis" skrev:

I currently use the following formula below to caculate the number of days
worked by each emloyee

=SUMPRODUCT(('Employee Data'!$L$5:$L$260<"")/COUNTIF('Employee
Data'!$L$5:$L$260,'Employee Data'!$L$5:$L$260&""))

However this formulae was used when each employee information was seperated
in seperate sheets.

I need to add a string to this fomrula that calcualtes the number of
different days worked by each employee (all employee information is now
compiled in a single sheet

Hopefully this make s sense

Thanks

ce

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 695
Default Calulating the number of days an employee works

OK put all employeenames in colum eg. N5:N? only onse
then put this formula in O5 and copy down for all employee i column N

=SUMPRODUCT(($J$5:$J$260=N5)*($L$5:$L$260))




"Curtis" skrev:

Employee Names are located in the sheet and range

('Employee Data'!$J$5:$J$260=$A24)

Where $a24 = unique employee ID

"excelent" wrote:

I ned to no where employeenames are (ges there names are in several rows)?
and u ned to have the names somwhere only onse to calcuate with


"Curtis" skrev:

I currently use the following formula below to caculate the number of days
worked by each emloyee

=SUMPRODUCT(('Employee Data'!$L$5:$L$260<"")/COUNTIF('Employee
Data'!$L$5:$L$260,'Employee Data'!$L$5:$L$260&""))

However this formulae was used when each employee information was seperated
in seperate sheets.

I need to add a string to this fomrula that calcualtes the number of
different days worked by each employee (all employee information is now
compiled in a single sheet

Hopefully this make s sense

Thanks

ce

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Calulating the number of days an employee works

Sorry I am not sure I provided enough detail

I need the formula to be able to distiguish between employee ID and
different days worked. AN employee can represent multiple instances of work
in the same day

SO far I have

SUMPRODUCT(('Employee Data'!$L$5:$L$260<"")/COUNTIF('Employee
Data'!$L$5:$L$260,'Employee Data'!$L$5:$L$260&""))


but that just tells me the nunber of different days in total and does not
seperate by employee

Thanks

ce

"excelent" wrote:

OK put all employeenames in colum eg. N5:N? only onse
then put this formula in O5 and copy down for all employee i column N

=SUMPRODUCT(($J$5:$J$260=N5)*($L$5:$L$260))




"Curtis" skrev:

Employee Names are located in the sheet and range

('Employee Data'!$J$5:$J$260=$A24)

Where $a24 = unique employee ID

"excelent" wrote:

I ned to no where employeenames are (ges there names are in several rows)?
and u ned to have the names somwhere only onse to calcuate with


"Curtis" skrev:

I currently use the following formula below to caculate the number of days
worked by each emloyee

=SUMPRODUCT(('Employee Data'!$L$5:$L$260<"")/COUNTIF('Employee
Data'!$L$5:$L$260,'Employee Data'!$L$5:$L$260&""))

However this formulae was used when each employee information was seperated
in seperate sheets.

I need to add a string to this fomrula that calcualtes the number of
different days worked by each employee (all employee information is now
compiled in a single sheet

Hopefully this make s sense

Thanks

ce



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 695
Default Calulating the number of days an employee works

ned more info
back after work later today


"Curtis" skrev:

Sorry I am not sure I provided enough detail

I need the formula to be able to distiguish between employee ID and
different days worked. AN employee can represent multiple instances of work
in the same day

SO far I have

SUMPRODUCT(('Employee Data'!$L$5:$L$260<"")/COUNTIF('Employee
Data'!$L$5:$L$260,'Employee Data'!$L$5:$L$260&""))


but that just tells me the nunber of different days in total and does not
seperate by employee

Thanks

ce

"excelent" wrote:

OK put all employeenames in colum eg. N5:N? only onse
then put this formula in O5 and copy down for all employee i column N

=SUMPRODUCT(($J$5:$J$260=N5)*($L$5:$L$260))




"Curtis" skrev:

Employee Names are located in the sheet and range

('Employee Data'!$J$5:$J$260=$A24)

Where $a24 = unique employee ID

"excelent" wrote:

I ned to no where employeenames are (ges there names are in several rows)?
and u ned to have the names somwhere only onse to calcuate with


"Curtis" skrev:

I currently use the following formula below to caculate the number of days
worked by each emloyee

=SUMPRODUCT(('Employee Data'!$L$5:$L$260<"")/COUNTIF('Employee
Data'!$L$5:$L$260,'Employee Data'!$L$5:$L$260&""))

However this formulae was used when each employee information was seperated
in seperate sheets.

I need to add a string to this fomrula that calcualtes the number of
different days worked by each employee (all employee information is now
compiled in a single sheet

Hopefully this make s sense

Thanks

ce

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Calulating the number of days an employee works

=SUMPRODUCT(($J$5:$J$12=A24)*($L$5:$L$12<"")/COUNTIF($L$5:$L$12,$L$5:$L$12&
""))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Curtis" wrote in message
...
Sorry I am not sure I provided enough detail

I need the formula to be able to distiguish between employee ID and
different days worked. AN employee can represent multiple instances of

work
in the same day

SO far I have

SUMPRODUCT(('Employee Data'!$L$5:$L$260<"")/COUNTIF('Employee
Data'!$L$5:$L$260,'Employee Data'!$L$5:$L$260&""))


but that just tells me the nunber of different days in total and does not
seperate by employee

Thanks

ce

"excelent" wrote:

OK put all employeenames in colum eg. N5:N? only onse
then put this formula in O5 and copy down for all employee i column N

=SUMPRODUCT(($J$5:$J$260=N5)*($L$5:$L$260))




"Curtis" skrev:

Employee Names are located in the sheet and range

('Employee Data'!$J$5:$J$260=$A24)

Where $a24 = unique employee ID

"excelent" wrote:

I ned to no where employeenames are (ges there names are in several

rows)?
and u ned to have the names somwhere only onse to calcuate with


"Curtis" skrev:

I currently use the following formula below to caculate the number

of days
worked by each emloyee

=SUMPRODUCT(('Employee Data'!$L$5:$L$260<"")/COUNTIF('Employee
Data'!$L$5:$L$260,'Employee Data'!$L$5:$L$260&""))

However this formulae was used when each employee information was

seperated
in seperate sheets.

I need to add a string to this fomrula that calcualtes the number

of
different days worked by each employee (all employee information

is now
compiled in a single sheet

Hopefully this make s sense

Thanks

ce



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
Desperately trying to build a paid time off accrual worksheet... cgautreau Excel Worksheet Functions 9 June 24th 09 10:29 AM
calculate number of days btw dates Nelson Excel Worksheet Functions 2 March 2nd 06 01:02 AM
Formula to calculate number of days & ignore blank cells Mifty Excel Discussion (Misc queries) 7 February 13th 06 10:36 PM
Calculating number of days between two dates that fall between two other dates [email protected] Excel Discussion (Misc queries) 5 October 26th 05 06:18 PM
A number of days into weeks and days Robert Christie Excel Worksheet Functions 4 August 31st 05 03:23 AM


All times are GMT +1. The time now is 07:53 PM.

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

About Us

"It's about Microsoft Excel"