Return value based on criteria

Rportz

Board Regular
Joined
Mar 24, 2016
Messages
55
I need cell B7 to enter the daily payment rate based on the value that is entered in cell B1. For instance, if the no. of miles traveled (cell B1) is 17 then the daily travel rate will return $10.00 (cell B7).

Any help is so appreciated!!

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD="align: right"]No miles traveled:
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Miles
[/TD]
[TD]Daily Payment Rate
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]15 miles per day or less
[/TD]
[TD]$5.00
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]16-30 miles per day
[/TD]
[TD]$10.00
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]31-45 miles per day
[/TD]
[TD]$15.00
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]46-60 miles per day
[/TD]
[TD]$20.00
[/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD="align: right"]Daily Travel Rate:
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Here's one way:
Excel Workbook
AB
1No miles traveled:17
2MilesDaily Payment Rate
315 miles per day or less$5.00
416-30 miles per day$10.00
531-45 miles per day$15.00
646-60 miles per day$20.00
7Daily Travel Rate:$10.00
Sheet
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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