Formula to sort through a range

snoozing

New Member
Joined
Aug 11, 2009
Messages
14
Not sure how to describe it but I'm trying to take predetermined pounds & multiply them against a rate. That rate is based on the state & range of the pound itself.

For example in the pictures, the green highlighted area is where I want the results to be. The orange highlights are the pounds. The blue higlights are the table I want the pounds to be referenced against. So for the 1/10/11 date in Atlanta, GA, the result should be (956 X $14.88)= $14,225.28

I know the sumif doesnt work with tables across multiple columns. Do I need to change my table? Is there a formula that will work here?

 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
By what logic is the 956 multiplied by 14.88? Shouldn't it be 27.19 or something?
 
Upvote 0
No what I'm trying to accomplish is to have the formula look up the pounds in the orange highlights & determine the rate for it from the blue table & then multiply it against that rate to get the cost. So for the 1/10/11 date in Atlanta, GA, 956lbs puts the rate at $14.88. The product of 956 & 14.88 would go in the appropriate columns in the green area.
 
Upvote 0
Ah, gotcha. So then, in your example you have Cincinnati where all the shipments are less than 100 lbs, is that what the minimum rate is for? In that case, the solution is fairly simple if you make that header say 0.
Excel Workbook
ABCDEFGH
1
2
3Destination1/10/20111/7/20111/24/20111/31/20112/7/2011
4ANKORAGE,AK$27,280.00$31,856.00$26,048.00$36,080.00$25,696.00
5ATLANTA,GA$14,225.28$7,176.14$4,810.91$7,884.10$8,704.80
6CINCINNATI,OH$636.30$757.50$606.00$848.40$606.00
7
8ANKORAGE,AK310362296410292
9ATLANTA,GA956446299490585
10CINCINNATI,OH2125202820
11
12Destination010025050010002000
13ANKORAGE,AK$95.00$88.00$88.00$88.00$88.00$88.00
14ATLANTA,GA$31.54$27.19$16.09$14.88$14.33$14.21
15CINCINNATI,OH$30.30$26.66$24.23$21.85$19.40$18.21
Sheet
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,569
Messages
6,179,605
Members
452,928
Latest member
VinceG

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