Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 116
Default Table

I am having difficulty analyzing data in table form: data on Sheet1
answer Sheet2
1 2 3
A B C D
1 | 4 0 0
2 | 0 8 0
3 | 0 4 4
4 | 0 0 0
5 | 0
Above deals with Sheet2
I have 4 - 8 - 4 as frequency using this formula
=COUNTIF(Sheet1!B2:H200,"1") for number 1 is 4 found in B2
=COUNTIF(Sheet1!B2:H200,"2") for number 2 is 8 found in C2

However, when I expand this formula to find matches such as
how many matches are there for 2 matching 1 should be "0" in
this case, I am stuck

=COUNTIF(Sheet1!B2:H200,"2")-COUNTIF(Sheet1!B2:H200,"1")-B2

This way I would know how compatable 1 is of 2 or how many times
this combination matches. Similarly 1 is of 5 etc.
1:1 2:2 3:3 etc. will always reflect frequency.
Thus creating a table of matches/compatable and frequency

Any help would be appreciated

 
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
Pivit table- cell on spread sheet referencing pivot table field David M Charts and Charting in Excel 2 August 18th 07 07:46 PM
entry removed from source table remains in pivot table pull down EL in Melb. Excel Worksheet Functions 1 September 6th 06 07:59 AM
PIVOT TABLE - Summary Table into a Databasae Table. sansk_23 Excel Worksheet Functions 4 May 9th 05 07:45 AM
VBA Code for a pivot table to open database and to reference table current page Pete Straman Straman via OfficeKB.com Excel Programming 0 February 21st 05 03:57 AM
create a source table from a special pasted value dynamic crossed table Tom Ogilvy Excel Programming 0 September 29th 03 08:59 PM


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