LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
DiamondDean
 
Posts: n/a
Default Counting Multiple Values In A Cell


I am trying to create a formula that will count multiple values in a
cell. For example if I have a spreadsheet that look something like
this:

Cell A4 = B _____Cell B4 = B_____Cell C4 = A, B_____Cell D4 = A
Cell A5 = A _____Cell B5 = A_____Cell C5 = B_______Cell D5 = A,B
Cell A6 = A _____Cell B6 = B_____Cell C6 = A_______Cell D6 = A
Cell A7 = C _____Cell B7 = A_____Cell C7 = A,C_____Cell D7 = C,B

Formula | =COUNTIF(A4:D7, "A") would return a value of 7

Instead I need a formula that would return the value 10 to include the
cells containing the letter "A".

Formula | =COUNTIF(A4:D7, "B") would return a value of 4

Instead I need a formula that would return the value 7 to include the
cells containing the letter "B".

Formula | =COUNTIF(A4:E7, "C") would return a value of 1

Instead I need a formula that would return the value 3 to include the
cells containing the letter "C".

Any ideas on how I can count the number of single or multiple values
within a cell?
Any suggestions are greatly appreciated. THANKS!

Dean


--
DiamondDean
------------------------------------------------------------------------
DiamondDean's Profile: http://www.excelforum.com/member.php...o&userid=26474
View this thread: http://www.excelforum.com/showthread...hreadid=397442

 
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
VLookup to sum cell values Zakynthos Excel Worksheet Functions 4 July 26th 05 12:05 PM
Cell values based upon multiple conditions Ryan M via OfficeKB.com New Users to Excel 2 July 19th 05 02:10 AM
Double-Clicking a cell for Multiple Options andym Excel Discussion (Misc queries) 1 February 24th 05 09:46 PM
Formula to compare multiple rows values based on another column? Murph Excel Worksheet Functions 4 February 21st 05 02:44 AM
Multiple X-Axis Values Rob Herrmann Charts and Charting in Excel 2 January 23rd 05 10:57 PM


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