Logical formatting for multiple values

D

Danielle

Hi there,
I am trying to write a logical formula for a spreadsheet and am running into problems. I can get as far as the IF formula for one true and one false. But I would love to get multiple scenarios worked into one cell.
For example, if A1 is X then make A10 Y or if A1 is A make A10 B or IF A1 is X AND A3 is Z then make A10 N.

So I guess I need to make 3 or 4 conditions for one cell.
 
C

Claus Busch

Hi Danielle,

Am Fri, 19 Oct 2012 08:23:46 -0700 (PDT) schrieb Danielle:
I am trying to write a logical formula for a spreadsheet and am running into problems. I can get as far as the IF formula for one true and one false. But I would love to get multiple scenarios worked into one cell.
For example, if A1 is X then make A10 Y or if A1 is A make A10 B or IF A1 is X AND A3 is Z then make A10 N.

in A10 try:
=IF(A3="",CHAR(CODE(A1)+1),CHAR(CODE(A1)+CODE(A3)-100))


Regards
Claus Busch
 

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