#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Countif problem

I am using the formula below to find the letter D in a sheet.
I would like to also look for Dc as well in the same sheet.
Can this formula be easily modified?
Thanks
Jim



=COUNTIF(E3:AP148,"D")


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Countif problem

=COUNTIF(E3:AP148,"D") + COUNTIF(E3:AP148,"Dc")

or

=sum(COUNTIF(E3:AP148,{"D","DC"}))

Jim wrote:

I am using the formula below to find the letter D in a sheet.
I would like to also look for Dc as well in the same sheet.
Can this formula be easily modified?
Thanks
Jim

=COUNTIF(E3:AP148,"D")


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Countif problem

Hello Dave,
Many thanks, both work fine.
Regards
Jim


"Dave Peterson" wrote in message
...
=COUNTIF(E3:AP148,"D") + COUNTIF(E3:AP148,"Dc")

or

=sum(COUNTIF(E3:AP148,{"D","DC"}))

Jim wrote:

I am using the formula below to find the letter D in a sheet.
I would like to also look for Dc as well in the same sheet.
Can this formula be easily modified?
Thanks
Jim

=COUNTIF(E3:AP148,"D")


--

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
Problem with COUNTIF ... Mac Excel Worksheet Functions 1 November 6th 07 09:50 AM
Countif Problem Mark W Excel Worksheet Functions 2 April 21st 06 08:39 PM
countif problem. psion New Users to Excel 2 October 6th 05 01:21 AM
countif problem SLKPM Excel Worksheet Functions 2 September 29th 05 08:08 PM
CountIF problem jjj Excel Discussion (Misc queries) 2 September 29th 05 10:34 AM


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