#1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 137
Default Count

Hello,
I have the following data (sample):

Code , Code Description, Charges , Counter
1 ABC $20.00
1 ABC $25.00
One code can appear several times with different charges. I want to add a
counter, so that i know how many times the code is repeating. Tried using
Count, Countif it didnt work. any suggestions?

Thanks,
S

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,345
Default Count

If you want a progressive count of the different codes try somehting like

=IF(COUNTIF($A$2:A2,A2)=0,"",COUNTIF($A$2:A2,A2)&" of Code "&A2)

and copy down on the fill handle.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Newbie" wrote in message
...
Hello,
I have the following data (sample):

Code , Code Description, Charges , Counter
1 ABC $20.00
1 ABC $25.00
One code can appear several times with different charges. I want to add a
counter, so that i know how many times the code is repeating. Tried using
Count, Countif it didnt work. any suggestions?

Thanks,
S




  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 137
Default Count

Thank you! It worked.

"Newbie" wrote:

Hello,
I have the following data (sample):

Code , Code Description, Charges , Counter
1 ABC $20.00
1 ABC $25.00
One code can appear several times with different charges. I want to add a
counter, so that i know how many times the code is repeating. Tried using
Count, Countif it didnt work. any suggestions?

Thanks,
S

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 Employee Work Time - Don't Count Duplicates J Excel Worksheet Functions 3 May 1st 07 10:47 PM
Count Employee Work Time - Don't Double-count Overlapping Apts. J Excel Worksheet Functions 0 April 27th 07 05:52 AM
Excel 2000, count, sort a list & count totals? sunslight Excel Worksheet Functions 1 April 9th 07 05:46 PM
Count Intervals of 1 Numeric value in a Row and Return Count down Column Sam via OfficeKB.com Excel Worksheet Functions 8 October 4th 05 04:37 PM
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


All times are GMT +1. The time now is 07:30 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"