#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default countif for 2003

I am trying to write a countif formula using two criteria in seperate cells.
I realize excel 2007 has countifs formula that will allow you to use multiple
ranges and criteria for this but is there a way to do the same thing using
excel 2003?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default countif for 2003

Try this:

=SUMPRODUCT(--(A1:A10="x"),--(B1:B10="y"))

Using cells to hold the criteria:

D1 = x
E1 = y

=SUMPRODUCT(--(A1:A10=D1),--(B1:B10=E1))

--
Biff
Microsoft Excel MVP


"mbreter" wrote in message
...
I am trying to write a countif formula using two criteria in seperate
cells.
I realize excel 2007 has countifs formula that will allow you to use
multiple
ranges and criteria for this but is there a way to do the same thing using
excel 2003?



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
Multiple condition countif for excel 2003 goayimm Excel Worksheet Functions 5 May 30th 08 08:22 AM
excel 2003-countif statement confused2007 Excel Discussion (Misc queries) 4 September 19th 07 11:02 PM
COUNTIF for criteria in two separate columns (Excel 2003) Mimi Excel Worksheet Functions 5 January 11th 07 09:06 PM
COUNTIF Bug in Excel 2003 byundt Excel Worksheet Functions 5 July 22nd 05 03:51 PM
WHERE IS COUNTIF IN EXCEL 2003 Nimrod Excel Worksheet Functions 3 November 19th 04 02:46 AM


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