LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 747
Default Counting Formula Needed

Assumed Table 1 is in range A1:A8

Table 2 is Range C1:D20

use help column next to Table 2 .
In cell E1 put this formula and drag it down
Array function use ctrl + shift + enter

=IF(ISERROR(MATCH(TRUE,EXACT(D1,$A$1:$A$8),0)),0,1 )

and now use

Assumed Table 3 is starts at Range A10
in Cell B10 put this formula

=SUMIF(C1:C20,A12,E1:E20)



On Feb 11, 12:46*am, carl wrote:
Table 1 has my list of Codes.

Table1
Code
ab
A0
B0
C3
C2
Dk
gk
35

Table 2 has my list of ID to Code Pairs

Table2 *
ID * * *Code
919 * * AB
919 * * AU
919 * * A0
919 * * c2
919 * * C3
919 * * G0
919 * * G1
919 * * GK
919 * * HL
919 * * I1
311 * * J1
311 * * J6
311 * * M0
311 * * M6
311 * * Q0
311 * * C2
311 * * W1
311 * * DK
311 * * QV
311 * * IX
311 * * 35

I am looking for a formula that will create Table 3 below - showing a count
for each ID, how many Codes are listed in Table 1. One of my issues is that
the Code can be upper and lower case - eg I could have codes AB, Ab, aB, and
ab - the formula in table 3 needs to differentiate and find an exact match.

Table3 *
ID * * *CodeCount
311 * * 2
919 * * 2

Thank you in advance


 
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
Excel formula to copy/paste formula needed please. colwyn Excel Discussion (Misc queries) 4 October 22nd 08 11:27 PM
Formula needed Seth Excel Discussion (Misc queries) 3 August 16th 08 07:17 PM
Formula needed - is this possible? Gary''s Student Excel Discussion (Misc queries) 0 March 28th 07 01:06 AM
Little more help needed for my IF formula Greg Excel Discussion (Misc queries) 4 February 28th 06 11:16 PM
Advice needed - counting tabs gjmink Excel Worksheet Functions 4 December 2nd 04 10:30 PM


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