Choose a value based on two columns

Hi,

Without being with the if function, how can I create a condition to choose a value based on two columns.

For exemple if a giving value is 4,12 for density and 1,87 to volume the value must be 0,0640 €.

best regards

Example in attached image.
rflorencioAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
The image is missing.

An IF without an IF is not possible. If you can create a formula generating few integers as condition result, choose can be used.
So what exactly do you mean?
0
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
If you want to get fancy, a conditional expression can be used, like =(B1 > C1)*50 which generates 50 if B1 is greater than C1 ...
0
rflorencioAuthor Commented:
Hi,

I have many rows to get a price, with two columns  (the price is calculated considering both Density and volume columns, this is a auxiliary table). For each value in Density column i need to verify volume factor to get price.

best regards

Attached image with example
Auxiliary table to get valuesWorksheet the value column is based in values in auxiliary table
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
That is something completely different. You need to set up a lookup table with two parameters. With a single one it would be easy (using VLOOKUP with range search), but this one requires something more sophisticated. One way to use a matrix with density as rows and volume as columns, and a nested VLOOKUP and HLOOKUP.
0
Ejgil HedegaardCommented:
You need 4 columns with min/max density and min/max volume.
See attached.
Volume-Density-Lookup.xlsx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rob HensonFinance AnalystCommented:
You don't need additional columns at all.

See attached file.

Similar to used in this question:Help with Index Match I think
Index-match.xlsx
0
Rob HensonFinance AnalystCommented:
Updated version attached showing the Matrix version that I think Qlemo was referring to, using VLOOKUP and MATCH.
Index-match.xlsx
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.