Assign column

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

Guest

Example two column X and Y
Assign A= S$500
B = S$1000
C = S$1500
If key A in column X, Y automatic display S$500
If key B in Column X, Y automatic discplay S$1000.............

Can the above be possible
 
=IF(X1="A","S$500",IF(X1="B","S$1000","S$1500"))

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
One way.

Enter this in Y1, and copy down as needed:

=LOOKUP(X1,{"A","B","C"},{"S$500","S$1000","S$1500"})

You can expand on this and add more values, if need be.
--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================
 

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

Back
Top