# Determining unit price from a pricing matrix...

1. ## Determining unit price from a pricing matrix...

I'm trying to build a calculator for product pricing. The idea is that a person would select a number of criteria and the calculator would generate a unit price which would then be multiplied by a quantity to yield an order price.

However, I can't figure out how to use the input criteria to lookup the unit price from a pricing matrix. The logic formulas seem to assume TRUE or FALSE, which doesn't allow for more than two possible anwers. And the LOOKUP formulas don't seem to account for multiple criteria.

I've attached a simplified example as a screen shot. Does anyone know how I can determine the unit price, based upon the answers of two different criteria?

-Paul

2. ## Re: Determining unit price from a pricing matrix...

Paul, it's rarely a good idea to "dumb down" requirements as generally speaking the complexities dictate the viable approaches

Also, sample files are more helpful than images (for all concerned)

Using the basic example a SUMIF would suffice - given we can't see range references we will have to make them up:

``Please Login or Register  to view this content.``
In the above we are assuming the lists are linked to cells C2:C3 and that colours appear in B11:B16 and sizes C10:D10

You could also use an INDEX/MATCH but SUMIF has added advantage that it will return 0 by default should invalid selections be made.

3. ## Re: Determining unit price from a pricing matrix...

Point taken, DonkeyOte! I had some difficulty following your response since I made it somewhat difficult for you to respond in the first place.

But after all that, it absolutely works! Thank you for your help -- and next time I'll attach a spreadsheet instead.

-Paul

4. ## Re: Determining unit price from a pricing matrix...

Originally Posted by DonkeyOte
Paul, it's rarely a good idea to "dumb down" requirements as generally speaking the complexities dictate the viable approaches

Also, sample files are more helpful than images (for all concerned)

Using the basic example a SUMIF would suffice - given we can't see range references we will have to make them up:

``Please Login or Register  to view this content.``
In the above we are assuming the lists are linked to cells C2:C3 and that colours appear in B11:B16 and sizes C10:D10

You could also use an INDEX/MATCH but SUMIF has added advantage that it will return 0 by default should invalid selections be made.
I know this thread is a bit old but I'd like to thank you for you answer it worked a treat.

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1