+ Reply to Thread
Results 1 to 5 of 5

Understanding this formula

  1. #1
    Sal
    Guest

    Understanding this formula

    I always get muddled with quotation marks so can somebody please expalin this
    formula.

    =IF(F86>0,IF(E86="",F86*40*40*10,E86*40*10),0)
    Thank you very much.
    S

  2. #2
    Arvi Laanemets
    Guest

    Re: Understanding this formula

    Hi

    The returned value is:
    If F86>0 And E86="" Then F86*16000
    Else If F86>0 Then E86*4000
    Else 0

    Btw. you can simplify the formula
    =IF(F86>0,IF(E86="",40*F86,E86)*400,0)

    .... or
    =(F86>0)*IF(E86="",40*F86,E86)*400

    .... it depends on values in cells F86 and E86, maybe this formula will do
    too
    =IF(F86>0,MAX(40*F86,E86)*400),0)

    .... or even
    =(F86>0)*MAX(40*F86,E86)*400)


    Arvi Laanemets


    "Sal" <[email protected]> wrote in message
    news:[email protected]...
    > I always get muddled with quotation marks so can somebody please expalin

    this
    > formula.
    >
    > =IF(F86>0,IF(E86="",F86*40*40*10,E86*40*10),0)
    > Thank you very much.
    > S




  3. #3
    Sal
    Guest

    Re: Understanding this formula

    Hi
    Thank you for your very quick response - I will try the other options out.
    I still don't know where to "" marks fit into this formulas!
    Regards.
    Sal

    "Arvi Laanemets" wrote:

    > Hi
    >
    > The returned value is:
    > If F86>0 And E86="" Then F86*16000
    > Else If F86>0 Then E86*4000
    > Else 0
    >
    > Btw. you can simplify the formula
    > =IF(F86>0,IF(E86="",40*F86,E86)*400,0)
    >
    > .... or
    > =(F86>0)*IF(E86="",40*F86,E86)*400
    >
    > .... it depends on values in cells F86 and E86, maybe this formula will do
    > too
    > =IF(F86>0,MAX(40*F86,E86)*400),0)
    >
    > .... or even
    > =(F86>0)*MAX(40*F86,E86)*400)
    >
    >
    > Arvi Laanemets
    >
    >
    > "Sal" <[email protected]> wrote in message
    > news:[email protected]...
    > > I always get muddled with quotation marks so can somebody please expalin

    > this
    > > formula.
    > >
    > > =IF(F86>0,IF(E86="",F86*40*40*10,E86*40*10),0)
    > > Thank you very much.
    > > S

    >
    >
    >


  4. #4
    Alan
    Guest

    Re: Understanding this formula

    It means that if cell E86 is empty ("") then do something, if cell E86 is
    not empty then do something else, that is to say it's testing whether E86 is
    blank or not.
    Regards
    "Sal" <[email protected]> wrote in message
    news:[email protected]...
    > Hi
    > Thank you for your very quick response - I will try the other options out.
    > I still don't know where to "" marks fit into this formulas!
    > Regards.
    > Sal
    >
    > "Arvi Laanemets" wrote:
    >
    >> Hi
    >>
    >> The returned value is:
    >> If F86>0 And E86="" Then F86*16000
    >> Else If F86>0 Then E86*4000
    >> Else 0
    >>
    >> Btw. you can simplify the formula
    >> =IF(F86>0,IF(E86="",40*F86,E86)*400,0)
    >>
    >> .... or
    >> =(F86>0)*IF(E86="",40*F86,E86)*400
    >>
    >> .... it depends on values in cells F86 and E86, maybe this formula will
    >> do
    >> too
    >> =IF(F86>0,MAX(40*F86,E86)*400),0)
    >>
    >> .... or even
    >> =(F86>0)*MAX(40*F86,E86)*400)
    >>
    >>
    >> Arvi Laanemets
    >>
    >>
    >> "Sal" <[email protected]> wrote in message
    >> news:[email protected]...
    >> > I always get muddled with quotation marks so can somebody please
    >> > expalin

    >> this
    >> > formula.
    >> >
    >> > =IF(F86>0,IF(E86="",F86*40*40*10,E86*40*10),0)
    >> > Thank you very much.
    >> > S

    >>
    >>
    >>




  5. #5
    Sal
    Guest

    Re: Understanding this formula

    Thank you for that - much appreciated.
    Sal
    >-----Original Message-----
    >It means that if cell E86 is empty ("") then do

    something, if cell E86 is
    >not empty then do something else, that is to say it's

    testing whether E86 is
    >blank or not.
    >Regards
    >"Sal" <[email protected]> wrote in message
    >news:D42A9488-B09E-4D11-BF19-

    [email protected]...
    >> Hi
    >> Thank you for your very quick response - I will try

    the other options out.
    >> I still don't know where to "" marks fit into this

    formulas!
    >> Regards.
    >> Sal
    >>
    >> "Arvi Laanemets" wrote:
    >>
    >>> Hi
    >>>
    >>> The returned value is:
    >>> If F86>0 And E86="" Then F86*16000
    >>> Else If F86>0 Then E86*4000
    >>> Else 0
    >>>
    >>> Btw. you can simplify the formula
    >>> =IF(F86>0,IF(E86="",40*F86,E86)*400,0)
    >>>
    >>> .... or
    >>> =(F86>0)*IF(E86="",40*F86,E86)*400
    >>>
    >>> .... it depends on values in cells F86 and E86, maybe

    this formula will
    >>> do
    >>> too
    >>> =IF(F86>0,MAX(40*F86,E86)*400),0)
    >>>
    >>> .... or even
    >>> =(F86>0)*MAX(40*F86,E86)*400)
    >>>
    >>>
    >>> Arvi Laanemets
    >>>
    >>>
    >>> "Sal" <[email protected]> wrote in message
    >>> news:BFFDA756-594D-4DE2-B602-

    [email protected]...
    >>> > I always get muddled with quotation marks so can

    somebody please
    >>> > expalin
    >>> this
    >>> > formula.
    >>> >
    >>> > =IF(F86>0,IF(E86="",F86*40*40*10,E86*40*10),0)
    >>> > Thank you very much.
    >>> > S
    >>>
    >>>
    >>>

    >
    >
    >.
    >


+ 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