Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default count duplicats, display incremental count, restart count at changein value

I hope my subject was not too confusing. I have a sheet with values
like this in col A: Col B is currently blank but this is what I want
in it...

A B
apple 1
apple 2
orange 1
orange 2
orange 3
orange 4
pear 1
pear 2

Add and incremental counter for same values in column A - display
count. At change in value of A - restart count. I'm sure there is
something like this out there but not sure how to search for it and
was unable to find something that would help me.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default count duplicats, display incremental count, restart count atchange in value

Hi JEN,

Use this formula in Column B2, then paste B3 to as you like;

=IF(A2=A1,1+B1,1)

Just Put some Header in Column A1 as "FRUIT NAME" and B1 as "COUNT",
for the formula wont have a error.

Hope this will help,
~jaeson




On Aug 24, 1:19*pm, JenIT wrote:
I hope my subject was not too confusing. *I have a sheet with values
like this in col A: *Col B is currently blank but this is what I want
in it...

A * * * * * * * *B
apple * * * 1
apple * * * 2
orange * * 1
orange * * 2
orange * * 3
orange * * 4
pear * * * *1
pear * * * *2

Add and incremental counter for same values in column A - display
count. *At change in value of A - restart count. *I'm sure there is
something like this out there but not sure how to search for it and
was unable to find something that would help me.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default count duplicats, display incremental count, restart count atchange in value

Awesome!! Thanks Jaeson that did the trick and easy too!

Thanks to you and all the others who answer questions on this group.
I have gotten a lot of help from the experts in the group! Thanks for
a great resource!!!

Great day to all,
Jen
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
Restart row count each time the value in a specific column changes RC Excel Worksheet Functions 4 May 17th 23 03:44 AM
HOW TO RESTART COUNT FORMULA tgcali Excel Discussion (Misc queries) 3 April 21st 08 11:26 PM
HOW TO RESTART COUNT FORMULA akphidelt Excel Discussion (Misc queries) 0 April 21st 08 10:56 PM
Count Employee Work Time - Don't Double-count Overlapping Apts. J Excel Worksheet Functions 0 April 27th 07 05:52 AM
Excel Count characters in a textbox to display character count? [email protected] Excel Programming 1 February 8th 07 06:31 AM


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