Nested IF problem

pbt

Well-known Member
Joined
Oct 18, 2005
Messages
1,613
With the below G7:G10 with two If's work fine. I'm trying to add a third IF in G6 which I will copy down but it is not giving me the required results.

What am I'm missing. I've searched and tried all kinds of formulas but can't get it to return the right results.


Excel 2010
ABCDEFGH
3
4
5DATENAMEHOURSRATE%AMOUNT
6JOB NAMEEMPLOYEE 18160.262295082128.00
7JOB NUMBEREMPLOYEE 28130.213114754104.00
8LABOR CODEEMPLOYEE 38110.18032786988.00
9BUDGET AMOUNTEMPLOYEE 48100.16393442680.00
10OVER TIME1.5EMPLOYEE 58110.18032786988.00
110
1261
Sheet1
Cell Formulas
RangeFormula
F6=E6/$E$12
F7=E7/$E$12
F8=E8/$E$12
F9=E9/$E$12
F10=E10/$E$12
F11=E11/$E$12
G6=IF($B$9<1,D6*E6,IF($B$9>1,$B$9*F6,IF(B10>0,B10*E6*D6,0)))
G7=IF($B$9<1,D7*E7,IF($B$9>1,$B$9*F7,D7*E7))
G8=IF($B$9<1,D8*E8,IF($B$9>1,$B$9*F8,D8*E8))
G9=IF($B$9<1,D9*E9,IF($B$9>1,$B$9*F9,D9*E9))
G10=IF($B$9<1,D10*E10,IF($B$9>1,$B$9*F10,D10*E10))
E12=SUM(E6:E11)
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
What are the expected results? Why is the reference in G6 to B10 not fixed (i.e. $B$10)?
 
Upvote 0

Forum statistics

Threads
1,215,218
Messages
6,123,676
Members
449,116
Latest member
HypnoFant

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top