Dates, Lookups, Networkdays, and the Sum Function - Please Help!

excelerizer

New Member
Joined
Jul 9, 2010
Messages
3
Hey everyone!

I am having some trouble with my last column. I have in my worksheet 6 columns (a-f). Column A is simple a list of names. Column B is a start date. Column C is an end date. Column D is the # of hours between column b and c, excluding weekends and holidays. Column E is the date one year from the start date in column b.

Here's where I'm having trouble...column F. I would like sum the results of looking at dates in column b and c that fall between the date range of column a and e and returning what is in column d in one cell. I would like to be able to use one formula and just fill handle it down.

For example, I would like to sum the # of hours if the dates in column b and c fall between 7/28/10 and 7/28/09 in column f.

Any help would be very much appreciated. I know I can't use vlookup and thought maybe index and match could work but I can't figure out how to sum multiple products.

Thanks!
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
Would you need both dates to fall within the range? What should happen if start date is in the range but not end date (or vice versa). Would you count all the hours for that row, or none of the hours.....or perhaps only the hours that fall in the range?
 

Watch MrExcel Video

Forum statistics

Threads
1,132,869
Messages
5,655,705
Members
418,230
Latest member
Jimmy_Jef

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top