Formula

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to create a formula. If discount code is A multiply by .5
if dsicount code is B multiply by .55 excetera
Any help would be appreciated
 
maybe something like this :

A1 = discount code
A2 = money value
=IF(A1="A";A2*0,5;IF(A1="B";A2*0,55;IF(A1="C";A2*0,6;A2*0,65)))

if you need more discount codes...just add them to the end of the line

Regards
B4M
 
I am trying to create a formula. If discount code is A multiply by .5
if discount code is B multiply by .55 etcetera

One way...

If an amount is in A1 and a letter is in B1, put this in C1:
=A1*LOOKUP(B1,{"A",0.5;"B",0.55;"C",0.88})
Adjust for your specific discount list.
 
hi!

in C1: =IF(B1="A",(A1*0.5),(A1*0.55))

where COL A having the amount
COL B having the discount code (either "A" or "B")

-via135
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Sum and Percentage Question... 2
Nested If-Then statement with number range. 3
Formula 1
How to write a formulae 2
Formula assistance 4
Formula help? 2
Formula help 2
Conditional Function 4

Back
Top