Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
tdro
 
Posts: n/a
Default countif help for multiple criterias


I am try to set a formula to get a count based on two cells. Basically
the formula should read If column A = "Apples" and column D = "Oranges"
then count it. When I nest the formulas, it does not consirer both
conditions. As long as one condition matches, it counts it.

Any help would be much appreciated.


--
tdro
------------------------------------------------------------------------
tdro's Profile: http://www.msusenet.com/member.php?userid=2199
View this thread: http://www.msusenet.com/t-1870535240

  #2   Report Post  
RagDyeR
 
Posts: n/a
Default

Try this:

=SUMPRODUCT((A1:A100="Apples")*(D1:D100="Oranges") )
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"tdro" wrote in message
...

I am try to set a formula to get a count based on two cells. Basically
the formula should read If column A = "Apples" and column D = "Oranges"
then count it. When I nest the formulas, it does not consirer both
conditions. As long as one condition matches, it counts it.

Any help would be much appreciated.


--
tdro
------------------------------------------------------------------------
tdro's Profile: http://www.msusenet.com/member.php?userid=2199
View this thread: http://www.msusenet.com/t-1870535240


  #3   Report Post  
olasa
 
Posts: n/a
Default


Is this what you want? If not, give an example
=SUMPRODUCT((A1:A10="Apples")*(D1:D10="Oranges"))
Sums (A1="Apples)*(D1="Oranges)+(A2="Apples)*(D2="Orang es)+...
...which in this case is equal to Count.

HTH
Ola Sandström


--
olasa
------------------------------------------------------------------------
olasa's Profile: http://www.excelforum.com/member.php...o&userid=17760
View this thread: http://www.excelforum.com/showthread...hreadid=379031

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
COUNTIF COMBINATION?? Heather Excel Worksheet Functions 1 April 26th 05 02:44 AM
Combining IF and COUNTIF based on two columns maxtrixx Excel Discussion (Misc queries) 5 March 31st 05 06:21 PM
COUNTIF in one colum then COUNTIF in another...??? JonnieP Excel Worksheet Functions 3 February 22nd 05 02:55 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM
countif, again Liz G Excel Worksheet Functions 2 November 1st 04 11:20 PM


All times are GMT +1. The time now is 12:32 AM.

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"