Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-02-2008, 03:57 PM
J.W. Aldridge
 
Posts: n/a
Sum based on like items in two list

In one column, I have who(name).
The next, item sold.
The last I have the sales amount.

a) What formula can i use to extract items that are unique to Name +
Items sold and break them out in a column?

b) How can I sum totals for the extracted criteria?


a. a. b
Name Item Sold Sales Amount <break> Name Total
Items Sold Sales Amount
Larry Juice Cups $5
Larry Juice Cups $10
Larry Juice Cups $5
Larry Pickles $5
Amy Pickles $5
Amy Pickles $5
Amy Juice Cups $5
Amy Juice Cups $5
Larry Pickels $5
Derron Juice Cups $20
Derron Juice Cups $5
Derron Juice Cups $5
Derron Juice Cups $5
Derron Juice Cups $5



Thanx
Reply With Quote
  #2 (permalink)  
Old 05-02-2008, 05:11 PM
Pete_UK
 
Posts: n/a
Re: Sum based on like items in two list

Copy the two columns Name and Item Sold including the header into a
new worksheet. Highlight the data plus headers then click on Data |
Filter | Advanced Filter - in the pop up select Unique Records only
together with Copy to Another Location - specify D1 as the Location,
then click OK. You should have your unique list (with headers) in
columns D and E, and you can delete columns A to C if you want to.

Then in the new C2 on sheet2 you can enter this formula to give you a
count of the items sold by each person:

=SUMPRODUCT((Sheet1!A$2:A$100=A2)*(Sheet1!B$2:B$10 0=B2))

and this formula in D2 will give you the sales amount:

=SUMPRODUCT((Sheet1!A$2:A$100=A2)*(Sheet1!B$2:B$10 0=B2)*(Sheet1!C$2:C
$100))

I've assumed you have up to 100 rows of data in Sheet1 - adjust
references to suit your situation. Copy the formula down to cover the
number of rows you are using in columns A and B.

Hope this helps.

Pete

On May 2, 3:57*pm, "J.W. Aldridge" <jeremy.w.aldri...@gmail.com>
wrote:
> In one column, I have who(name).
> The next, item sold.
> The last I have the sales amount.
>
> a) What formula can i use to extract items that are unique to Name +
> Items sold and break them out in a column?
>
> b) How can I sum totals for the extracted criteria?
>
> a. * * * * * * * *a. * * * * * * * * * * b
> Name * * *Item Sold * * Sales Amount * <break> * *Name ** *Total
> Items Sold * Sales Amount
> Larry * * * Juice Cups * * * * * *$5
> Larry * * * * * * *Juice Cups * * * *$10
> Larry * * * * *Juice Cups * * * * * *$5
> Larry * * * * * * *Pickles * * * * * * $5
> Amy * * * * * Pickles * * * * * * * * $5
> Amy * * * * * * * Pickles * * * * * *$5
> Amy * * * * * Juice Cups * * * * * *$5
> Amy * * * * * * * Juice Cups * * * $5
> Larry * * * * * Pickels * * * * * * * * $5
> Derron * * * * * *Juice Cups * * * $20
> Derron * * * * Juice Cups * * * * * $5
> Derron * * * * Juice Cups * * * * * $5
> Derron * * * * Juice Cups * * * * * $5
> Derron * * * * Juice Cups * * * * * $5
>
> Thanx


Reply With Quote
  #3 (permalink)  
Old 05-05-2008, 08:34 AM
Dave Mills
 
Posts: n/a
Re: Sum based on like items in two list

Look at Pivot Tables, they are designed to do this sort of thing.


On Fri, 2 May 2008 07:57:42 -0700 (PDT), "J.W. Aldridge"
<jeremy.w.aldridge@gmail.com> wrote:

>In one column, I have who(name).
>The next, item sold.
>The last I have the sales amount.
>
>a) What formula can i use to extract items that are unique to Name +
>Items sold and break them out in a column?
>
>b) How can I sum totals for the extracted criteria?
>
>
>a. a. b
>Name Item Sold Sales Amount <break> Name Total
>Items Sold Sales Amount
>Larry Juice Cups $5
>Larry Juice Cups $10
>Larry Juice Cups $5
>Larry Pickles $5
>Amy Pickles $5
>Amy Pickles $5
>Amy Juice Cups $5
>Amy Juice Cups $5
>Larry Pickels $5
>Derron Juice Cups $20
>Derron Juice Cups $5
>Derron Juice Cups $5
>Derron Juice Cups $5
>Derron Juice Cups $5
>
>
>
>Thanx

--
Dave Mills
There are 10 type of people, those that understand binary and those that don't.
Reply With Quote
  #4 (permalink)  
Old 05-05-2008, 11:10 AM
Ron Rosenfeld
 
Posts: n/a
Re: Sum based on like items in two list

On Fri, 2 May 2008 07:57:42 -0700 (PDT), "J.W. Aldridge"
<jeremy.w.aldridge@gmail.com> wrote:

>In one column, I have who(name).
>The next, item sold.
>The last I have the sales amount.
>
>a) What formula can i use to extract items that are unique to Name +
>Items sold and break them out in a column?
>
>b) How can I sum totals for the extracted criteria?
>
>
>a. a. b
>Name Item Sold Sales Amount <break> Name Total
>Items Sold Sales Amount
>Larry Juice Cups $5
>Larry Juice Cups $10
>Larry Juice Cups $5
>Larry Pickles $5
>Amy Pickles $5
>Amy Pickles $5
>Amy Juice Cups $5
>Amy Juice Cups $5
>Larry Pickels $5
>Derron Juice Cups $20
>Derron Juice Cups $5
>Derron Juice Cups $5
>Derron Juice Cups $5
>Derron Juice Cups $5
>
>
>
>Thanx


Select some cell in your table.

Data/Pivot Table (or in 2007-- Insert/Pivot table)

Drag Names to Rows
Items sold to Columns
Sales Amt to Data or Values
Choose or omit grand totals for rows or columns.

Pick one of the designs or formats.

Here's one with your data:

Sum of Sales Amount
Juice Pickles Totals
Amy 10 10 20
Derron 40 40
Larry 20 10 30
Totals 70 20 90

--ron
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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



All times are GMT. The time now is 05:06 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Child Trust Funds | Loans | Payday Loan | Bad Credit Mortgages | Secured Loans



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114