+ Reply to Thread
Results 1 to 8 of 8

Calculate Amount based on Lane ID and Weight Break

  1. #1
    Registered User
    Join Date
    01-26-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    9

    Calculate Amount based on Lane ID and Weight Break

    Hi Friends,

    Need to a formula to calcuate Amount based on weight break.
    Please find attached excel file.

    There are 2 tabs. Rate sheet and Data

    I need a formula to calculate amount based on weight break (<5,>5,>15,>25,>50,>75)
    The lane ID should be match to calculate the amount.

    Put formula in yellow cell.

    Its urgent . Please help me on this.


    Regards,
    Santhosh
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Calculate Amount based on Lane ID and Weight Break

    Hi and welcome to the forum

    You start your table off with >5 followed by >5...meaning only 5?

    If you change your headings from text <5, <15 etc to actual numbers...0, 4, 14 etc, then you can use this, copied down...
    =INDEX('Rate sheet'!$A$2:$G$8,MATCH($A2,'Rate sheet'!$A$2:$A$8,0),MATCH(B2,'Rate sheet'!$A$2:$G$2,1)+1)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Calculate Amount based on Lane ID and Weight Break

    Copy of Rate Calculation-1.xlsx
    Try of this work for you
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Calculate Amount based on Lane ID and Weight Break

    Rob, that's pulling from 1 column to the left (I know, I did the same thing) 27 and 1 should be 0.3, not 0.2...<50 but not <25

  5. #5
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Calculate Amount based on Lane ID and Weight Break

    Quote Originally Posted by FDibbins View Post
    Rob, that's pulling from 1 column to the left (I know, I did the same thing) 27 and 1 should be 0.3, not 0.2...<50 but not <25
    Hmm, Depends if you look at spreadsheet(>5,<5,,, or request <5,>5).
    But maybe I'm wrong...

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Calculate Amount based on Lane ID and Weight Break

    yes lol, between the 1st and 2nd rules, nothing will show...>5 and <5 (my comment in my 1st post was incorrect)

  7. #7
    Registered User
    Join Date
    01-26-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Calculate Amount based on Lane ID and Weight Break

    Thanks to everybody who are supported to my query. Formula is working fine.

  8. #8
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Calculate Amount based on Lane ID and Weight Break

    You are welcome.
    Please leave reputation if you satisfied with the results.

+ 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. Auto Calculate Shipping Weight/Cartons and Package Weight.
    By suhailsiddiqui09 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-27-2013, 06:48 AM
  2. Calculate a capped deals amount based on client
    By Beautiful2 in forum Excel General
    Replies: 3
    Last Post: 05-11-2013, 01:33 PM
  3. [SOLVED] Calculate break based on hours worked.
    By RAS 2112 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-05-2013, 12:57 PM
  4. [SOLVED] SUMPRODUCT to calculate amount based on different criteria
    By pjlau in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-30-2012, 05:41 AM
  5. How can I calculate amount of time left based on amount spent?
    By KLD in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2006, 11:25 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