Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default Count cell A1 only if cell B2 = Yes

Here is my current formula that counts each sale my reps make but now i need
to only count the sale only if cell B is "yes" and not count if cell b is
"No" I have tried IF formulas but i just cant get it worked out. Please help
Current Formula that counts my sales reps. =COUNTIF($A$19:$A$3703, A10)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Eva Eva is offline
external usenet poster
 
Posts: 197
Default Count cell A1 only if cell B2 = Yes

Try this
COUNTIF($A$19:$A$3703, "yes")

--
Click Yes if correct

"Frustrated" wrote:

Here is my current formula that counts each sale my reps make but now i need
to only count the sale only if cell B is "yes" and not count if cell b is
"No" I have tried IF formulas but i just cant get it worked out. Please help
Current Formula that counts my sales reps. =COUNTIF($A$19:$A$3703, A10)

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 136
Default Count cell A1 only if cell B2 = Yes

If a yes would always be a sale why not just count the yes in B instead? If
A can be blank and B yes use



=SUMPRODUCT(--($A$19:$A$3703<""),--($B$19:$B$3703="Yes"))


--


Regards,


Peo Sjoblom


"Frustrated" wrote in message
...
Here is my current formula that counts each sale my reps make but now i
need
to only count the sale only if cell B is "yes" and not count if cell b is
"No" I have tried IF formulas but i just cant get it worked out. Please
help
Current Formula that counts my sales reps. =COUNTIF($A$19:$A$3703, A10)



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
subtract one cell from each cell in a range and count instances tworrall Excel Worksheet Functions 2 October 15th 09 05:31 PM
count if the cell contains a word found in another cell Go Bucks!!![_2_] Excel Worksheet Functions 2 July 28th 09 02:41 PM
How to auto count data in an empty cell to be 0. Blank cell=0 Jagneel Excel Discussion (Misc queries) 5 December 13th 06 08:17 PM
Show Blank is cell value=0 but count as a zero in sum. How to format this cell ? Markus Obermayer Excel Discussion (Misc queries) 1 January 4th 05 08:01 PM
Show Blank is cell value=0 but count as a zero in sum. How to format this cell ? Markus Obermayer Excel Worksheet Functions 1 January 4th 05 08:01 PM


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