Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default If/Count/Sum formula in Excel

A B C
1 20 1 1
2 20 1 1
3 20 1 0
4 40 1 1

Above is an example of the data I have. I want to check column A for a
value of 20, and then first COUNT the values to the right of 20 and second to
SUM the values to the right of 20. Basically want to look at attempts vs.
successes for this system. So in this example, at 20 there are 6 attempts
with 5 sucesses.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default If/Count/Sum formula in Excel

try this
=SUMPRODUCT((A1:A4=20)*(B1:C4<""))&" Attempts " &
SUMPRODUCT((A1:A4=20)*(B1:C4=1))&" Sucesses "

"Steve C." wrote:

A B C
1 20 1 1
2 20 1 1
3 20 1 0
4 40 1 1

Above is an example of the data I have. I want to check column A for a
value of 20, and then first COUNT the values to the right of 20 and second to
SUM the values to the right of 20. Basically want to look at attempts vs.
successes for this system. So in this example, at 20 there are 6 attempts
with 5 sucesses.

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
Excel Count Weekdays Formula Ziggy M Excel Discussion (Misc queries) 9 July 15th 06 01:03 AM
Excel Count Formula? Mrebisz3154 Excel Worksheet Functions 2 January 18th 06 05:15 PM
Formula to use to count instances of in Excel Bill Excel Worksheet Functions 5 December 22nd 05 02:46 PM
to How to use Excel formula to count the item annsmjarm Excel Discussion (Misc queries) 1 September 14th 05 12:35 PM
Excel Count Formula Ronil Patel Excel Worksheet Functions 3 December 6th 04 08:28 PM


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