Hello All!
I am (and have been) hard at work redesigning the pre-payroll processing sheet for our small business. The workbook has one data entry table and then I am trying to squeeze as much analytical number crunching as possible out of as little human entry as possible. all of the payroll functions and commission pay structure work is done, but now I am trying to make a job profitability calculator.
Here is where you come in.
in order to do a reasonable approximation of the profitability of a job I need to have a decent sense of what parts were used on the Job. In the interest of keeping my data entry table clean and easy to use I don't want to fill it with a bunch of cells with product numbers in it. I want to use the comments section at the end of the row to indicate which parts were used in a text string. I.E Cap track, handle, lock, 9-364.
a function that can do that working reasonably well.
it is long, but here it is
=VLOOKUP(LEFT('Data Entry'!U5,FIND(",",'Data Entry'!U5)-1),Profitiability!U4:V44,2)+VLOOKUP(MID('Data Entry'!U5,2+FIND(",",'Data Entry'!U5,FIND(",",'Data Entry'!U5)),FIND(",",'Data Entry'!U5,2+FIND(",",'Data Entry'!U5,1))-FIND(",",'Data Entry'!U5,1)-2),Profitiability!U4:V49,2)
Evidently I spelled profitability wrong on the workbook, whoops
so this is pulling the text out of the comments section on the data entry page and then checking them against an array on the profitability sheet. I need this because my parts list might change at any time, as might the price.
where I am having trouble is Isolating numbers in that string and then using them as a multiplier. for instance if the text in the string is Cap track, 2 locks, 3 handles I want Formula to still be able to isolate the text part and Vlookup for the value of the Item mentioned in the string. then, however, I want it to multiply the Vlookuped value by the number that is to the left of the text in the string.
I feel like I am close to a solution here, I just need someone who knows more than me to help me over the ridge.
Most Everything I know about Excel beyond the basics has been learned in the course of this project. so if you can see a way to do what i am trying to do better I welcome your input.
Bookmarks