+ Reply to Thread
Results 1 to 14 of 14

Facing problem for creating Formula-for Hired vehicles

  1. #1
    Registered User
    Join Date
    04-28-2016
    Location
    hyderabad, India
    MS-Off Ver
    2010
    Posts
    7

    Post Facing problem for creating Formula-for Hired vehicles

    Sir
    we are hiring different vehicles on contract basis monthly, and we are recieving the bills on monthly basis

    here i have to calculate total bill amount of the perticular vehicle, the data i will fill manually i.e is Start Time, Start reading, Closing time and closing KM these four line items i will fill rest the line items should come automatically (See in the excel attaced).

    Thanks
    Ronda
    Attached Files Attached Files
    Last edited by ronda109; 05-04-2016 at 09:59 AM. Reason: Title change

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Hiring vehicles on contract basis for a Company

    Quote from your sample file:
    Quote Originally Posted by ronda109 View Post
    I need gross amount based on about different rates and vehicles
    Gross amount of what?
    What are your expected results if manually created?
    What are the calculations for manually created results?

    BSB

  3. #3
    Registered User
    Join Date
    04-28-2016
    Location
    hyderabad, India
    MS-Off Ver
    2010
    Posts
    7

    Re: Hiring vehicles on contract basis for a Company

    sir

    example:1. TATA indica A/C Vehicle

    Start time Start Reading KM Closing time Closing KM

    07:00 4567 5050 21:00

    i have mentioned tariff rates in excel sheet, based on that, if the vehicle uses below 100 km and not beyond 12 hrs then it should take Indica vehicle AC rate, if not met that condition then it should search in 8hrs and 80km..and rest the same and if any extra km or hours then it should consider that also.

    here i will insert 2 more colums in excel after Closing km i.e Non/AC or AC and Indica, Innova,Indigo

    if I select AC vehicle of indica then it should workout according to tariff rates and result should be the gross amount of this vehicle
    If i select Non A/c vehicle of innova it should workout according to tariff rates and result should be the gross amount of this vehicle

    like the way it should work

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Hiring vehicles on contract basis for a Company

    Base cost

    =INDEX($H$5:$M$8,MATCH($J13,$F$5:$F$8,1),MATCH($G13,$H$3:$M$3,0)+MATCH($H13,$H$4:$I$4,0)-1)

    Extra mileages cost

    =INDEX($H$9:$M$9,,MATCH($G13,$H$3:$M$3,0)+MATCH($H13,$H$4:$I$4,0)-1)*$K13

    Extra KM cost

    =INDEX($H$10:$M$10,,MATCH($G13,$H$3:$M$3,0)+MATCH($H13,$H$4:$I$4,0)-1)*$L13


    Extra hours

    =MAX(0,J13-VLOOKUP($J13,$F$5:$F$8,1,1))

    Extra Km

    =MAX(0,$I13-VLOOKUP($I13,$G$5:$G$8,1,1))
    Attached Files Attached Files
    Last edited by JohnTopley; 05-01-2016 at 11:18 AM.

  5. #5
    Registered User
    Join Date
    04-28-2016
    Location
    hyderabad, India
    MS-Off Ver
    2010
    Posts
    7

    Re: Hiring vehicles on contract basis for a Company

    sir

    really appreciated your hardwork on this issue,

    every thing is fine, one more thing is here the supplier will charge higher as per the slabs.

    example:
    if total travel KM 50 and total 12 hrs, then the supplier will charge only asper base rate i.e 12 hrs and 100KM slab..i.e say indica Non AC hence Rs.1123.20

    if total travel KM 35 and total usage time 7 hrs, then the supplier will charge as per 8 hrs and 80 KM slab i.e 1098.24

    same for all the vehicles

    Thanks
    Ronda
    Last edited by ronda109; 05-01-2016 at 12:39 PM.

  6. #6
    Registered User
    Join Date
    04-28-2016
    Location
    hyderabad, India
    MS-Off Ver
    2010
    Posts
    7

    Re: Hiring vehicles on contract basis for a Company

    Sir John Topley

    Please help me out above issue, so that it will fully completed.

    Thanks
    Ronda

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Hiring vehicles on contract basis for a Company

    To be clear: should the hours ALWAYS be rounded up to the nearest of 2, 4, 8 or 12.

    What are value for hours 1 through 15 (for example)

    would they be ...
    2, 2, 4, 4, 8, 8, 8, 8, 12, 12, 12 ,12, 12, 12,12

    Aare extra hours allocated for hours below 12?

    For example in the sheet;

    INDIGO A/C for 11.25 hours was a base cost of 8/80 i.e.1747.20 Was this correct? should it have been 12/100?

    Please clarify the rules as I made assumptions which are probably incorrect.

    Sample calculations will help.
    Last edited by JohnTopley; 05-02-2016 at 03:53 PM.

  8. #8
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Hiring vehicles on contract basis for a Company

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Ben Van Johnson

  9. #9
    Registered User
    Join Date
    04-28-2016
    Location
    hyderabad, India
    MS-Off Ver
    2010
    Posts
    7

    Re: Hiring vehicles on contract basis for a Company

    Sir, please excuse me, Since I am a new user and urgent, assure you i will follow next attempt.

    Sir JohnTopley,

    2/20 KM- This slab will change even 01 Hr or 01 KM extra.

    Example: Total Travle Hrs: 3 and Total Km: 20, here 01 hr extra as per above slab, hence automatically the slab will go to 4 hrs 40 KM
    And If the Total travel hrs: 1 and Total KM: 21, here 01 KM extra, hence the slab will be the 4 hrs 40 KM.

    Remaining all are same


    Note: Extra Hours and Extra KM will come into place only if more than 12 Hrs or 100 KM, If less it should be adjested in remaining/other slabs.

    Q: INDIGO A/C for 11.25 hours was a base cost of 8/80 i.e.1747.20 Was this correct?
    No,because the total hours is more than 8 hrs,hence the slab will be 12/100 km
    Q:should it have been 12/100?
    yes, because the time is morethan 8hrs

    Thanks
    Ronda
    Last edited by ronda109; 05-03-2016 at 10:41 AM.

  10. #10
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Hiring vehicles on contract basis for a Company

    Please change thread title as requested as I will not be able to respond until this is done.

    I have a solution.
    Last edited by JohnTopley; 05-03-2016 at 03:11 PM.

  11. #11
    Registered User
    Join Date
    04-28-2016
    Location
    hyderabad, India
    MS-Off Ver
    2010
    Posts
    7

    Re: Hiring vehicles on contract basis for a Company

    Sir JohnTopley,

    I have changed thread title name.

    Thanks
    Ronda

  12. #12
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Facing problem for creating Formula-for Hired vehicles

    See the attached: check out the columns in green where I added "helper" columns to determine which band the data falls into.

    in K13 and down

    =IF($J13<=2,1,IF($J13<=4,2,IF($J13<=8,3,4)))

    in L13 and down

    =MAX($J13-12,0)

    In M13 and down

    =IF($I13<=20,1,IF($I13<=40,2,IF($I13<=80,3,4)))

    in N13 and down

    =MAX(0,$I13-100)

    in P13

    =INDEX($H$5:$M$8,MATCH(MAX($K13,$M13),$E$5:$E$8,0),MATCH($G13,$H$3:$M$3,0)+MATCH($H13,$H$4:$I$4,0)-1)

    This matches bands in K and M versus bands in E5:E8


    See row 27 where bands are different.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    04-28-2016
    Location
    hyderabad, India
    MS-Off Ver
    2010
    Posts
    7

    Re: Facing problem for creating Formula-for Hired vehicles

    Respected Mr. JohnTopley

    Its working very nice as per slabs, you have saved so much time to me by giving excellent formula base excel sheet.

    I would like to write a comment sir

    "I believe that young people/Learners are looking for solutions to the big problems just like everyone else,

    and that they respect intelligent solutions/persons who helped in tough times"


    Sir Thank you so much once again

    Ronda
    Hyderabad-India

  14. #14
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Facing problem for creating Formula-for Hired vehicles

    Thank you for the feedback and the "rep".

    If your problem has been resolved could you please mark the thread as solved ("Thread Tools" at top of first post).

+ 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: 2
    Last Post: 02-20-2014, 06:08 AM
  2. Excel format for recruitment / hiring sheet
    By tpchadha in forum Excel General
    Replies: 0
    Last Post: 01-09-2014, 05:45 AM
  3. Filling out a fuel log that on a daily basis for different vehicles
    By BINARY1010 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 07-31-2013, 09:09 PM
  4. Chart For Hiring Plan
    By himanshututeja in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-02-2013, 04:48 AM
  5. Stack Exchange Hiring.
    By JapanDave in forum The Water Cooler
    Replies: 13
    Last Post: 10-08-2012, 06:33 AM
  6. suggestions on hiring someone to do a project.
    By mt45 in forum Excel General
    Replies: 1
    Last Post: 08-02-2011, 06:54 PM
  7. Search on company name to auto input company address
    By jamie.c in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-12-2009, 12:38 PM
  8. Replies: 1
    Last Post: 04-05-2006, 11:37 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