+ Reply to Thread
Results 1 to 15 of 15

Shipping price calc

Hybrid View

  1. #1
    Registered User
    Join Date
    03-05-2012
    Location
    Yorkshire
    MS-Off Ver
    Excel 2016
    Posts
    79

    Shipping price calc

    Hi All,
    If I have a column with weights in and want to automate the postage cost how would I do this please? So Item is less than 100g or 0.100kg postage is £1.50 between 0.101 > 1.000 kg is £3.00, 1.001> 2.000 kg is £4.00. I'm sure this is an easy one for you guys and thanks in anticipation.

    kind regards
    Jason

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,940

    Re: Shipping price calc

    =LOOKUP(A1,{0,0.101,1.001,2.001},{1.5,3,4,4}) or =LOOKUP(A1,{0,0.101,1.001},{1.5,3,4})
    what above if it is more than 2 Kgs
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,684

    Re: Shipping price calc

    I'm thinking this seems easiest provided you don't have anything less than 0.100kg to also weigh with a different rate again...
    assuming your weights are in col A
    =IF(A1<1,A1*1.5,IF(A1<2,A1*3,A1*4))
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Shipping price calc

    May be this

    Formula: copy to clipboard
    =IF(A1>1,4,IF(A1>0.1,3,1.5))
    Click just below left if it helps, Boo?ath?

  5. #5
    Registered User
    Join Date
    03-05-2012
    Location
    Yorkshire
    MS-Off Ver
    Excel 2016
    Posts
    79

    Re: Shipping price calc

    Quote Originally Posted by boopathiraja View Post
    May be this

    Formula: copy to clipboard
    =IF(A1>1,4,IF(A1>0.1,3,1.5))
    OK so I'm trying this method and I may be doing it wrong but I think it's almost but not quite right. Please correct me if I'm wrong. (E1) is the weight so assume weight is less than 100g and cost is £1.50 then =IF(E1>0.1,1.5) Is that correct? if so I'll move to the next level

  6. #6
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,684

    Re: Shipping price calc

    Oh, i see my error you didn't want the weight multiplied by the price, just if it fell within those parameters give the price.
    then i'd recommend boopathiraja's as i would have come up with about the same thing.

  7. #7
    Registered User
    Join Date
    03-05-2012
    Location
    Yorkshire
    MS-Off Ver
    Excel 2016
    Posts
    79

    Re: Shipping price calc

    Thanks all. I'll give it a try and let you know how I get on.
    kind regards

  8. #8
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,684

    Re: Shipping price calc

    you can always use mine, here is how i would have changed it.
    =IF(A1<1,1.5,IF(A1<2,3,4))

  9. #9
    Registered User
    Join Date
    03-05-2012
    Location
    Yorkshire
    MS-Off Ver
    Excel 2016
    Posts
    79

    Re: Shipping price calc

    Quote Originally Posted by Sambo kid View Post
    you can always use mine, here is how i would have changed it.
    =IF(A1<1,1.5,IF(A1<2,3,4))
    Thanx but I think still not right (or am I wrong?)
    =IF (E1<0.1,1.5) E1 being the weight

  10. #10
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Shipping price calc

    Like this

    Check if >1,(that is anything above one) result, 4
    fail then
    Check if >0.1(that is 0.1 to 1), result, 3
    fail then
    Check if >0(that is 0-0.999), result, 1.5

    =IF(E1>1,4,IF(E1>0.1,3,IF(E1>0,1.5)))

    Can be constructed in vise versa also

  11. #11
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,940

    Re: Shipping price calc

    =LOOKUP(E1,{0,0.101,1.001,2.001},{1.5,3,4,4}) or =LOOKUP(E1,{0,0.101,1.001},{1.5,3,4})
    TRY THIS

  12. #12
    Registered User
    Join Date
    03-05-2012
    Location
    Yorkshire
    MS-Off Ver
    Excel 2016
    Posts
    79

    Re: Shipping price calc

    Quote Originally Posted by nflsales View Post
    =LOOKUP(E1,{0,0.101,1.001,2.001},{1.5,3,4,4}) or =LOOKUP(E1,{0,0.101,1.001},{1.5,3,4})
    TRY THIS
    Hi nflsales I would but honestly I don't understand it. When I paste that in to the cell it says there is a problem. I'm a serious novice..

  13. #13
    Registered User
    Join Date
    03-05-2012
    Location
    Yorkshire
    MS-Off Ver
    Excel 2016
    Posts
    79

    Re: Shipping price calc

    I'm just trying to get my head round these so may be back to ask to elaborate please. as a matter of interest 2.001 kg > 5.000kg is £5.00 and over 5.001 kg is £7.00 in case any one would like to update their formulae

  14. #14
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,940

    Re: Shipping price calc

    =lookup(e1,{0,0.101,1.001,2.001,5.001},{1.5,3,4,5,7})
    try this

  15. #15
    Registered User
    Join Date
    03-05-2012
    Location
    Yorkshire
    MS-Off Ver
    Excel 2016
    Posts
    79

    Re: Shipping price calc

    Hi nflsales. I think that's done it thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 01-03-2013, 12:32 AM
  2. Replies: 4
    Last Post: 08-15-2012, 09:49 AM
  3. Calc Final Sale Price Including % of Sale?
    By kierenschneider in forum Excel General
    Replies: 1
    Last Post: 10-26-2009, 01:09 PM
  4. Shipping price, maybe challenge of the day
    By ovemal@yahoo.no in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2005, 06:30 AM
  5. [SOLVED] Shipping price, maybe challenge of the day
    By ovemal@yahoo.no in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-17-2005, 06:30 AM

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