"IF" type formula

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

Guest

How do you create the formula for the following:

If cell X has a certain character (1,2,3,4,5,6) then I want cell Y to be
populated with a determiend value based on X (for example 1=20%, 2=40%,
5=75%).

THank you.
 
Using VLOOKUP is one way. For example:

=VLOOKUP(A1,{1,0.2;2,0.4;5,0.75},2,0)

HTH
Jason
Atlanta, GA
 

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

if statement with vlookup 1
VBA Formula Help 6
Excel Help with dates 2
New Formula (Burt) 9
Summary count from different worksheets? 4
Scrabble Value calculation for Welsh words 0
Formula 5
Additional formula 3

Back
Top