# Problem formula - Is it possible??

#### tiveytim

##### New Member
Hi Again

Problem formula 2 is a lot harder:

I have boxes as below:

Top Bottom Price
12 4 £0
12 12 £6
14 12 £53
24 24 £58
28 12 £64
56 24 £125

the cell with the formula needs to show the price of the box required. e.g if they have 12 at the top and 8 bottom then the box is £6. If they had 24 top and 24 bottom the the price would be 125 as you need the bigger bottom box.

Has anyone any ideas for this. I imagine it is a long formula. If you need more info then let me know.

### Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
If they had 24 top and 24 bottom the the price would be 125

Why wouldn't the price for that be 58 as that matches the table exactly?

Hi

John

Didn't this work?

Perhaps I've misunderstood the requirements?

Replies
2
Views
161
Replies
3
Views
111
Replies
34
Views
950
Replies
4
Views
167
Replies
7
Views
218

1,203,073
Messages
6,053,379
Members
444,660
Latest member
Mingalsbe

### 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.

### Which adblocker are you using?

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

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