Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default COUNTIF formula Using 2 or more cells

Hi,

I am just exploring more with Excel. I am going to paste the table in and
explain what I am trying to acheive.
A B
1 31/04/2010 (month of reporting, Displayed as April, 2010)
2
3 12/04/2010 Vocational Assessment
4 15/03/2010 Vocational Assessment
5 01/04/2010 Vocational Re-Education

I am trying to Count how many Vocational Assessment have the Date in the
month of April.

Does anyone know the best formula to use. I have used
=SUMPRODUCT((A3:A5="31/03/2010")*(B3:B4="Vocational Assessment"))

This does calculate and count them however this would count 3 as the formula
is counting them as if they are single. I need it to count if it includes
Date in April and Vocational Assessment.

I hope I am making sense. please if anyone can help it would be uch
appreciated.

Sarah
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default COUNTIF formula Using 2 or more cells

Try the below


=SUMPRODUCT((TEXT(A3:A10,"mmmyyyy")="Apr2010")*
(B3:B10="Vocational Assessment"))

--
Jacob (MVP - Excel)


"SarahN" wrote:

Hi,

I am just exploring more with Excel. I am going to paste the table in and
explain what I am trying to acheive.
A B
1 31/04/2010 (month of reporting, Displayed as April, 2010)
2
3 12/04/2010 Vocational Assessment
4 15/03/2010 Vocational Assessment
5 01/04/2010 Vocational Re-Education

I am trying to Count how many Vocational Assessment have the Date in the
month of April.

Does anyone know the best formula to use. I have used
=SUMPRODUCT((A3:A5="31/03/2010")*(B3:B4="Vocational Assessment"))

This does calculate and count them however this would count 3 as the formula
is counting them as if they are single. I need it to count if it includes
Date in April and Vocational Assessment.

I hope I am making sense. please if anyone can help it would be uch
appreciated.

Sarah

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default COUNTIF formula Using 2 or more cells

Thankyou so much you are a star!! The formula worked perfectly and has saved
so much time.

STAR

"Jacob Skaria" wrote:

Try the below


=SUMPRODUCT((TEXT(A3:A10,"mmmyyyy")="Apr2010")*
(B3:B10="Vocational Assessment"))

--
Jacob (MVP - Excel)


"SarahN" wrote:

Hi,

I am just exploring more with Excel. I am going to paste the table in and
explain what I am trying to acheive.
A B
1 31/04/2010 (month of reporting, Displayed as April, 2010)
2
3 12/04/2010 Vocational Assessment
4 15/03/2010 Vocational Assessment
5 01/04/2010 Vocational Re-Education

I am trying to Count how many Vocational Assessment have the Date in the
month of April.

Does anyone know the best formula to use. I have used
=SUMPRODUCT((A3:A5="31/03/2010")*(B3:B4="Vocational Assessment"))

This does calculate and count them however this would count 3 as the formula
is counting them as if they are single. I need it to count if it includes
Date in April and Vocational Assessment.

I hope I am making sense. please if anyone can help it would be uch
appreciated.

Sarah

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
Using countif on non-consecutive cells Marty Excel Worksheet Functions 6 March 2nd 10 05:03 PM
countif formula using named cells teresa Excel Worksheet Functions 3 September 30th 09 08:40 PM
How can I 'CountIf' alternate cells? John Blackwell Excel Discussion (Misc queries) 2 September 11th 08 08:39 PM
How can I use the COUNTIF formula on a group of specific cells? 1day@atime Excel Discussion (Misc queries) 3 August 3rd 06 12:58 PM
How do I sum cells that have values from a countif formula? Cheri Excel Worksheet Functions 5 August 3rd 05 09:53 PM


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