PC Review


Reply
Thread Tools Rate Thread

count duplicats, display incremental count, restart count at changein value

 
 
JenIT
Guest
Posts: n/a
 
      24th Aug 2010
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.
 
Reply With Quote
 
 
 
 
DCG-jaeson
Guest
Posts: n/a
 
      24th Aug 2010
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 <jen...@alliedstaffing.com> 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.


 
Reply With Quote
 
JenIT
Guest
Posts: n/a
 
      24th Aug 2010
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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Incremental Count in a query Ken Sheridan Microsoft Access Queries 0 24th Jan 2009 05:04 PM
RE: Incremental Count in a query KARL DEWEY Microsoft Access Queries 0 23rd Jan 2009 05:33 PM
Re: Count that will display the number for each record in the count increment. Sylvain Lafontaine Microsoft Access ADP SQL Server 0 12th Jul 2008 04:25 PM
Excel Count characters in a textbox to display character count? Shaka215@gmail.com Microsoft Excel Programming 1 8th Feb 2007 06:31 AM
how to get count(col1), count(col2), count(sol3) with only one query Mario Krsnic Microsoft Access Queries 2 27th Oct 2006 06:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:14 AM.