+ Reply to Thread
Results 1 to 5 of 5

combining two if then statements

  1. #1
    Registered User
    Join Date
    04-15-2009
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    2

    combining two if then statements

    Hi,
    My head is spinning trying to put the following information into a single equation. I'd appreciate any help.

    if E12>I12 then I13=I12+(C13*0.5)
    AND
    if E12 [symbol for < or = to here] I12 then I13=E12+(C13*0.5)

    Thanks!

    eta: hope this is an appropriate title
    Last edited by wynsum; 04-16-2009 at 10:40 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: is there a formula?

    Welcome to the forum wynsum.

    Please take a few minutes to read the forum rules about thread titles (and in general), and then amend yours accordingly.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: combining two if then statements

    Hi Wynsum,

    I don't think you need to combine two IF statements, one seems to do fine with this problem. The false result of your first test E12>I12 would be the true result of your second test, so one IF will do.

    Just insert this formula in cell I13:

    Please Login or Register  to view this content.
    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  4. #4
    Registered User
    Join Date
    04-15-2009
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: combining two if then statements

    Quote Originally Posted by ConneXionLost View Post
    Hi Wynsum,

    I don't think you need to combine two IF statements, one seems to do fine with this problem. The false result of your first test E12>I12 would be the true result of your second test, so one IF will do.

    Just insert this formula in cell I13:

    Please Login or Register  to view this content.
    Cheers,
    Thanks so much for your help! This works perfectly.
    I don't know anything about IF statements or why you put in the series of I12, I12, E12. Would you happen to know of a resource where I can read about why it works?

  5. #5
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: combining two if then statements

    Hi Wynsum,

    Probably the easiest place is the Microsoft Excel Help feature. Just press the F1 key for it. In this circumstance, type in IF (in caps), enter, and select the description for the IF function.

    Cheers,

+ 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