Calculate value of one cell based on values of two other cells

RodneyW

Active Member
Joined
Sep 24, 2010
Messages
479
Office Version
  1. 2013
Platform
  1. Windows
I need a formula that will place a number in cell AA14

It looks at the value in cell C14.
If the value in cell C14 is between the values in AB4 and AC4, place the value in AD4 on cell AA14
If the value in cell C14 is between the values in AB5 and AC5, place the value in AD5 on cell AA14
If the value in cell C14 is between the values in AB6 and AC6, place the value in AD6 on cell AA14
If the value in cell C14 is between the values in AB7 and AC7, place the value in AD7 on cell AA14
If the value in cell C14 is between the values in AB8 and AC8, place the value in AD8 on cell AA14

Thanks in advance.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Assuming the values in AB4:AC8 are sorted in ascending order by column AB
Try

=LOOKUP(C14,AB4:AB8,AD4:AD8)
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,209
Members
453,023
Latest member
alabaz

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