View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
j.jansson[_2_] j.jansson[_2_] is offline
external usenet poster
 
Posts: 4
Default IF - not equal to

Ok, i found the problem. The "0" were not a number, excel thought it was text
and when i added the " " around 0 I got the answer i was looking for.

/J

"Max" wrote:

Try it with "" wrapped around the X, ie:
=IF(A1<0;A1;IF(B1<0;B1;"X"))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"j.jansson" wrote:
Hello

I cant get an easy formula to work... I have A and B column and want C to
look as below

A B C
0 0 X
0 J J
J 0 J

I've tried =IF(A1<0;A1;IF(B1<0;B1;X)) but I just get 0:s in the C column.
What an I doing wrong? Can anyone help me?


/J.Jansson