I need a cell to return a value if another cell is with a certain range

Priceman99

New Member
Joined
Oct 24, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello,

Could someone please help,

I would like column M in the attached picture to return a value if a cell within column D is within the value ranges shown on the bottom of the page. Can this be done?

1729774920835.png
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Welcome to the Board!

Check out the "What is approximate match in VLOOKUP and how to use it" section of this link here: VLOOKUP Exact Match & Approximate Match

The way you have set-up your lookup table is good, and you should be able to match on column B and get the result you desire.
 
Upvote 0
In M118. Change the ranges as required.
Excel Formula:
=LET(a,IFERROR(VALUE(B242:E264),0),b,D118:D226,IF(b="","",VLOOKUP(b,a,3,1)))
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,249
Members
452,623
Latest member
Techenthusiast

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