#1   Report Post  
moglione1
 
Posts: n/a
Default Counif


Does anybody know if I can count the number of "STOPS" in one column fr
a particular day of the week in another column.

E.g. I want to count how many "STOPS" occur on a "MONDAY"


--
moglione1
------------------------------------------------------------------------
moglione1's Profile: http://www.excelforum.com/member.php...o&userid=26414
View this thread: http://www.excelforum.com/showthread...hreadid=470141

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=SUMPRODUCT(--(A2:A20="Monday"),--(B2:B20="STOPS"))

if the days are textual, i.e. not real dates. If they are real dates use

=SUMPRODUCT(--(Weekday(A2:A20)=2),--(B2:B20="STOPS"))

--
HTH

Bob Phillips

"moglione1" wrote
in message ...

Does anybody know if I can count the number of "STOPS" in one column fr
a particular day of the week in another column.

E.g. I want to count how many "STOPS" occur on a "MONDAY"


--
moglione1
------------------------------------------------------------------------
moglione1's Profile:

http://www.excelforum.com/member.php...o&userid=26414
View this thread: http://www.excelforum.com/showthread...hreadid=470141



  #3   Report Post  
KL
 
Posts: n/a
Default

assuming "STOPS" are in column [A] and days are in column [b] in text
format:

=SUMPRODUCT(--(A1:A100="STOP"),--(B1:B100="MONDAY"))

Regards,
KL


"moglione1" wrote
in message ...

Does anybody know if I can count the number of "STOPS" in one column fr
a particular day of the week in another column.

E.g. I want to count how many "STOPS" occur on a "MONDAY"


--
moglione1
------------------------------------------------------------------------
moglione1's Profile:
http://www.excelforum.com/member.php...o&userid=26414
View this thread: http://www.excelforum.com/showthread...hreadid=470141



  #4   Report Post  
moglione1
 
Posts: n/a
Default


This only produces a #num error.

AAAAAHHHHHHH!!!!!!!!!!!


--
moglione1
------------------------------------------------------------------------
moglione1's Profile: http://www.excelforum.com/member.php...o&userid=26414
View this thread: http://www.excelforum.com/showthread...hreadid=470141

  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

Sounds like you haven't implemented as shown.

Give some sample data and the formula you used.

--
HTH

Bob Phillips

"moglione1" wrote
in message ...

This only produces a #num error.

AAAAAHHHHHHH!!!!!!!!!!!


--
moglione1
------------------------------------------------------------------------
moglione1's Profile:

http://www.excelforum.com/member.php...o&userid=26414
View this thread: http://www.excelforum.com/showthread...hreadid=470141





  #6   Report Post  
Dave Peterson
 
Posts: n/a
Default

Do you have #num in your data?

Sometimes, it's good to show the formula you actually tried, too.

moglione1 wrote:

This only produces a #num error.

AAAAAHHHHHHH!!!!!!!!!!!

--
moglione1
------------------------------------------------------------------------
moglione1's Profile: http://www.excelforum.com/member.php...o&userid=26414
View this thread: http://www.excelforum.com/showthread...hreadid=470141


--

Dave Peterson
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
counif but not all the cells thanks Excel Worksheet Functions 2 July 29th 05 06:04 PM


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