Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Trouble Counting how many times a Cell Value Occurs when Condition isin a Row and not a Column

Here's an example of the issue I am running to

A B C D
1 GolfA Birdie Par Bogey
2 GolfB Bogey Birdie Par
3 GolfA Par Bogey Birdie
4 GolfB Bogey Double Bogey Bogey

I can't seem to find the formula that will count how many times Birdie appears for GolfA in Column A
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,872
Default Trouble Counting how many times a Cell Value Occurs when Condition is in a Row and not a Column

Hi,

Am Fri, 25 Mar 2016 23:26:17 -0700 (PDT) schrieb Munster:

A B C D
1 GolfA Birdie Par Bogey
2 GolfB Bogey Birdie Par
3 GolfA Par Bogey Birdie
4 GolfB Bogey Double Bogey Bogey


try:

=SUMPRODUCT((A1:A10="GolfA")*((B1:B10="Birdie")+(C 1:C10="Birdie")+(D1:D10="Birdie")))


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Trouble Counting how many times a Cell Value Occurs whenCondition is in a Row and not a Column

On Saturday, March 26, 2016 at 2:26:30 AM UTC-4, Munster wrote:
Here's an example of the issue I am running to

A B C D
1 GolfA Birdie Par Bogey
2 GolfB Bogey Birdie Par
3 GolfA Par Bogey Birdie
4 GolfB Bogey Double Bogey Bogey

I can't seem to find the formula that will count how many times Birdie appears for GolfA in Column A




A similar approach would be:

=SUMPRODUCT(((A1:A4="GolfA")*(B1:D4="Birdie")))

Cheers
Mark
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
how to count the number of times text occurs based on condition Liv[_2_] Excel Discussion (Misc queries) 3 November 19th 09 04:38 PM
counting no. of times a character occurs in a cell hsg Excel Worksheet Functions 3 March 24th 09 06:49 PM
Counting number of times a value occurs da Excel Discussion (Misc queries) 6 September 9th 08 03:51 PM
Counting the number of times more than 1 variable occurs chrisdedobb Excel Discussion (Misc queries) 5 January 3rd 06 06:20 PM
Counting times a value occurs Jordan Excel Programming 1 May 6th 05 06:44 PM


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