Reply to topic  [ 6 posts ] 
Excel brain ache [SOLVED] 
Author Message
I haven't seen my friends in so long
User avatar

Joined: Fri Apr 24, 2009 6:06 pm
Posts: 6355
Location: IoW
Reply with quote
No doubt someone here will have an answer for this one..

I have a table with hundreds of customers in column A and their sales volumes per month in the adjoining 10 columns.

I have a second table with around 80 customers and their sales volume of a specific product stream in the adjoining 10 columns.

I want excel to show the sales volume for each customer listed in the second table minus the volume for the specific product stream.

I need to show this for Jan through Oct for each of the 80.

Does that make sense?

I thought I could do it with vlookup, but tied myself in a knot.

_________________
Before you judge a man, walk a mile in his shoes; after that, who cares?! He's a mile away and you've got his shoes!


Last edited by Spreadie on Thu Oct 21, 2010 1:15 pm, edited 1 time in total.



Thu Oct 21, 2010 10:48 am
Profile
Spends far too much time on here
User avatar

Joined: Thu Apr 23, 2009 6:44 pm
Posts: 4141
Location: Exeter
Reply with quote
Can you give us the specifics of the layouts, I'm not quite sure what you're wanting to remove from which other figure?

_________________
"The woman is a riddle inside a mystery wrapped in an enigma I've had sex with."


Thu Oct 21, 2010 10:51 am
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Fri Apr 24, 2009 6:06 pm
Posts: 6355
Location: IoW
Reply with quote
Sorry, work FW won't let me access photobucket to post a pic, and trying to post a table in here looks like hell.

The 80 customers in the second table are also listed in table one, but table one shows their overall sales.

I still want to show overall monthly sales in table one but, for those 80 customers I want to subtract the sales volumes in table two from the total sales for each month in table one.

_________________
Before you judge a man, walk a mile in his shoes; after that, who cares?! He's a mile away and you've got his shoes!


Thu Oct 21, 2010 11:30 am
Profile
Has a life

Joined: Thu Apr 23, 2009 7:21 pm
Posts: 91
Reply with quote
Assuming that there are 2 tabs (one for all sales and one for product sales) and that column A has the customer name and then columns b-k have the sales figures in both cases, I think the following formula would work..

=SUMIF(All!A2:A9, A3, All!B2:B9)-SUMIF(Product!A2:A9, A3, Prod_A!B2:B9)

Where column A on the new table also has the customer name. Change B to C-K for each month.

Hope this makes sense (and helps).


Thu Oct 21, 2010 11:34 am
Profile
I haven't seen my friends in so long
User avatar

Joined: Fri Apr 24, 2009 6:06 pm
Posts: 6355
Location: IoW
Reply with quote
Thanks Richard,

That works for the first few entries then fails for some reason, I'll have a play around with it.

[edit] just had to lock a few cell references and it worked fine. Thanks again

_________________
Before you judge a man, walk a mile in his shoes; after that, who cares?! He's a mile away and you've got his shoes!


Thu Oct 21, 2010 12:57 pm
Profile
I haven't seen my friends in so long
User avatar

Joined: Fri Apr 24, 2009 6:37 am
Posts: 6954
Location: Peebo
Reply with quote
I love it when a formula cones together.

_________________
When they put teeth in your mouth, they spoiled a perfectly good bum.
-Billy Connolly (to a heckler)


Thu Oct 21, 2010 11:29 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 35 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.