Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jim
 
Posts: n/a
Default Summing some cells

In cell E1 I will type in Yes or No.

In D1 I would like to count the number of cells that have data in B1:B10,
but only when the Yes or No that is listed in C1:C10 is matched

Thanks for the help

  #2   Report Post  
Ragdyer
 
Posts: n/a
Default

Try this:

=SUMPRODUCT(--(C1:C10=E1),--(B1:B10<""))
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"Jim" wrote in message
...
In cell E1 I will type in Yes or No.

In D1 I would like to count the number of cells that have data in B1:B10,
but only when the Yes or No that is listed in C1:C10 is matched

Thanks for the help


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
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Summing non consecutive cells csfrolich Excel Discussion (Misc queries) 12 January 9th 05 03:53 PM
To safety merge cells without data destroyed, and smart unmerge! Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:17 AM
summing part of cells in a range excelFan Excel Discussion (Misc queries) 2 December 5th 04 12:33 PM
Summing cells in Excel marilena Excel Worksheet Functions 0 November 6th 04 11:55 PM


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