IF with OR and AND - the Sequal

M

MJSlattery

Thank you both for you contributions.

Neither of these formulas are working. What I get is the cell display
the formula that was typed in.


=IF(AND(EG3>0,OR(EK3>=8,EK3<=3)),E3,0)

=IF(AND(OR(EK3>=8,EK3<=3),EG3>0),E3,0)

I am on a MAC using OFFICE 2004. Is that my problem?

Thanks again,

Michae
 
M

macropod

Hi MJSlattery,

This sounds like you cell is formatted as text. When formatted that way,
anything you type into the cell is displayed as typed - even formulae. To
get the formula to work, change the cell's formatting (via
Format|Cells|Number) to whatever format you'd prefer (eg General, Number,
Date, etc) but not Text.

Then re-select your formula (not just the cell) and press <Enter>

Cheers
 
B

Bearacade

Why start another thread? hehe

My suggestion, throw that mac out of the window and get a PC ;
 
E

Elkar

I'm not familiar with Mac's, but it appears the problem may be that your cell
is formatted as text. Thus it displays your formula literally.

Change the format to General, then re-enter.

HTH,
Elkar
 
Top