#1   Report Post  
Irv
 
Posts: n/a
Default Writing Formulas

How do I write a formula that counts the number of cells in columns "A" & "B"
that has the letter "C" (in row "A") and "NC" (in row "B")?

For example: Column "A" has a series of C's (Customers) and V's (Vendors)
and column "B" has P (Paid) or NP (Not Paid).
  #2   Report Post  
N Harkawat
 
Posts: n/a
Default

=sumproduct(--(a1:a5000="C"),--(b1:b5000)="NP")
will give the count of all customers and not paid combination

"Irv" wrote in message
...
How do I write a formula that counts the number of cells in columns "A" &
"B"
that has the letter "C" (in row "A") and "NC" (in row "B")?

For example: Column "A" has a series of C's (Customers) and V's (Vendors)
and column "B" has P (Paid) or NP (Not Paid).



  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

One way

=SUMPRODUCT(--(A2:A200="C"),--(B2:B200="NC"))


Regards,

Peo Sjoblom

"Irv" wrote:

How do I write a formula that counts the number of cells in columns "A" & "B"
that has the letter "C" (in row "A") and "NC" (in row "B")?

For example: Column "A" has a series of C's (Customers) and V's (Vendors)
and column "B" has P (Paid) or NP (Not Paid).

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
Formulas not working John Lovin Excel Discussion (Misc queries) 3 January 18th 05 10:50 PM
How to make Excel run limited number of formulas on a given worksh John Excel Discussion (Misc queries) 0 January 12th 05 04:29 PM
Way to make Excel only run certain formulas on a worksheet? jrusso Excel Discussion (Misc queries) 0 January 12th 05 04:23 PM
Formulas not working after transfering to new workbook Mark Jackson Excel Worksheet Functions 5 December 15th 04 06:17 PM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


All times are GMT +1. The time now is 10:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"