Multiple if statement formulas

PJNOLS67

New Member
Joined
Dec 5, 2017
Messages
1
I'm using this formula: =IF(D10>29,$D$3,IF(16<d10<29,$d$4,if(d10<16,$d$5)))

For the 1st and 3rd 'IF' logic statements, the result is returned correctly. When the second logic statement is met, the result is 'False'. The table shows what I'm trying to do:

[TABLE="width: 488"]
<tbody>[TR]
[TD="colspan: 2"][TABLE="width: 488"]
<tbody>[TR]
[TD="colspan: 2"]DISTRIBUTION CRITERIA[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Weekly hours[/TD]
[TD]$ /Yrs of Service[/TD]
[/TR]
[TR]
[TD]Full Time (FT)[/TD]
[TD]FT (D3)[/TD]
[TD]>30[/TD]
[TD] $ 300.00[/TD]
[/TR]
[TR]
[TD]Part-time 1[/TD]
[TD]PT-1 (D4)[/TD]
[TD]16-29[/TD]
[TD] $ 200.00[/TD]
[/TR]
[TR]
[TD]Part-time 2[/TD]
[TD]PT-2 (D5)[/TD]
[TD]1-15[/TD]
[TD] $ 100.00[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 2"]INDIVIDUAL DISTRIBUTIONS[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Staff Member[/TD]
[TD]Hours worked/Wk[/TD]
[TD]FT or PT[/TD]
[TD]Gift Level[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]40[/TD]
[TD]FT[/TD]
[TD]300[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]40[/TD]
[TD]FT[/TD]
[TD]300[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]40[/TD]
[TD]FT[/TD]
[TD]300[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]40[/TD]
[TD]FT[/TD]
[TD]300[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]40[/TD]
[TD]FT[/TD]
[TD]300[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]40[/TD]
[TD]FT[/TD]
[TD]300[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]40[/TD]
[TD]FT[/TD]
[TD]300[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]15[/TD]
[TD]PT-2[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]5[/TD]
[TD]PT-2[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]D10[/TD]
[TD]20[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]20[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]10[/TD]
[TD]PT-2[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]10[/TD]
[TD]PT-2[/TD]
[TD]100[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Can anybody tell me what I'm doing wrong?

Thanks![/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 2"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

</d10<29,$d$4,if(d10<16,$d$5)))
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
I'm using this formula: =IF(D10>29,$D$3,IF(16

Hi, welcome to the forum!

The board software thought part of your formula was HTML and decided to try and parse it. One way to avoid that happening is to add spaces after any less than symbols that appear in your formula when posting them here.

I think this is what you are looking for though.

=IF(D10<16,$D$4,IF(D10<30,$D$3,$D$2))
 
Upvote 0

Forum statistics

Threads
1,223,162
Messages
6,170,432
Members
452,326
Latest member
johnshaji

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