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 / October 2007

Tip: Looking for answers? Try searching our database.

Subtotal group without resorting question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TiChNi - 26 Oct 2007 19:01 GMT
I have four columns the first with customer, the next with state, the
next with salesman and the next with sales amount.  The customer,
state and saleman will often repeat but not necessarily consecutively
(they are not sorted or grouped in any particular way).

I simply want to find total sales (1) by salesman, (2) by state and
(3) by customer.

I can do it manually by running multiple Sorts and creating a
different subtotal range after every sort, but would think there's an
easier way to do it.

Is there a lookup that is combined with a subtotal or some other
function to do this in one step instead of three or more?

Thanks for your help.
Alexander Wolff - 26 Oct 2007 19:10 GMT
Data Pivot-Table. Get into it. It is worth it, believe me!

Signature

Moin+Gruss Alexander - MVP for MS Excel - www.xxcl.de - mso2000sp3 --7-2

Pete_UK - 26 Oct 2007 20:05 GMT
Let's say your data occupies A2:D100, with headers on row 1. List your
salesmen, let's say in F2:F15, and put this formula in G2:

=SUMIF(A$2:A$100,F2,D$2:D$100)

format as currency, and copy down to G15 - there is your table of
sales by salesman. If you don't know how much data you have, you can
use column references for the first and 3rd parameter, like so:

=SUMIF(A:A,F2,D:D)

So, to obtain a breakdown by state, list your states in, say, I2
downwards, and put a similar formula in J2:

=SUMIF(A:A,J2,D:D)

and copy down as required.

Do you need me to spell it out for the customer table?

Hope this helps.

Pete

> I have four columns the first with customer, the next with state, the
> next with salesman and the next with sales amount.  The customer,
[quoted text clipped - 12 lines]
>
> Thanks for your help.
Pete_UK - 26 Oct 2007 20:51 GMT
Sorry, it should have been:

=SUMIF(A:A,I2,D:D)

for the formula in J2.

Hope this helps.

Pete

> Let's say your data occupies A2:D100, with headers on row 1. List your
> salesmen, let's say in F2:F15, and put this formula in G2:
[quoted text clipped - 38 lines]
>
> - Show quoted text -

Rate this thread:






 
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.