Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 26
Default Problem with IF function....

Hi, I am using a COUNT combined with 2 IF functions, as shown...

{=COUNT(IF(Apr07!$I$10:$I$1001=VALUE("1/4/2007"),IF(Apr07!$J$10:$J$1001="Danielle",Apr07!$I$ 10:$I$1001)))}

To give you the overview, it's a spreadsheet for time recording email advice at where I work. The advisor will fill in a received time, start time and response sent time (column I). Then there is column J which specifies the name of the advisor. I am counting the date and advisor to show how many emails each advisor has done.
Now this formula does work, but will not work when using the input format of 'dd/mm/yyyy hh:mm'. I'm assuming it's because the IF is just looking for dd/mm/yyyy. Is there anyway in which i can ask the IF to disregard the hh:mm part in column I?

Hope that makes sense, thanks in advance.

Neil
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Problem with IF function....

Use integers for date:

{=COUNT(IF(INT(Apr07!$I$10:$I$1001)=VALUE("1/4/2007"),IF(Apr07!$J$10:$J
$1001="Danielle",Apr07!$I$10:$I$1001)))}

Regards
--
Mladen
http://excelancije.bloger.hr


On Mar 26, 9:15 pm, neilcarden
wrote:
Hi, I am using a COUNT combined with 2 IF functions, as shown...

{=COUNT(IF(Apr07!$I$10:$I$1001=VALUE("1/4/2007"),IF(Apr07!$J$10:$J$1001="Da*nielle",Apr07!$I $10:$I$1001)))}

To give you the overview, it's a spreadsheet for time recording email
advice at where I work. The advisor will fill in a received time, start
time and response sent time (column I). Then there is column J which
specifies the name of the advisor. I am counting the date and advisor
to show how many emails each advisor has done.
Now this formula does work, but will not work when using the input
format of 'dd/mm/yyyy hh:mm'. I'm assuming it's because the IF is just
looking for dd/mm/yyyy. Is there anyway in which i can ask the IF to
disregard the hh:mm part in column I?

Hope that makes sense, thanks in advance.

Neil

--
neilcarden



  #3   Report Post  
Junior Member
 
Posts: 26
Default

Quote:
Originally Posted by Mladen_Dj View Post
Use integers for date:

{=COUNT(IF(INT(Apr07!$I$10:$I$1001)=VALUE("1/4/2007"),IF(Apr07!$J$10:$J
$1001="Danielle",Apr07!$I$10:$I$1001)))}

Regards
--
Mladen
http://excelancije.bloger.hr


On Mar 26, 9:15 pm, neilcarden
wrote:
Hi, I am using a COUNT combined with 2 IF functions, as shown...

{=COUNT(IF(Apr07!$I$10:$I$1001=VALUE("1/4/2007"),IF(Apr07!$J$10:$J$1001="Da*nielle",Apr07!$I $10:$I$1001)))}

To give you the overview, it's a spreadsheet for time recording email
advice at where I work. The advisor will fill in a received time, start
time and response sent time (column I). Then there is column J which
specifies the name of the advisor. I am counting the date and advisor
to show how many emails each advisor has done.
Now this formula does work, but will not work when using the input
format of 'dd/mm/yyyy hh:mm'. I'm assuming it's because the IF is just
looking for dd/mm/yyyy. Is there anyway in which i can ask the IF to
disregard the hh:mm part in column I?

Hope that makes sense, thanks in advance.

Neil

--
neilcarden

Thanks man!!! Much 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
Function problem Winnie Excel Discussion (Misc queries) 2 October 9th 06 01:31 PM
Problem with IF function [email protected] Excel Discussion (Misc queries) 5 January 19th 06 04:11 PM
Problem with IF function haitch2 Excel Worksheet Functions 3 October 10th 05 01:05 AM
Problem with the VALUE function Michael Excel Discussion (Misc queries) 9 September 23rd 05 10:22 PM
FV Function Problem TerryG Excel Worksheet Functions 3 June 13th 05 09:26 PM


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