+ Reply to Thread
Results 1 to 4 of 4

Calculating Cost of Cargo from Pricing Criteria

  1. #1
    Registered User
    Join Date
    03-12-2022
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 365
    Posts
    2

    Calculating Cost of Cargo from Pricing Criteria

    Hi there!

    I work in logistics and we have tiered pricing dependent on a number of factors. For example, if a car is being imported and is equal to or smaller than 2 metres tall we charge $50/Tonne, however if the car is greater than 2 metres tall we charge $100/Tonne. We also change the pricing quarterly.

    I am trying to make the spreadsheet I use less formula heavy so other users can update the spreadsheet too. I am having difficulty finding a way to get excel to recognise the bucket a piece of cargo fits into, and assign a cost to it though. I am guessing some combo of IF and INDEX functions are required, then users would be able to just update the tables on the right of the worksheet to yield new pricing data. I have attached like what I envision the spreadsheet looking like.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,052

    Re: Calculating Cost of Cargo from Pricing Criteria

    Excel doesn't like > and < as these turn numbers into text. So I modified the lookup table, to cover all the bases and included 3 helper columns (D, F & H) which can be hidden from view, for aesthetic purposes, if desired.

    This formula then delivers the result:

    =MAX($C3:$E3)*IF($A3="RORO",INDEX(Q$5:Q$16,MATCH(1,($M$5:$M$16=$A3)*($N$5:$N$16=$B3),0)),INDEX(Q$5:Q$16,MATCH(1,($M$5:$M$16=$A3)*($N$5:$N$16=$B3)*($O$5:$O$16=$F3)*($P$5:$P$16=$H3),0)))

    copied across and down... first column for Q1... second for Q2. Your expected result for th elast row was incorrect.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    03-12-2022
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Calculating Cost of Cargo from Pricing Criteria

    This has helped so much, thank you! From your reply I have looked more into nesting MATCH functions into INDEX functions. This is definitely a rabbit hole I'm looking forward to heading down!

    Thanks again!

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,052

    Re: Calculating Cost of Cargo from Pricing Criteria

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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. Calculating cost taking into consideration min charge and cost/kg
    By Geoxasas in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-12-2021, 01:45 PM
  2. Determine best order qty and pricing considering inventory carrying cost
    By Marco Mama in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-06-2021, 09:29 PM
  3. Help Calculating tiered pricing with price breaks
    By ToroMata in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-26-2017, 12:06 PM
  4. Calculating pricing with dimensions as criteria
    By eshratm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-07-2014, 02:46 AM
  5. [SOLVED] Formula for calculating average cost in each column of my range given multiple criteria
    By bwmuhich in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-11-2013, 09:54 AM
  6. Calculating margin % and adjusting pricing
    By GottaBeKD182 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-30-2013, 04:56 PM
  7. Calculating total cost from range of cell tally's by cost of item.
    By patrickdjames in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 11-04-2012, 10:27 AM

Tags for this Thread

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