Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Pro_D Mike
 
Posts: n/a
Default Count a value if next to another value...

I'm entering data in a chart, and want to pull stats off that chart. Most
entries are text, but two columns contain types and codes. Lets say the set
of types is A,B,C, etc.., and the set of codes is 1,2,3, etc... I want to
count to get percentages of rows containing type A that are code 1 over all
rows containing type A; rows containing type A that are code 2 over all rows
containing type A, etc. for type B and C; also rows containing code 1 over
all rows, etc. for code 2, code 3; Little help?
  #2   Report Post  
Richard Neville
 
Posts: n/a
Default

Without completely understanding your requirement, let me make this
suggestion: for Type A, set up a new column outside the print area. Let's
say that Type A is column D on the sheet and the new column is G. In the
first cell of G after the heading (G2), enter this formula: =IF(D2=1,1,0).
Drag the formula down the column. With the sum function, you can add all the
1s and 0s the formula will produce, and this will tell you the number of A's
that are coded 1. You can use the Count function to determine the number of
entries. Repeat the exercise for B and C, and for types 2 and 3. You can
then calculate the percentages.

"Pro_D Mike" <Pro_D wrote in message
...
I'm entering data in a chart, and want to pull stats off that chart. Most
entries are text, but two columns contain types and codes. Lets say the
set
of types is A,B,C, etc.., and the set of codes is 1,2,3, etc... I want to
count to get percentages of rows containing type A that are code 1 over
all
rows containing type A; rows containing type A that are code 2 over all
rows
containing type A, etc. for type B and C; also rows containing code 1 over
all rows, etc. for code 2, code 3; Little 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
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 8 May 18th 05 04:23 AM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 0 May 15th 05 08:14 PM
Match Last Occurrence of two numbers and Count to Previous Occurence Sam via OfficeKB.com Excel Worksheet Functions 33 April 4th 05 02:17 PM
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM


All times are GMT +1. The time now is 09:56 AM.

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"