Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Karen
 
Posts: n/a
Default Please Explain Formula

Would someone please tell me what the "1" and the "0" mean in this function?
=IF(A25="x",1/$A$50,0)

Thank you
  #2   Report Post  
Ron de Bruin
 
Posts: n/a
Default

Hi Karin

=IF(logical_test,value_if_true,value_if_false)

If A25 = x then do this 1/$A$50 (1 divide thru a50)

If not display a 0


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Karen" wrote in message ...
Would someone please tell me what the "1" and the "0" mean in this function?
=IF(A25="x",1/$A$50,0)

Thank you



  #3   Report Post  
JE McGimpsey
 
Posts: n/a
Default

If the conditional (A25="x") is true, then 1/$A$50 will be returned by
the function (so if $A$50 = 5, the result will be 1/5 or 0.2). If the
conditional is false, 0 will be returned.

Since XL treats TRUE/FALSE as 1/0 in calculations, the IF statement is
functionally equivalent to

= 1/$A$50 * (A25="x")




In article ,
"Karen" wrote:

Would someone please tell me what the "1" and the "0" mean in this function?
=IF(A25="x",1/$A$50,0)

Thank you

  #4   Report Post  
lewscannon
 
Posts: n/a
Default

This is an if statement. If the contents of cell A25 = x, the "1" is being
divided by the contents of cell A50, and the results are returned to whatever
cell contains this formula. If the contents of cell A25 are anything else
than "x", a "0" is returned to that cell.

"Karen" wrote:

Would someone please tell me what the "1" and the "0" mean in this function?
=IF(A25="x",1/$A$50,0)

Thank you

  #5   Report Post  
bj
 
Posts: n/a
Default

in this formula if cell A25 has an "x" in it the cell iwth the equation will
equal 1 divided by the value in cell A50, if A25 does not have an "x" in it
the value will be 0

"Karen" wrote:

Would someone please tell me what the "1" and the "0" mean in this function?
=IF(A25="x",1/$A$50,0)

Thank you



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


Similar Threads
Thread Thread Starter Forum Replies Last Post
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


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

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

About Us

"It's about Microsoft Excel"