+ Reply to Thread
Results 1 to 4 of 4

Simple for you, tough for me, basic excel question

  1. #1
    Registered User
    Join Date
    05-25-2005
    Posts
    2

    Simple for you, tough for me, basic excel question

    Ok I've created an excel sheet for my job. I have Hours in green and Miles driven in blue. I get paid $0.405/mile for anything I drive over 28 miles per day. As it stands now, column L isn't accurate, since it's simply the sums of the miles of the week multiplied by 0.405... I need some sort of formula for column L which says, If on Sunday or Monday or Tuesday or Wednesday or Thursday or Friday or Saturday I drive over 28 miles, then subtract 28 and multiply by 0.405... If anyone can help I would greatly apperciate it.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    06-10-2004
    Location
    India
    Posts
    1,066
    Use something like this:

    =SUM(MAX(0,A2-28)+MAX(0,B2-28)+MAX(0,C2-28)+MAX(0,D2-28)+MAX(0,E2-28)+MAX(0,F2-28)+MAX(0,G2-28))*0.405

    Where A2 has your miles for sunday, B2 for monday... and so on till G2 for saturday.


    Mangesh

  3. #3
    Registered User
    Join Date
    05-25-2005
    Posts
    2

    thanks

    Thanks man... that was exactly what I was looking for!

  4. #4
    Forum Contributor
    Join Date
    06-10-2004
    Location
    India
    Posts
    1,066
    Thanks for the feedback

    Mangesh

+ 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