+ Reply to Thread
Results 1 to 2 of 2

Selection based on multiple criteria

  1. #1
    Forum Contributor
    Join Date
    10-16-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2003, 2010
    Posts
    151

    Selection based on multiple criteria

    Greetings all,

    I have an expense report that is giving me a headache. Depending departure time, city tier code, and arrival (back to origin) time I have 5 levels of per diem meal expenses. The first break is the destination city tier level, 1,2, or 3. If the date is outbound only, or outbound and back the same day, the time of departure would determine which amount the employee would receive for that particular day, if there was a previous departure but no arrival then the employee would receive the full per diem for that tier level for that day, and finally, if there were an arrival time only, the rate would be one of three for that tier city.

    I'm not sure if this is making any sense to anyone and I'm not used to dealing with this many variables, so I would appreciate any help in solving this. I would prefer it to be done with a formula, but I'm not allergic to macros either.

    Thanks
    Specimen Expense Report.xlsx
    Jacob Albers
    Excel 2003 & 2010

  2. #2
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: Selection based on multiple criteria

    Hi Jacob

    The tortured mind that dreamt up this scheme obviously had no intention of trying to police it. I wonder exactly which illegal substance (s)he was on?

    Excel need to be taught the rules. Time is relatively easy - 1:00 pm although there is a discrepancy between the yellow box "Arrival at or before 13:00 Partial (1) per diem" and B55 "Arrival before 1:00 PM/full per diems")

    Excel needs to know which city is in which tier.

    Finally, Excel need to know what the heck Levels 1 - 3 relate to - not clear from your post nor from the expense claim.

    Once the foregoing is answered, the rest of the problem is easy

    (I now begin to understand why the UK tax authorities will accept any "reasonable" (undefined!) amount that has been incurred.)

    Regards
    Alastair
    Last edited by aydeegee; 11-11-2013 at 08:45 AM.

+ 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. [SOLVED] Various scenarios based on selection criteria
    By Harlequin in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-24-2013, 06:56 AM
  2. [SOLVED] Selection of udf based on criteria
    By SAGAR KHOLLAM in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-29-2013, 04:27 AM
  3. Select multiple criteria based on check box selection and return all unique values.
    By TommyToe in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-21-2013, 09:14 AM
  4. set print selection cell based on criteria with vba
    By pakian in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-24-2012, 06:53 PM
  5. Multiple selection criteria, which formula? .. and selection based on unique numbers
    By FalkirkJim in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-11-2012, 05:22 PM

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