#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Array Formula

Hi - I'm trying to set up an array formula that will count the number of
entries for each location that has a Time Notified ie: the result should be 2
for WACH, 0 for WIMU and 1 for WMIC. I am stumped - any help would be greatly
appreciated!

Location Time Called Time Notified TAT
WACH 05:00 05:40 0:40
WACH 07:00 07:20 0:20
WIMU 06:00
forumla to return "" or TAT
WMIC 06:00 08:20 2:20
--
I.M.Confused
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Array Formula

Try this:

=SUMPRODUCT(--(A2:A5="WACH"),--(ISNUMBER(C2:C5)))

Better to use cells to hold the criteria:

F2 = WACH

=SUMPRODUCT(--(A2:A5=F2),--(ISNUMBER(C2:C5)))



--
Biff
Microsoft Excel MVP


"Imconfused" wrote in message
...
Hi - I'm trying to set up an array formula that will count the number of
entries for each location that has a Time Notified ie: the result should
be 2
for WACH, 0 for WIMU and 1 for WMIC. I am stumped - any help would be
greatly
appreciated!

Location Time Called Time Notified TAT
WACH 05:00 05:40 0:40
WACH 07:00 07:20 0:20
WIMU 06:00
forumla to return "" or TAT
WMIC 06:00 08:20 2:20
--
I.M.Confused



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Array Formula

Thank you, Thank you, Thank you!
--
I.M.Confused


"T. Valko" wrote:

Try this:

=SUMPRODUCT(--(A2:A5="WACH"),--(ISNUMBER(C2:C5)))

Better to use cells to hold the criteria:

F2 = WACH

=SUMPRODUCT(--(A2:A5=F2),--(ISNUMBER(C2:C5)))



--
Biff
Microsoft Excel MVP


"Imconfused" wrote in message
...
Hi - I'm trying to set up an array formula that will count the number of
entries for each location that has a Time Notified ie: the result should
be 2
for WACH, 0 for WIMU and 1 for WMIC. I am stumped - any help would be
greatly
appreciated!

Location Time Called Time Notified TAT
WACH 05:00 05:40 0:40
WACH 07:00 07:20 0:20
WIMU 06:00
forumla to return "" or TAT
WMIC 06:00 08:20 2:20
--
I.M.Confused




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Array Formula

You're welcome!

--
Biff
Microsoft Excel MVP


"Imconfused" wrote in message
...
Thank you, Thank you, Thank you!
--
I.M.Confused


"T. Valko" wrote:

Try this:

=SUMPRODUCT(--(A2:A5="WACH"),--(ISNUMBER(C2:C5)))

Better to use cells to hold the criteria:

F2 = WACH

=SUMPRODUCT(--(A2:A5=F2),--(ISNUMBER(C2:C5)))



--
Biff
Microsoft Excel MVP


"Imconfused" wrote in message
...
Hi - I'm trying to set up an array formula that will count the number
of
entries for each location that has a Time Notified ie: the result
should
be 2
for WACH, 0 for WIMU and 1 for WMIC. I am stumped - any help would be
greatly
appreciated!

Location Time Called Time Notified TAT
WACH 05:00 05:40 0:40
WACH 07:00 07:20 0:20
WIMU 06:00
forumla to return "" or TAT
WMIC 06:00 08:20 2:20
--
I.M.Confused






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
meaning of : IF(Switch; Average(array A, array B); array A) DXAT Excel Worksheet Functions 1 October 24th 06 06:11 PM
Array Formula Brendan Vassallo Excel Discussion (Misc queries) 4 September 13th 06 02:25 AM
Array Formula sarah Excel Worksheet Functions 1 February 15th 06 05:52 AM
Array Formula - using LEFT("text",4) in formula Andrew L via OfficeKB.com Excel Worksheet Functions 2 August 1st 05 02:36 PM
array formula help Sarah Excel Worksheet Functions 4 December 2nd 04 01:35 AM


All times are GMT +1. The time now is 04:36 AM.

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"