Function for detecting is a parameter is in range

rjwalker2514

New Member
Joined
Aug 4, 2018
Messages
7
HEIGHT2000
WIDTH2100
TOTAL SIZE4100
DESIGN1
Out of Range

<tbody>
</tbody>

Hi I would like a function that will detect if a value is outside the design parameters.

Example:

DESIGN 1 is only compatible if the total size is between 1000 & 4000 inclusive. How can I write a formula that detects that this example if Out of Range and shows that in a nearby cell?

If the DESIGN number was to change to 2 the compatible size would now be between 1000 & 2600. Can I add to the formula to show this also?
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
This formula is for the specific case you cite in your post, where Designs are numbered 1, 2, ... and can be expanded to include higher-number designs.

Note that the labels you posted are used to create named ranges by selecting A1:B4, then Formula>Defined Names>Create from Selection and make sure the Names to the left check box is ticked. The formula is in D1.
Excel Workbook
ABCD
1HEIGHT2000Out of Range
2WIDTH2100
3TOTAL SIZE4100
4DESIGN1
Sheet3
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,251
Members
448,556
Latest member
peterhess2002

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