+ Reply to Thread
Results 1 to 5 of 5

Please Explain Formula

  1. #1
    Karen
    Guest

    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. #2
    Ron de Bruin
    Guest

    Re: Please Explain Formula

    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" <[email protected]> wrote in message news:[email protected]...
    > 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. #3
    JE McGimpsey
    Guest

    Re: Please Explain Formula

    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 <[email protected]>,
    "Karen" <[email protected]> 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. #4
    lewscannon
    Guest

    RE: Please Explain Formula

    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. #5
    bj
    Guest

    RE: Please Explain Formula

    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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1