cost calculation for salesa with variable transaction cost, different cost monthwise

nsimha

New Member
Joined
Mar 22, 2014
Messages
18
I am building a small summary sheet to workout costing for an item sold... Following is the summary

There are two type of equipment sold - Car and Bike in different quantities each month
There is a transaction cost per sale for every car & bike sold.. The transaction cost varies between months
There are three employees handling the sales and i have a small table showing allocation of cost of these three employees to every sale

I am able to determine (using vlookup) the total cost of an item sold based on quantity sold as long as the transaction cost and allocation cost has to be derived from only one month
I am unable to arrive at a formula that can be copied across cells.

I need a formula which will lookup a) item b) month & c) allocation together to determine cost for any item in any month.. ..

I have given below sample data for just two products and three employees.. The actual data that I work on consists of atleast 15 products and cost of 12 employees in various proportions to the 15 products.

can somebody help me ? I will be glad to provide any information you need

Fixed Cost
Emp costAprMayJunJulAugSepOctNovDecJan
peter800008800096800106480117128128840.8141724.9155897.4171487.1188635.8
thomas9000099000108900119790131769144945.9159440.5175384.5192923212215.3
jack6500071500786508651595166.5104683.2115151.5126666.6139333.3153266.6

<colgroup><col><col span="10"></colgroup><tbody>
</tbody>

<colgroup><col><col span="10"></colgroup><tbody>
</tbody>

Fixed Transaction cost / unit
AprMayJunJulAugSepOctNovDecJan
bike10111213141516171819
car12131415161718192021

<colgroup><col><col span="10"></colgroup><tbody>
</tbody>
Fixed Cost allocation
Typepeterthomasjack
bike80%10%40%
car20%90%60%

<colgroup><col><col span="3"></colgroup><tbody>
</tbody>

Item soldAugSep
Bike1020
Car2030
Bike cost99100109120 Can this be done by vlookup??
Car cost136240149990 Can this be done by vlookup??

<colgroup><col span="8"></colgroup><tbody>
</tbody>
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
I think a few things appear wrong, The 99100 & 109120 should (I think) be 76250 & 83985, you are using 80% 10% 40% in your calc, that = 130%!
Should prob be 61.5% 7.7% 30.8% = 100% (that is 80/130 etc). Also these figures are for Apr/May i assume (not Aug/Sep?).

Is this correct?
 
Upvote 0
In above your data starts in A1

Change the layout of "Fixed Cost Allocation" to

Fixed Cost allocation
Type bike car
peter
thomas
jack

Next to "Bike Cost" enter
=SUMPRODUCT(B3:B5,$B$14:$B$16)+(B9*B20)
Next to "Car Cost" enter
=SUMPRODUCT(B3:B5,$C$14:$C$16)+(B10*B21)

Drag both across columns
 
Upvote 0
Fantastic.. it worked... thank you

However is there a way to workout the same if the names and allocation are in different order.. that is can we validate the formula by adding a lookup or if statement to ensure that that the formula picks up thomas cost in column B3 and then multiplies with thomas allocation in B9

Emp costApr
peter80000
thomas90000
jack65000

<colgroup><col><col></colgroup><tbody>
</tbody>


Typebikecar
peter80%20%
jack40%60%
thomas10%90%

<colgroup><col><col span="2"></colgroup><tbody>
</tbody>


Thanks again

In above your data starts in A1

Change the layout of "Fixed Cost Allocation" to

Fixed Cost allocation
Type bike car
peter
thomas
jack

Next to "Bike Cost" enter
=SUMPRODUCT(B3:B5,$B$14:$B$16)+(B9*B20)
Next to "Car Cost" enter
=SUMPRODUCT(B3:B5,$C$14:$C$16)+(B10*B21)

Drag both across columns
 
Upvote 0

Forum statistics

Threads
1,216,725
Messages
6,132,348
Members
449,719
Latest member
excel4mac

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top