Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Count based on criteria from two different columns

Hello,

I am sure this is a simple formula but for the life of me I can not remember.

Here is my scenario:

Column C (c6:c70) contains the data "won" or "lost"
Column F (f6:f70) contains the data "4wd loaders" "backhoes", etc.

I need to count, in another column, how many backhoes were lost and so on.

Thanks,
Brandy
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Count based on criteria from two different columns

Try this:

=SUMPRODUCT(--(C6:C70="lost"),--(F6:F70="backhoes"))

Does that help?
Post back if you have more questions.
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"ba374" wrote in message
...
Hello,

I am sure this is a simple formula but for the life of me I can not
remember.

Here is my scenario:

Column C (c6:c70) contains the data "won" or "lost"
Column F (f6:f70) contains the data "4wd loaders" "backhoes", etc.

I need to count, in another column, how many backhoes were lost and so on.

Thanks,
Brandy



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default Count based on criteria from two different columns

Try this array formula (ctrl-shift-enter):

=COUNT((C6:C70="lost")*(F6:F70="backhoes"))


HTH,
JP

On Nov 13, 11:33 am, ba374 wrote:
Hello,

I am sure this is a simple formula but for the life of me I can not remember.

Here is my scenario:

Column C (c6:c70) contains the data "won" or "lost"
Column F (f6:f70) contains the data "4wd loaders" "backhoes", etc.

I need to count, in another column, how many backhoes were lost and so on.

Thanks,
Brandy



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
Count text cells based on two criteria aet999 Excel Worksheet Functions 9 May 2nd 09 03:20 AM
Count based on multiple criteria JerryS Excel Worksheet Functions 1 October 9th 07 06:37 PM
Need to count based on different criteria in two columns Adlin Excel Worksheet Functions 3 May 25th 07 08:05 PM
Count distinct based on criteria Sune Fibaek Excel Worksheet Functions 6 April 29th 07 01:34 AM
Count or Sum based on more than 1 criteria Andrew C Excel Worksheet Functions 1 December 29th 05 09:46 PM


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