using the if statement
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 5 of 5

Thread: using the if statement

  1. #1
    New Member
    Join Date
    Mar 2002
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    I need help when trying to figure out the the percentage for a certain cell. I need a formula that looks at a certain cell and if the number within that cell is more than 100 a discount is then given and the results displayed in a different cell can anyone help me.

  2. #2
    New Member
    Join Date
    Mar 2002
    Location
    Clearwater, FL
    Posts
    46
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Is the discount the same no matter what the number (as long as it's over 100)? or is it on a scale (like 100-110 gets one discount, 111-120 another, etc)?

  3. #3
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    81,833
    Post Thanks / Like
    Mentioned
    12 Post(s)
    Tagged
    1 Thread(s)

    Default

    On 2002-03-15 05:36, Silver wrote:
    I need help when trying to figure out the the percentage for a certain cell. I need a formula that looks at a certain cell and if the number within that cell is more than 100 a discount is then given and the results displayed in a different cell can anyone help me.

    =IF(A1>100),B1-(B1*2%),B1)

    entered in C1, looks at A1, at B1 where the price is by either computing a discount wrt the price or taking it as is.

    Aladin


  4. #4
    New Member
    Join Date
    Mar 2002
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    the discount remains the same

  5. #5
    New Member
    Join Date
    Mar 2002
    Location
    Clearwater, FL
    Posts
    46
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    That's better, Aladin, except that it won't show you what the original amount is, then the discount (if applicable), then the discounted amount. It might be important to know the original price and the discount in separate columns (but then again, maybe not). It's definitely more elegant than my solution (see other post).
    Cool!

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com