Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Find number of unique entries within a date range

I have a report that I have created that obtains its information from another
worksheet. My data consist of projects, tasks, employees, hours, etc.
I currently have a formula that counts the number of resources (employees)
that have clocked time against a certain task on a certain project but it
only counts each employee once on each tasks.
My Data (Data!)
Column A - Employees (Resources)
Column B - Date Time Clocked
Column C - Hours
Column D - Project
Column I - Task

On my report I have this formula:
=COUNTDIFF(IF(Data!$D$2:$D$3288=$A$3,IF(Data!$I$2: $I$3288=$A11,
Data!$A$2:$A$3288)),,FALSE)
A3 and A11 on my report corresponds to the project and task within my data
columns D and I. This formula is working fine and doing what it is supposed
to so far. But I need to take it a step further. I need to know the number
of resources that have currently worked (within last 7 days from today) on a
particular project and task as well. I tried inserting an IF statement at
the beginning IF((Data!$B$2:$B$3288$A$1-7) with A1 being todays date but it
gives me an incorrect number.
Any help would be greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Find number of unique entries within a date range

It actually returns the answer FALSE. What I am wanting is if there are no
resources working on that project and task for it to return "0" not FALSE. I
tried replacing "0" in place of the word FALSE in the formula but the answer
stays the same?
Help.

"Gayla" wrote:

I have a report that I have created that obtains its information from another
worksheet. My data consist of projects, tasks, employees, hours, etc.
I currently have a formula that counts the number of resources (employees)
that have clocked time against a certain task on a certain project but it
only counts each employee once on each tasks.
My Data (Data!)
Column A - Employees (Resources)
Column B - Date Time Clocked
Column C - Hours
Column D - Project
Column I - Task

On my report I have this formula:
=COUNTDIFF(IF(Data!$D$2:$D$3288=$A$3,IF(Data!$I$2: $I$3288=$A11,
Data!$A$2:$A$3288)),,FALSE)
A3 and A11 on my report corresponds to the project and task within my data
columns D and I. This formula is working fine and doing what it is supposed
to so far. But I need to take it a step further. I need to know the number
of resources that have currently worked (within last 7 days from today) on a
particular project and task as well. I tried inserting an IF statement at
the beginning IF((Data!$B$2:$B$3288$A$1-7) with A1 being todays date but it
gives me an incorrect number.
Any help would be greatly appreciated.

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
"COUNTU" function in Excel to count unique entries in a range WayneL Excel Worksheet Functions 20 September 19th 08 03:50 AM
Increasing number of unique entries in the drop-down list Abas Ibrahimov Excel Discussion (Misc queries) 2 December 7th 06 12:54 PM
Count unique entries in data range kcsims Excel Worksheet Functions 2 December 1st 06 11:49 PM
How do I find total number workdays from a range of date faisalm Excel Worksheet Functions 3 July 4th 06 11:30 PM
Extracting unique entries and assigning it to a named range Hari Excel Discussion (Misc queries) 0 December 13th 05 06:29 AM


All times are GMT +1. The time now is 02:14 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"