Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 121
Default if or not if ???

hello all !!
i write just to ask if this...

=IF(A1=5;TRUE;FALSE)

is the same to this....

=(A1=5)

and the if function is useful just if i need result
different from true / false

tx !
paolo ita
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default if or not if ???

Hi,

If all you want to do is return TRUE/FALSE then =A1=5 is sufficient.

If you want a number you can use

=--(A1=5)

Which will return 1 or 0

--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"pls123" wrote:

hello all !!
i write just to ask if this...

=IF(A1=5;TRUE;FALSE)

is the same to this....

=(A1=5)

and the if function is useful just if i need result
different from true / false

tx !
paolo ita

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 121
Default if or not if ???


<<<<<<<<

ty mike !
<<<<<<<<





"Mike H" wrote:


Hi,

If all you want to do is return TRUE/FALSE then =A1=5 is sufficient.

If you want a number you can use

=--(A1=5)

Which will return 1 or 0

--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"pls123" wrote:

hello all !!
i write just to ask if this...

=IF(A1=5;TRUE;FALSE)

is the same to this....

=(A1=5)

and the if function is useful just if i need result
different from true / false

tx !
paolo ita

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"