+ Reply to Thread
Results 1 to 2 of 2

Return furthest right value which is greater than zero

  1. #1
    Registered User
    Join Date
    09-12-2010
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    7

    Return furthest right value which is greater than zero

    Hi,

    (The attached picture should help explain the text, ignore cells in red, yellow is what I'm after).

    I've inherited a timesheet worksheet, which has the names of employees in the rows, dates in the columns and the number of hours worked as the data.

    I have a column entitled 'Last Day' where I need to enter the last day each resource worked, which corresponds to the value furthest right which is greater than zero. Is there a quick way of doing this? Please bear in mind I have limited vba experience.

    There are a few quirks to this too:
    1. weekends are on the time sheet which are blank for most people whereas others have entered values
    2. sometime people have entered zero until they started work, for others the first value is the first day they worked

    Any help much appreciated!
    Attached Images Attached Images

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Return furthest right value which is greater than zero

    A few options

    Please Login or Register  to view this content.
    modify ranges to suit

    (by the looks of it you should tell Bill Gates to pull his finger out)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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