Percentage of cell cannot exceed 7% - excel

I have an excel file that uses formulas to calculate the percent of incentive generated. I have been asked to set up cell (G14) to never exceed 7% no matter what the values of cells C6,D6 and E11 are changed to. This is weird for me because the percentage should either go up or down depending on those values.
Can anyone help me figure out what can be done to lock this cell from exceeding 7%? hereĀ“s a link to the file http://1drv.ms/1El030y
Thanks

You just need to set a maximum value on it:
=min(0.07,F14+$F$11)

Use an IF() statement?
=IF(F14+$F$11>0.07,0.07,F14+$F$11)

Related

How to work out a % increase in value up to or above a range of numbers

Got a task to work out the value of some shares but only if the value is up to or between a certain amount.
The value in C2 can be between 0-25.
For Class B, I need a formula that represents 5% of the value in C2 but only up to 10.
For Class D, the formula needs to show the value of 2.5% but only when the value in C2 is between 10-25
Have no idea where to start, any help is much appreciated.
We try not to answer people's homework for them, but here are some hints for you to get you started:
Functions begin with =. That's what tells Excel to do a calculation.
Reference cells directly, so you could do something like =c2*0.05 in any cell to find 5% of the value in c2.
Use if to make things happen sometimes. So, if you want to only do something if c2 is over 10, use =if(c2>10, over_ten_answer, below_ten_answer) (over_ten_answer and below_ten_answer are just placeholders for bits of formula that you could use in those spots.)
Hopefully, that should be enough to get your going.
I would recommend looking into learning how to nest if statements if you're going to do a lot if this type of data manipulations. See below for a simple nested if formula to resolve
=IF(A1<26,IF(A1<11,A1*0.05,A1*0.025),0)
I have the value that you want the 2.5% or 5% of in cell A1 in the above. If the number is above 25, The formula that I have here will set it to 0(just replace the 0 at the end with whatever you want it to return).

How to run a formula until max or threshold value

I am searching for an answer to the question below.
I am creating individual-level life tables in excel and only need the formula to run until a max possible age of 100.
I am using the excel formula below. This, ($G7+I$6) represents age + time period. Stating the obvious, this is not the output value but rather a component of the formula.
=EXP((-$C$2^-1)*(EXP($C$3+($D7*$F$2)+($C7*$F$3)+($B7*$F$4)))*(EXP($C$2*($G7+I$6))-1))
Once again, I need the formula to run until ($G7+I$6) reaches 100. So the formula should stop once ($G7+I$6) reaches 100.
How do I do this?
Any advice would be appreciated.
Thanks in advance,
Jay
Why not wrap the entire formula in an IF Statement where =IF(($G7+I$6)>=100,Error Condition or let you know,EXP((-$C$2^-1)(EXP($C$3+($D7$F$2)+($C7*$F$3)+($B7*$F$4)))(EXP($C$2($G7+I$6))-1))
As above, the solution is this:
Excel formula: =IF(($G7+I$6)<=100,((EXP((-$C$2^-1)*(EXP($C$3+($D7*$F$2)+($C7*$F$3)+($B7*$F$4)))*(EXP($C$2*($G7+I$6))-1)))))

Excel Formula to Compare Cell to Range then Give Answer

I need a formula to compare one cell to a range and then depending on where the cell falls into the range, tell me how many more of something I need to get the original cell above the next highest number in the range. The range is only 4 numbers that are fixed.
Below is an image to hopefully help visualize what I want. Where it says "You will need at min x more Power..." is where I need the formula to go. I basically want the 'x' to be a number 1-4 depending on how the Power Pool: Available (W) number falls into the range under 15.4W/Port table in the lower left corner.
So right now you can see that I have 3 Switches and the Power Pool Available is only at 1275W. Looking at the table in the bottom left corner you can see that with 3 Switches that number needs to be at least 2328.48W.
Hope I've given enough info and I apologize if there is already an answer somewhere. Thanks in advance!
*Updated with Row and Column identifiers
*Update:
I know what I want in my head, I'm just having a hard time getting it out my fingertips!
Basically I want cell C24 to tell me how many more power supplies i need(either 0,1,2,3, or 4) based on where cell K21 falls into the range E28:E31.
I'm thinking what I might actually need is for line 24 to tell me how many more watts I need vs how many more power supplies. Because in real life, there are a few options of power supplies available.
I've tried a few IF statements but if I change it to how many more watts I need I might actually be able to figure it out.
So with that, since I'm currently using 3 Switches and according to my table at the bottom I would need 2328.48W of power to supply 15.4W of power to each port. Cell K21 is only at 1275W so I want cell C24 to tell me that I need 1053.48 more Watts of Power, at min.
Hope this helps! Thanks again!

Change cell format but not number size?

When cells are in percentage format, you may have one that is 5.97% and another 87.2%. When you change format to number you get 0.0597 and 0.872. Is there a way to change format to number but not scale? e.g 5.97% would go do 5.97? It seems simple but i can't find a way to do it in the same cell. Thanks for any help offered! :)
Edit: I know you can try things like LEFT(LEN()) or reformat and *100 but this becomes annoying if the cell values are produced by formulas.
Format - cell
In alignment untick wrap text
In number - custom type 0.00 then CTRL+j then % and you should be good!

Excel SUM\SUMIF based on cell number formatting

I have a row containing cells with different formatting
they look the following
85
32%
45
23%
11
5%
the result i need to achieve is to SUM only the number formatted cells (not the percentage ones) without any additional rows. No clue how to do it.
Thanks so much.
Asuumuing your data is in A1:A6
=SUMIF(A1:A6,">"&1)
Unfortunately this will only work if all numbers in range are positive, I've just tried this with a larger dataset and is excluded negative values - wish I could provide a better solution but I don't know one.

Resources