Hi,
I would like Column A to be counted for all it entries - then result as below -
Column A Column B Column C
g123 g123 3
r467 r467 2
e896 e896 1
g123
g123
r456
Cheers
Hi,
I would like Column A to be counted for all it entries - then result as below -
Column A Column B Column C
g123 g123 3
r467 r467 2
e896 e896 1
g123
g123
r456
Cheers
In D2 put:
=COUNTIF($A$2:$A$18,$C2)
Then copy down to the other cells in column D
Excel is a constant learning process and it's great to help each other. If any of us have helped you today, a click on the "reputation" star on the left is appreciated.
Hi,
Thank you for your reply, it does the job but I would like the column C to be generated as well - this would correspond with the numbers in column D,
Cheers
Try this:
Excel 2016 (Windows) 32 bit
A B C D E F G 1Item No Results 2k123 k123 6 3n234 l345 2 Total 17 4l345 n234 1 5t456 t456 4 6y456 y456 4 7k123 8y456 9t456 10k123 11k123 12y456 13k123 14l345 15k123 16t456 17y456 18t456
Sheet: Sheet1
Excel 2016 (Windows) 32 bit
A B C D E F G 1Item No Results 2k123 =IFERROR(INDEX($A$2:$A$30,MATCH(0,COUNTIF($A$2:$A$30,"<"&$A$2:$A$30)-SUM(COUNTIF($A$2:$A$30,$C$1:C1)),0)),"") =IF($C2="","",(COUNTIF($A$2:$A$18,$C2))) 3n234 =SUM(D:D)
Sheet: Sheet1
The formula in column C is an array formula: confirm it with CTRL+SHIFT+ENTER, not just ENTER. Do not type the curly brackets (braces) {} yourself - they will be added for you when you confirm the formula.
Last edited by AliGW; 08-14-2016 at 01:19 PM.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Or a simple pivot table will work also.
Willem
English is not my native language sorry for errors
Please correct me if I'm completely wrong
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks