Nov 6, 2004 #1 wdbouk Technical User May 28, 2003 81 CA Hi all, I will start with an example: I have a column A consisting of ID numbers . I want to count the number of times each ID number is mentioned. For example ID ABC ABC XYZ a123 a123 a123 then ABC should =2,XYZ=1,a123=3. Any help of how to do it? thx
Hi all, I will start with an example: I have a column A consisting of ID numbers . I want to count the number of times each ID number is mentioned. For example ID ABC ABC XYZ a123 a123 a123 then ABC should =2,XYZ=1,a123=3. Any help of how to do it? thx
Nov 6, 2004 #2 Golom Programmer Sep 1, 2003 5,595 CA Try this Code: Select ID, Count(*) As [NumberOfIDs] From tbl GROUP BY ID Upvote 0 Downvote
Nov 6, 2004 Thread starter #3 wdbouk Technical User May 28, 2003 81 CA It works thx Upvote 0 Downvote