Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 168
Default countif formula

hello,
i want make COUNTIF formula with two Colums detail is as under.

1- ex: =COUNTIF( A1:A10=CAR & B1:B10=50)
2- ex: =COUNTIF(A1:A10 =10 & A1:A10 <=100)

Please help me.
Thanks/Tufail
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default countif formula

=SUMPRODUCT(--A1:A10="CAR"),--(B1:B10=10))

The second can be done with two COUNTIFs as it tests the same range

=COUNTIF(A1:A10,"=10")-COUNTIF(A1:A10,"100")

--
HTH

Bob Phillips

(replace somewhere in email address with googlemail if mailing direct)

"Tufail" wrote in message
...
hello,
i want make COUNTIF formula with two Colums detail is as under.

1- ex: =COUNTIF( A1:A10=CAR & B1:B10=50)
2- ex: =COUNTIF(A1:A10 =10 & A1:A10 <=100)

Please help me.
Thanks/Tufail



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 FORMULA ISSUES - NEED FORMULA CORRECTED Debbi Excel Worksheet Functions 2 November 18th 09 04:47 AM
Countif formula bel23 Excel Discussion (Misc queries) 2 September 17th 09 08:13 PM
CountIf formula results in the formula itself being displayed. NewKid Excel Worksheet Functions 9 December 21st 05 11:10 PM
using countif into a formula fuzzy Excel Programming 3 October 24th 05 01:11 PM
COUNTIF FORMULA Paul Bird Excel Programming 4 July 14th 03 09:14 PM


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