Hi All,
Wonder if you can help.
I've attached a sample worksheet showing roughly what I'm trying to achieve - I'm completely stumped.
Column B just shows an item code.
Column C shows the quantity
Column D is the rate for the item
Column E is where the formula that I need help with is.
If (In column E) it looks up the table and there is a whole number then just multiply rate x quantity. BUT, if the rate is a percentage then multiply by the percent.
I can only get it to multiply the whole number and not differentiate.
I've added a column (F) to show the answer that it should be.
Thanks all
(P.S. I'll probably be posting this in VBA Express too as I'm really hoping to have an answer before my team meeting tomorrow - Thanks again)
Hoopsah
Wonder if you can help.
I've attached a sample worksheet showing roughly what I'm trying to achieve - I'm completely stumped.
Column B just shows an item code.
Column C shows the quantity
Column D is the rate for the item
Column E is where the formula that I need help with is.
If (In column E) it looks up the table and there is a whole number then just multiply rate x quantity. BUT, if the rate is a percentage then multiply by the percent.
I can only get it to multiply the whole number and not differentiate.
I've added a column (F) to show the answer that it should be.
Thanks all
(P.S. I'll probably be posting this in VBA Express too as I'm really hoping to have an answer before my team meeting tomorrow - Thanks again)
Hoopsah
Item | Qty | Rate | Formula used in Col D | Extn | Formula used in Col D | Answer required | ||||||||
A.1 | £ 100.00 | 0.07 | VLOOKUP(C3,M:N,2,FALSE) | £ 7.00 | D3*E3 | £ 107.00 | A.1 | 7% | ||||||
A.2 | 5 | 329.23 | VLOOKUP(C4,M:N,2,FALSE) | £ 1,646.15 | D4*E4 | A.2 | £ 329.23 | |||||||
A.3 | 2 | 21.36 | VLOOKUP(C5,M:N,2,FALSE) | £ 42.72 | D5*E5 | A.3 | £ 21.36 | |||||||
A.4 | £ 230.00 | 0.20 | VLOOKUP(C6,M:N,2,FALSE) | £ 46.00 | D6*E6 | £ 276.00 | A.4 | 20% | ||||||
A.5 | £ 150.00 | 0.10 | VLOOKUP(C7,M:N,2,FALSE) | £ 15.00 | D7*E7 | £ 165.00 | A.5 | 10% | ||||||
A.6 | 3 | 25 | VLOOKUP(C8,M:N,2,FALSE) | £ 75.00 | D8*E8 | A.6 | £ 25.00 | |||||||
A.7 | 4 | 33 | VLOOKUP(C9,M:N,2,FALSE) | £ 132.00 | D9*E9 | A.7 | £ 33.00 | |||||||