Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Finding the lowest possible value from a table with given conditions

$
0
0

This is hard to explain. Hopefully you will understand my question!

Here is the situation:

I have to input data for length, width, and thickness for a box on sheet 1. On sheet 2, there is a table with values pertaining to a set of different boxes and their given length, width, and thicknessess. I have to fit the box (from sheet 1) into the smallest possible box from sheet 2, and return the volume of that box.

Here is the catch. The value for thickness on the table (from sheet 2) has to be larger than the value from sheet 1. Subsequently, the values for width and length on the table (from sheet 2) also has to be larger than the values from sheet 1.

Until those conditions are met, the lowest possible volume cannot be selected.

How do I, based off of those conditions, return the lowest possible volume? (examples, and Formula explained will be most helpful!)

Here is my set up so far:

Sheet 1

A1: Thickness, B1: [Input Value]

A2: Width, B2: [Input Value]

A3: Length, B3: [Input Value]

A5: Best Volume, B5: [Return Value]

Sheet 2

A1: Thickness, B1: Width, C1: Length, D1: Volume

A2:A96 (Thickness value), B2:B96 (Width Value), C2:C96 (Length Value), D2:D96 (Volume)

Note: the volume will be selected from the D2:D96 range after the three conditions (Length, Width, and Height) are met.


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>