# populate weekly hours based on Start and End Date

1. ## populate weekly hours based on Start and End Date

Hi,

I am trying to populate hours in column F of attached based on start and end dates in columns C and D.

Thank you,
RD

Capture.JPG

2. ## Re: populate weekly hours based on Start and End Date

,,,,,,,,,,,,,

3. ## Re: populate weekly hours based on Start and End Date

Sorry for off-topic interjection:

Although there is no official rule regarding this behaviour, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

I'm sure you understand.

4. ## Re: populate weekly hours based on Start and End Date

Originally Posted by scrzzt
,,,,,,,,,,,,,
Thank you so much - I tried that earlier too but what I am trying to get is it will auto populate the Standard Hours in column F for the date range identified in columns C and D.
I have attached with added row as an example.

Thanks again!
RD

5. ## Re: populate weekly hours based on Start and End Date

In G5 copied across and down:

=IF(AND(G\$2>=\$C5,G\$3<=\$D5),\$F5,0)

6. ## Re: populate weekly hours based on Start and End Date

What do you mean when you say STANDARD HOURS?

7. ## Re: populate weekly hours based on Start and End Date

It's a column in the workbook (F).

Solution from post #5 in the attached workbook.

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

#### 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