Results 1 to 6 of 6

Hours between dates - VBA

Threaded View

  1. #1
    Registered User
    Join Date
    03-23-2010
    Location
    uk
    MS-Off Ver
    Excel 2003
    Posts
    21

    Hours between dates - VBA

    Hi, I have a spreadsheet with data as shown in attached picture, I have tried a SUMIF formula to try and return any hours into column E if they fall between dates in Column C and D, the data range from which the hours are to be returned is column A and B.

    The formula needs to look down column A2:A500 and B2:B500 and look for any hours which fall between dates C2 & D2 then return the sum in E2, then I can copy the code into E3 and it will look for sum of hours from dates which fall between C3 & D3.

    Thanks for any assistance in advance.

    Jonny
    Attached Images Attached Images
    Last edited by jonnywakey; 03-23-2010 at 05:18 PM.

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