learning1984
New Member
- Joined
- Mar 2, 2016
- Messages
- 14
Hi all,
I'm going to try and explain this as well as I can.
I have a spread sheet with equipment in column J, sweet type in column H, damage in column O of our damage register.
in a separate sheet named Data, I have a list of all the equipment in column A and whether they fit into 1 of 2 costing areas, either stage one, or stage 2. (in column B) 26 in total.
for example the mixer fits into stage 1, the chopper fits into stage one, the filmer fits into stage 2, the tagger fits into stage 2.
I then have a list of all our products, and the cost per item, in either stage 1 or stage 2. these are in columns H, J and K in the data sheet. 21 in total
ie humbugs, at stage 1 cost £0.01, at stage 2 they cost £0.02
fruit salad at stage one cost £0.02 at stage 2 they cost £0.025
I need to calculate the cost of breakdowns. so if the mixer broke down and we had 500 damage on humbugs, I need to firstly associate the mixer to stage 1, and then calculate the cost of humbugs in stage one, by the amount of damage.
im struggling writing a formula to calculate, if the equipment matches any of the stage 1 equipment's or the stage 2, and if it matches a particular product then calculate either the stage 1 cost or the stage 2 cost by the damage figure.
even writing this im all over the place. many apologies.
any help is greatly appreciated.
my next step will be to turn this formula into VBA, so that I can click onto a particular line in the damage register, then click a button, and this will perform the calculation and bring up a message box with the cost for that line entry. obviously im getting ahead of myself when im struggling with the original formula
Thanks
I'm going to try and explain this as well as I can.
I have a spread sheet with equipment in column J, sweet type in column H, damage in column O of our damage register.
in a separate sheet named Data, I have a list of all the equipment in column A and whether they fit into 1 of 2 costing areas, either stage one, or stage 2. (in column B) 26 in total.
for example the mixer fits into stage 1, the chopper fits into stage one, the filmer fits into stage 2, the tagger fits into stage 2.
I then have a list of all our products, and the cost per item, in either stage 1 or stage 2. these are in columns H, J and K in the data sheet. 21 in total
ie humbugs, at stage 1 cost £0.01, at stage 2 they cost £0.02
fruit salad at stage one cost £0.02 at stage 2 they cost £0.025
I need to calculate the cost of breakdowns. so if the mixer broke down and we had 500 damage on humbugs, I need to firstly associate the mixer to stage 1, and then calculate the cost of humbugs in stage one, by the amount of damage.
im struggling writing a formula to calculate, if the equipment matches any of the stage 1 equipment's or the stage 2, and if it matches a particular product then calculate either the stage 1 cost or the stage 2 cost by the damage figure.
even writing this im all over the place. many apologies.
any help is greatly appreciated.
my next step will be to turn this formula into VBA, so that I can click onto a particular line in the damage register, then click a button, and this will perform the calculation and bring up a message box with the cost for that line entry. obviously im getting ahead of myself when im struggling with the original formula
Thanks