#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Counting occurances

You're welcome. Thanks for the feedback!

SUMPRODUCT may be the 2nd most versatile function with IF being the most
versatile.

For everything you always wanted to know about SUMPRODUCT and didn't know
where to look:

http://xldynamic.com/source/xld.SUMPRODUCT.html

Biff

"LauriS" wrote in message
...
Biff,

THANKS!! That did the trick! I had never heard of the SUMPRODUCTS
function
- learned something new!

Lauri

"T. Valko" wrote:

Are the day of week headers TEXT strings?

If a person did not work on a particular day is that cell left empty?

Try this:

B1:AQ1 = day of week headers as TEXT strings: Monday, Tuesday, etc
B2:AQ2 = shift code if worked, otherwise empty

To count the number of Mondays worked:

=SUMPRODUCT(--(B1:AQ1="Monday"),--(B2:AQ2<""))

Biff




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 Occurances across a range of sheets [email protected] Excel Discussion (Misc queries) 8 April 3rd 07 02:51 PM
Counting repeated occurances Kannan UGS Excel Worksheet Functions 2 March 13th 07 02:30 PM
Counting Occurances Rusty Excel Discussion (Misc queries) 5 July 10th 06 08:29 PM
counting occurances SR89 Excel Worksheet Functions 6 June 28th 06 01:46 AM
Counting Date Occurances JerryBS Excel Worksheet Functions 1 March 6th 05 07:29 PM


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