Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default counif with two conditions

range a1:a3 contains paid, paid, paid, outs, denied respectively
range b1:b3 contains 12, 15, 10, 3, 4

i want to count if it is paid and less than 14. so the result of my countif
should be 2. that is row 1 and 3. how will i do that?

--
rp


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default counif with two conditions

=SUMPRODUCT(--(A1:A3="paid"),--(B1:B3<14))

--

HTH

RP

"rp" wrote in message
...
range a1:a3 contains paid, paid, paid, outs, denied respectively
range b1:b3 contains 12, 15, 10, 3, 4

i want to count if it is paid and less than 14. so the result of my

countif
should be 2. that is row 1 and 3. how will i do that?

--
rp




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default counif with two conditions

it works!! exactly what i want. thanks!


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
Counif multiple condition Avadivelan TCS Excel Worksheet Functions 3 November 8th 06 05:16 AM
counif greater or less than Raza Excel Worksheet Functions 2 April 29th 06 09:02 PM
Counif moglione1 Excel Discussion (Misc queries) 5 September 23rd 05 01:47 PM
counif but not all the cells thanks Excel Worksheet Functions 2 July 29th 05 06:04 PM
Application.CounIf Manish Excel Programming 1 August 28th 03 07:39 AM


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