Help with calculations using ifs and minimum

slparadise

New Member
Joined
Jan 30, 2015
Messages
16
I need help creating an ifs formula that will calculate based on a minimum number. Here is an example:

TABLE 1
Widget
--Widget Length--
--Widget SF--
$$$PRICE$$$

<tbody>
</tbody>

TABLE 2
--Widget Length--
--Widget Cost--
0-24'
5
25'-28'
10
29'-32'
15
33'-36'
20

<tbody>
</tbody>

The –Widget Length— in TABLE 1 is tied to the –Widget Length—in Table 2 in the form of a drop-down box. I need the $$$PRICE$$$ in TABLE 1 to calculate based on a 500 SF minimum in the –Widget SF— cell but need the formula to recognize that if the number in the –Widget SF—is greater than 500 to use the larger number.

Example:
--Widget Length--
--Widget SF--
Formula (Cost * SF)
0-24’
350
5 * 500
29’-32’
750
15 * 750

<tbody>
</tbody>
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Hi,

As you have it in your sample, assuming your Table 2 Column A is Exactly the same as in your Table 1 Column B:


Book1
ABCD
1TABLE 1
2Widget--Widget Length----Widget SF--$$$PRICE$$$
30-24'3502500
429'-32'75011250
5
6
7TABLE 2
8--Widget Length----Widget Cost--
90-24'5
1025'-28'10
1129'-32'15
1233'-36'20
Sheet460
Cell Formulas
RangeFormula
D3=VLOOKUP(B3,A$9:B$12,2,0)*MAX(C3,500)
 
Upvote 0

Forum statistics

Threads
1,214,956
Messages
6,122,465
Members
449,085
Latest member
ExcelError

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