+ Reply to Thread
Results 1 to 2 of 2

Conditional if statement

  1. #1
    Registered User
    Join Date
    02-08-2005
    Posts
    1

    Conditional if statement

    I am trying to create a worksheet that allows me to input a number into one cell and then in another cell it calculates and executes this formula.

    Lets say I type in cell B2 (54) or (80)
    I want cell C3 to be able to: if B2 > 77 add 30% else if B2 < 76 add 20. The new number in cell C3 should be 74 or 104.

    Can anyone help me with this?

    Theresa

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good afternoon

    This should do the trick:

    =IF(B2>77,B2*1.3,B2+20)

    HTH

+ 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