Hi
the line wrap got a bit difficult, but i think i know what you're after
(maybe)
two options
=IF(B2="A",40%,IF(B2="B",35%,IF(B2="C",30%,0)))
this can then be used in a formula e.g.
=A2*IF(B2="A",40%,IF(B2="B",35%,IF(B2="C",30%,0)))
alternatively you can use the VLOOKUP function
(have a table somewhere which lists in the first column the letters and in
the second column the %)
e.g. (on sheet2)
......A.............B
1...Code.....Percent
2....A............40%
3.....B...........35%
4.....C...........30%
and then use the following formula
=VLOOKUP(B2,Sheet2!$A$2:$B$4,2,0)
again this can be embedded in a formula
=A2*VLOOKUP(B2,Sheet2!$A$2:$B$4,2,0)
---
there are other alternatives, but do either of these help you?
Cheers
JulieD
> Hi
> Hope this works.
[quoted text clipped - 98 lines]
>> >> >
>> >> > Thanks in advance.