You need to fix your formulas. Here it is with your data working correctly.
Note that this is the same formula as I posted earlier with two exceptions:
- The ROUND function has been removed
- The formula in Cell B5 is not identical to the rest of the formulas
Sheet6[TABLE="class: html-maker-worksheet"]
<thead>[TR]
[TH][/TH]
[TH]A[/TH]
[TH]B[/TH]
[/TR]
</thead><tbody>[TR]
[TH]1[/TH]
[TD]Salary[/TD]
[TD="align: right"]60,000[/TD]
[/TR]
[TR]
[TH]2[/TH]
[TD]Inc %[/TD]
[TD="align: right"]3.00%[/TD]
[/TR]
[TR]
[TH]3[/TH]
[TD]Begin Age[/TD]
[TD="align: right"]46[/TD]
[/TR]
[TR]
[TH]4[/TH]
[TD]End Age[/TD]
[TD="align: right"]51[/TD]
[/TR]
[TR]
[TH]5[/TH]
[TD="align: right"]44[/TD]
[TD="align: right"] 0 [/TD]
[/TR]
[TR]
[TH]6[/TH]
[TD="align: right"]45[/TD]
[TD="align: right"] 0 [/TD]
[/TR]
[TR]
[TH]7[/TH]
[TD="align: right"]46[/TD]
[TD="align: right"] 60,000 [/TD]
[/TR]
[TR]
[TH]8[/TH]
[TD="align: right"]47[/TD]
[TD="align: right"] 61,800 [/TD]
[/TR]
[TR]
[TH]9[/TH]
[TD="align: right"]48[/TD]
[TD="align: right"] 63,654 [/TD]
[/TR]
[TR]
[TH]10[/TH]
[TD="align: right"]49[/TD]
[TD="align: right"] 65,564 [/TD]
[/TR]
[TR]
[TH]11[/TH]
[TD="align: right"]50[/TD]
[TD="align: right"] 67,531 [/TD]
[/TR]
[TR]
[TH]12[/TH]
[TD="align: right"]51[/TD]
[TD="align: right"] 69,556 [/TD]
[/TR]
[TR]
[TH]13[/TH]
[TD="align: right"]52[/TD]
[TD="align: right"] 0 [/TD]
[/TR]
[TR]
[TH]14[/TH]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TH]15[/TH]
[TD]--------------[/TD]
[TD]--------------[/TD]
[/TR]
</tbody>[/TABLE]
Excel 2010
Cell | Formula |
---|
B5 | =IF(OR(A5<$B$3,A5>$B$4),0,IF(A5=$B$3,$B$1,0)) |
---|
B6 | =IF(OR(A6<$B$3,A6>$B$4),0,IF(A6=$B$3,$B$1,B5*(1+$B$2))) |
---|
B7 | =IF(OR(A7<$B$3,A7>$B$4),0,IF(A7=$B$3,$B$1,B6*(1+$B$2))) |
---|
B8 | =IF(OR(A8<$B$3,A8>$B$4),0,IF(A8=$B$3,$B$1,B7*(1+$B$2))) |
---|
B9 | =IF(OR(A9<$B$3,A9>$B$4),0,IF(A9=$B$3,$B$1,B8*(1+$B$2))) |
---|
B10 | =IF(OR(A10<$B$3,A10>$B$4),0,IF(A10=$B$3,$B$1,B9*(1+$B$2))) |
---|
B11 | =IF(OR(A11<$B$3,A11>$B$4),0,IF(A11=$B$3,$B$1,B10*(1+$B$2))) |
---|
B12 | =IF(OR(A12<$B$3,A12>$B$4),0,IF(A12=$B$3,$B$1,B11*(1+$B$2))) |
---|
B13 | =IF(OR(A13<$B$3,A13>$B$4),0,IF(A13=$B$3,$B$1,B12*(1+$B$2))) |
---|
<tbody>
[TD="bgcolor: #FFFFFF"]
Worksheet Formulas
[TABLE="class: html-maker-worksheet"]
<thead>[TR]
</thead><tbody>
</tbody>
[/TD]
[/TR]
</tbody>[/TABLE]