3 different discounts help !

T

tommytowbar

i have 3 different discounts eg

company x =40%
company y =50%
company z =60%

if i put x in a cell it will take 40% of the price
if i put z in the same cell it put 60% off

i had a go with IF but i can only use 2 different x or y not all of
them


Andy Notton :(
 
G

George Nicholson

Put your discounts in a separate table and use Vlookup to 'pull' the correct
discount value.

Hey, you *know* there will be more than 3 someday soon, and this way you
only need to make an addition to the table.
Not to mention that changing existing discount rates couldn't be simpler.

HTH,
--
George Nicholson

Remove 'Junk' from return address.


"tommytowbar" <[email protected]>
wrote in message
news:[email protected]...
 
R

Random Poster

excellent work !

thanks for that

no more sleepless nights :cool:



I'll echo George's previous comments. Maintaining the discounts in a
separate table is the way to go.

There are a few ways to get the needed discount from the table. I prefer
INDEX & MATCH, VLOOKUP is also popular.


-RP
 

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

Top