+ Reply to Thread
Results 1 to 9 of 9

Logic using IF Statements with percentages

  1. #1
    Forum Contributor
    Join Date
    01-06-2015
    Location
    Huntsville, AL
    MS-Off Ver
    Office 365
    Posts
    185

    Logic using IF Statements with percentages

    I want to write logic into the formula for Column "D". I first want to be able to Put in a manual Increase if desired into Column "E". IF I don't wan to do that then I want to put in an Increase by Percentage in Column "C".
    After that I want to automatically increase Column "D" based on the logic written into "IF" statements. So it will look in Column "B" and increase Column "D" based off the ranges in the table
    I don't want to use a table, just "IF" Statements. I just can't figure out how Excel sees the percentages. Any help would be appreciated. Thanks,

    =IF(A2<5,5+E2,IF(E2>=0,E2+A2,IF(C2>=0*(C2+1)*A2,IF(B2>0<=25%,A2*1.05,IF(B2>25.0001%<50%,A2*1.1,IF(B2>50.0001%<100%,A2*1.15,IF(B2>100.0001<200%,A2*1.25,IF(B2>200.0001,A2*1.35,A2))))))))
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365
    Posts
    3,187

    Re: Logic using IF Statements with percentages

    Hi,
    you didnt explain what you want in columns C/D what does it manual increase.
    How did you get to the numbers in column G?

  3. #3
    Forum Contributor
    Join Date
    01-06-2015
    Location
    Huntsville, AL
    MS-Off Ver
    Office 365
    Posts
    185

    Re: Logic using IF Statements with percentages

    Columns C & D would be if I manually typed a number in. Column G are the correct numbers that I want the logic to return in Column D. So for instance Cell B5 equals 142%. Based off of the logic it should be taking the Value in Cell A5 and increasing it by 25% and that value is displayed in Cell D5.

  4. #4
    Forum Contributor
    Join Date
    01-06-2015
    Location
    Huntsville, AL
    MS-Off Ver
    Office 365
    Posts
    185

    Re: Logic using IF Statements with percentages

    I guess what I am asking is, how should I show the percentages in the IF statements? Should it be 25% or 0.25 or 0.25%

  5. #5
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365
    Posts
    3,187

    Re: Logic using IF Statements with percentages

    0.25 or 25% is the same...you can type 0.25 and format the same as %

  6. #6
    Forum Contributor
    Join Date
    01-06-2015
    Location
    Huntsville, AL
    MS-Off Ver
    Office 365
    Posts
    185

    Re: Logic using IF Statements with percentages

    No matter what I try the correct values do not return. I know I am doing something wrong in the logic but I don't have a clue what it is. Thanks,

  7. #7
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    Win10/MSO2016
    Posts
    12,971

    Re: Logic using IF Statements with percentages

    You are making several syntax errors. For instance, you can't say: IF(B2>0<=25%..., it's
    IF(AND(B2>0,B2<=25%)...
    You have: IF(C2>=0*(C2+1)*A2, 0*(C2+1)*A2 is always = zero so the IF gets False only if C2 is a negative value.
    Last edited by protonLeah; 10-09-2020 at 04:00 PM.
    Ben Van Johnson

  8. #8
    Forum Contributor
    Join Date
    01-06-2015
    Location
    Huntsville, AL
    MS-Off Ver
    Office 365
    Posts
    185

    Re: Logic using IF Statements with percentages

    protonLeah, Thanks for the reply but I'm not quite following you? I understand on the (IF(AND but not the IF(C2>=0*(C2+1)*A2, 0*(C2+1)*A2 is always = zero

  9. #9
    Forum Contributor
    Join Date
    01-06-2015
    Location
    Huntsville, AL
    MS-Off Ver
    Office 365
    Posts
    185

    Re: Logic using IF Statements with percentages

    I figured it out. Thanks,
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Need help with IF statements and LOGIC
    By bokergill@gmail.com in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-23-2013, 09:07 PM
  2. [SOLVED] adding percentages to IF statements
    By sammy011 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 12-24-2012, 08:07 PM
  3. [SOLVED] Help with ABS negative percentages and if statements ...
    By SauceCaptain in forum Excel General
    Replies: 4
    Last Post: 04-17-2012, 01:08 PM
  4. Logic Not Statements
    By graybush in forum Excel General
    Replies: 1
    Last Post: 09-27-2011, 12:03 PM
  5. Nested If statements / logic statements
    By Brainless_09 in forum Excel General
    Replies: 3
    Last Post: 06-17-2009, 02:59 PM
  6. IF Statements and Date Logic
    By FM1 in forum Excel General
    Replies: 4
    Last Post: 12-08-2008, 02:09 PM
  7. Excel Logic Statements
    By Leach in forum Excel General
    Replies: 2
    Last Post: 04-25-2006, 09:07 PM
  8. How do I sum percentages calculated from IF statements?
    By Rusty T in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-09-2005, 06:10 PM

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