+ Reply to Thread
Results 1 to 6 of 6

Help combine 2 formulas into 1

  1. #1
    Robert
    Guest

    Help combine 2 formulas into 1

    I am dumbfounded. Just could not do it to combine the following
    2 formulas in cols I and J into 1 formula in col J.
    Cell I5
    =IF(F5<0,(INT(F5/D5)*-D5),0)
    Cell J5
    =if( I5>E5,E5,I5)

    Thank you.
    RobertR

  2. #2
    JulieD
    Guest

    Re: Help combine 2 formulas into 1

    Hi Robert

    try
    =IF(IF(F5<0,(INT(F5/D5)*-D5),0)>E5,E5,IF(F5<0,(INT(F5/D5)*-D5),0))

    Cheers
    JulieD

    "Robert" <[email protected]> wrote in message
    news:[email protected]...
    >I am dumbfounded. Just could not do it to combine the following
    > 2 formulas in cols I and J into 1 formula in col J.
    > Cell I5
    > =IF(F5<0,(INT(F5/D5)*-D5),0)
    > Cell J5
    > =if( I5>E5,E5,I5)
    >
    > Thank you.
    > RobertR




  3. #3
    Myrna Larson
    Guest

    Re: Help combine 2 formulas into 1

    With nothing in I5 and this formula in J5:

    =MIN(E5,IF(F5<0,(INT(F5/D5)*-D5),0))


    On Thu, 31 Mar 2005 18:25:05 -0800, Robert <[email protected]>
    wrote:

    >I am dumbfounded. Just could not do it to combine the following
    >2 formulas in cols I and J into 1 formula in col J.
    >Cell I5
    >=IF(F5<0,(INT(F5/D5)*-D5),0)
    >Cell J5
    >=if( I5>E5,E5,I5)
    >
    >Thank you.
    >RobertR



  4. #4
    Robert
    Guest

    Re: Help combine 2 formulas into 1

    JulieD and Myrna, both your speedy solutions work.
    Thank you.

    RobertR



  5. #5
    JulieD
    Guest

    Re: Help combine 2 formulas into 1

    you're welcome and thanks for the feedback (hope you went with Myrna's it's
    an awful lot less typing than mine!)

    "Robert" <[email protected]> wrote in message
    news:[email protected]...
    > JulieD and Myrna, both your speedy solutions work.
    > Thank you.
    >
    > RobertR
    >
    >




  6. #6
    Robert
    Guest

    Re: Help combine 2 formulas into 1

    Yes Julie, I did that.
    Thanks.

    RobertR


+ 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