Lookup Value in Range and return nearest number (lowest) beween sets of numbers within the range

Swsimpson1

New Member
Joined
Jun 12, 2018
Messages
5
[TABLE="width: 576"]
<tbody>[TR]
[TD="colspan: 2"]Challenge 1:
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 2"]What you know:
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 3"]The employee is in pay grade 3 and rate is $25.30
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 9"]Challenge: write a formula that looks up the grade, and then returns the value on that range in which $25.30 is nearest to (rounded down)
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 2"]Challenge 2:
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 5"]Write a formula that returns the step number in which $25.30 is nearest to, in that pay grade
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 5"]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 7"]
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[TD="align: right"]
[TABLE="width: 500, align: center"]
<tbody>[TR]
[TD]
[TABLE="width: 512"]
<tbody>[TR]
[TD="class: xl394, width: 64, bgcolor: transparent"]Step
[/TD]
[TD="class: xl394, width: 64, bgcolor: transparent"]1
[/TD]
[TD="class: xl394, width: 64, bgcolor: transparent"]2
[/TD]
[TD="class: xl394, width: 64, bgcolor: transparent"]3
[/TD]
[TD="class: xl394, width: 64, bgcolor: transparent"]4
[/TD]
[TD="class: xl394, width: 64, bgcolor: transparent"]5
[/TD]
[TD="class: xl394, width: 64, bgcolor: transparent"]6
[/TD]
[TD="class: xl394, width: 64, bgcolor: transparent"]7
[/TD]
[/TR]
[TR]
[TD="class: xl394, bgcolor: transparent"]Grades
[/TD]
[TD="class: xl394, bgcolor: transparent"][/TD]
[TD="class: xl394, bgcolor: transparent"][/TD]
[TD="class: xl394, bgcolor: transparent"][/TD]
[TD="class: xl394, bgcolor: transparent"][/TD]
[TD="class: xl394, bgcolor: transparent"][/TD]
[TD="class: xl394, bgcolor: transparent"][/TD]
[TD="class: xl394, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl394, bgcolor: transparent"]1
[/TD]
[TD="class: xl395, bgcolor: transparent"]$20.25
[/TD]
[TD="class: xl395, bgcolor: transparent"]$20.50
[/TD]
[TD="class: xl395, bgcolor: transparent"]$21.00
[/TD]
[TD="class: xl395, bgcolor: transparent"]$21.33
[/TD]
[TD="class: xl395, bgcolor: transparent"]$21.71
[/TD]
[TD="class: xl395, bgcolor: transparent"]$22.08
[/TD]
[TD="class: xl395, bgcolor: transparent"]$22.46
[/TD]
[/TR]
[TR]
[TD="class: xl394, bgcolor: transparent"]2
[/TD]
[TD="class: xl395, bgcolor: transparent"]$22.00
[/TD]
[TD="class: xl395, bgcolor: transparent"]$23.25
[/TD]
[TD="class: xl395, bgcolor: transparent"]$24.00
[/TD]
[TD="class: xl395, bgcolor: transparent"]$25.08
[/TD]
[TD="class: xl395, bgcolor: transparent"]$26.08
[/TD]
[TD="class: xl395, bgcolor: transparent"]$27.08
[/TD]
[TD="class: xl395, bgcolor: transparent"]$28.08
[/TD]
[/TR]
[TR]
[TD="class: xl394, bgcolor: transparent"]3
[/TD]
[TD="class: xl395, bgcolor: transparent"]$23.33
[/TD]
[TD="class: xl395, bgcolor: transparent"]$24.00
[/TD]
[TD="class: xl395, bgcolor: transparent"]$25.00
[/TD]
[TD="class: xl395, bgcolor: transparent"]$25.78
[/TD]
[TD="class: xl395, bgcolor: transparent"]$26.62
[/TD]
[TD="class: xl395, bgcolor: transparent"]$27.45
[/TD]
[TD="class: xl395, bgcolor: transparent"]$28.29
[/TD]
[/TR]
[TR]
[TD="class: xl394, bgcolor: transparent"]4
[/TD]
[TD="class: xl395, bgcolor: transparent"]$25.00
[/TD]
[TD="class: xl395, bgcolor: transparent"]$26.10
[/TD]
[TD="class: xl395, bgcolor: transparent"]$27.20
[/TD]
[TD="class: xl395, bgcolor: transparent"]$28.30
[/TD]
[TD="class: xl395, bgcolor: transparent"]$29.40
[/TD]
[TD="class: xl395, bgcolor: transparent"]$30.50
[/TD]
[TD="class: xl395, bgcolor: transparent"]$31.60
[/TD]
[/TR]
[TR]
[TD="class: xl394, bgcolor: transparent"]5
[/TD]
[TD="class: xl395, bgcolor: transparent"]$27.00
[/TD]
[TD="class: xl395, bgcolor: transparent"]$28.40
[/TD]
[TD="class: xl395, bgcolor: transparent"]$29.80
[/TD]
[TD="class: xl395, bgcolor: transparent"]$31.20
[/TD]
[TD="class: xl395, bgcolor: transparent"]$32.60
[/TD]
[TD="class: xl395, bgcolor: transparent"]$34.00
[/TD]
[TD="class: xl395, bgcolor: transparent"]$35.40
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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