+ Reply to Thread
Results 1 to 16 of 16

Freight charges based on zip

  1. #1
    Registered User
    Join Date
    01-20-2010
    Location
    Plovdiv, Bulgaria
    MS-Off Ver
    Excel 2010
    Posts
    49

    Freight charges based on zip

    Hi there,

    Please see the attached file. An example how the shipping rate should be calculated:


    300kg shipment to zip 999 = Basic charge (in this case 20)+(300 kg* $5.88)= $1781;

    Please note that if the final amount is less than <<Min Charge>>, the customer will be charged with this minimum charge:

    10kg shipment to 3455 = 3 + (10*0.83) = $11.3, 11.3 < 70 (min. charge, so the final price is $70)

    Thank you for your help!
    Attached Files Attached Files
    Last edited by someko; 03-24-2011 at 10:34 AM.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Freight charges based on zip

    Try this workbook.
    How are your zip areas broken down? Is it by the firstpart, or the whole code?

    Hope this helps
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Registered User
    Join Date
    01-20-2010
    Location
    Plovdiv, Bulgaria
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Freight charges based on zip

    Hi Marcol,

    Thank you for your reply. We should use the whole code. Also, there is a change: the calculation should be based on zip + State, because there are identical zips for different states with different charge (in this case 999). Please see the updated version.
    Attached Files Attached Files

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Freight charges based on zip

    Please see the updated version.
    Where is the updated file?

  5. #5
    Registered User
    Join Date
    01-20-2010
    Location
    Plovdiv, Bulgaria
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Freight charges based on zip

    Freight per zip_New.xlsx (9.5 KB, 0 views) from my last post. I'm attaching it again.
    Attached Files Attached Files

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Freight charges based on zip

    This gets a bit more complex
    Try the attached workbook

    The formula in F7 is an array
    Please Login or Register  to view this content.
    Confirm with Ctrl+Shift+Enter NOT just Enter.

    You will have to build better Validation Lists than I have in this demo.

    Hope this helps
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-20-2010
    Location
    Plovdiv, Bulgaria
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Freight charges based on zip

    Wow, what a formula! What about if the zip code is not a range. Which part should I remove? I'm attaching an example. Note my list with postal codes is pretty long. Thank you!
    Attached Files Attached Files

  8. #8
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Freight charges based on zip

    That become very big there are some 42,000 US zip-codes excluding Military Codes.

    How many States are you realistically needing to handle, and what are these States?

    If you post a separate worksheet with your "Zip Code" & "State" codes Columns only, taken from your real workbook, I'll have a look at it a bit further.

    Are you really needing USA zip-codes or are you actually working with Bulgarian Codes?

  9. #9
    Registered User
    Join Date
    01-20-2010
    Location
    Plovdiv, Bulgaria
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Freight charges based on zip

    Here it is the complete table. Thanks a lot.
    Attached Files Attached Files

  10. #10
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Freight charges based on zip

    This could be further inproved, but I'm afraid you might give up, having waited a while for a reply.

    I have left some workings in this workbook so you can check the results yourself.
    In Sheet "Get Zip Rate" you need only keep Rows 4 & 5
    In Sheet "Lookups" the columns with White text in a Black cell are required.

    1/. Sheet "Lookups" are the unique codes from your list of Australian Post Codes
    Column A is the Numeric List and Column B is that list converted to text to allow the method I have used to work.

    This is where the Dynamic Lists-within-Lists are calculated, see the names manager.

    2/. Sheet "Get Zip Rate" extracts the Code Groups from "Australia shipping rates" using Dynamic Data Validation.
    This creates 2683 sub-lists from one column of data containing 18907 rows!

    This method might possibly be applied to Sheet "Lookups" with hindsight, but try it out as it stands

    Sheet "Get Zip Rate" > "Zip Group" is the first digit (as text) in the codes, "0" is for codes below 1000.
    This Calls the Drop-Downs in "Zip Code" and they in turn call the "Suburb" Drop-Downs.

    The Array in E5 has been modified to use the Named Ranges.

    Hope this helps.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    01-20-2010
    Location
    Plovdiv, Bulgaria
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Freight charges based on zip

    It's working great, Marcol! Many, many thanks!

  12. #12
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Freight charges based on zip

    Happy to have helped.

  13. #13
    Forum Contributor Charlie_Howell's Avatar
    Join Date
    09-27-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2007
    Posts
    218

    Re: Freight charges based on zip

    here is a non array formula
    Attached Files Attached Files
    Last edited by Charlie_Howell; 04-15-2011 at 01:30 PM.

  14. #14
    Registered User
    Join Date
    01-20-2010
    Location
    Plovdiv, Bulgaria
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Freight charges based on zip

    Marcol, I have to add 8,85% tax to the final value and 50% mark-up. In 2 words I have to multiply the value by *1.0885*1.5. How the formula in E5 will look like? Thanks.

  15. #15
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Freight charges based on zip

    You could just add *1.5*1.0885 to the end of the formula, then confirm with Ctrl +Shift+Enter.

    However I would be tempted to add the markup and tax to the table then sum the result.

    Hope this helps
    Attached Files Attached Files

  16. #16
    Registered User
    Join Date
    01-20-2010
    Location
    Plovdiv, Bulgaria
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Freight charges based on zip

    Thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Bookmarks

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