Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / February 2008

Tip: Looking for answers? Try searching our database.

Intricate dupe-macro question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
carl.w.bailey@gmail.com - 28 Feb 2008 20:08 GMT
I have 2 columns of data.  One column is an account #, the second
column is the amount spent in one transaction.  So I have dupes in
column A, values I wish to keep and tally in column B.

I would like to construct a macro that tallies the amount for each
account #, does anyone have any references or sites that could help me
get started with this?

Thanks Much!
Nick Hodge - 28 Feb 2008 22:31 GMT
Carl

You don't need a macro, just sort the data by Account# and then go to
Data>Subtotals... and apply the subtotals at the change in Account# and use
the Sum function on the Amounts.

Let us know if that works for you?

Signature

HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
nick_hodgeTAKETHISOUT@zen.co.ukANDTHIS
web: www.excelusergroup.org
web: www.nickhodge.co.uk

> I have 2 columns of data.  One column is an account #, the second
> column is the amount spent in one transaction.  So I have dupes in
[quoted text clipped - 5 lines]
>
> Thanks Much!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.