Hello, benny3008
You could do it like this:
Use cell A1 for your 'A' or 'B' entry, then copy and paste this formula into cell B1 and then the B cell(s) will display your answer:
=IF(A1="","",IF(A1="A","£30",IF(A1="B","£40
","")))
You can continue this string as much as you like, but be sure to add as many ) at the end as you have ( throughout the string.
You can then copy the formula into cells B2, B3, B4 etc if you want by the usual dragging down method.
Regards
Peter Jameson