Alright, after about 6 hours trying various formulae in Excel 2003, I've given up. I'm attaching the sanitized sheet. I need to sum the minutes in column E, within monthly date ranges. I've tried SUMPRODUCT, SUMIF, SUM(IF), IF, AND, VLOOKUP, and every other permutation I can find. When I use:
=SUMIF(A:A,"<=9/30/2008",E:E)
I get the proper answer of ":15" but if I try anything else, to denote the beginning date, as in
=SUMIF(A:A,"<=9/30/2008",E:E)+SUMIF(A:A,">=9/1/2008",E:E)
I get errors. I've tried so many things I've forgotten which errors go with which tries.
So, in column G, I'd like to be able to subtotal the accumulated time (from column E) since the last time it was billed (or maybe every month, or whenever). I can't just do a SUM and highlight the intervening rows in case a late entry with a past-date gets added, resulting in a fresh date sort, or is I'm asked how many hours I put in from [date] to [date].
It seems like it should be a simple search; it's been anything but. Advice?
Stephen
In the attached file, enter start and end dates in M2 and M3.
Formula in H4 works.
hope this helps.
modytrane.
Modytrane, I originally attached a slightly different file than what I meant to. Take a look at this attachment and you'll see what I meant by "column G" in the first post. Your solution is an easy one and I thank you for it.
Modytrane, again thank you. The solution isn't exactly what I'm looking for. Using the updated file I posted, I really need a way to find that sum of expended time, post it in Column G, and have it stay there. Using your solution, every time I enter a new start and end date, all the subtotals in Column G change to whatever the new date range is. I don't mind re-entering the formula each time I need to do a new subtotal, but then I need to change the cell address for the start and ent dates each time, also, if I've figured it correctly.
I am confused.
Please create a dummy worksheet showing what you expect as the end result.
In the last sheet you posted, column G "Time Subtotal" is blank. Do you expect that column to have different values in G2:G24?
If so, how would G2 be different from G3? Based on different dates? Where would the dates come from?
It seems like you need to rearrange the sheet, so you can reference different start and end dates and have results tabulated for each pair.
What do you mean by re-entering the formula?Code:I don't mind re-entering the formula each time I need to do a new subtotal, but then I need to change the cell address for the start and ent dates each time, also, if I've figured it correctly.
Does the attached format work for you?
modytrane
Modytrane, I used your formula and rethought what I wanted to accomplish. Here's what I put together -- on Sheet 1. On Sheet 2 I hand-entered what I had been thinking of doing. Thank you again for steering me in the right direction. By re-entering the formula, I meant that if I had a formula that worked for any given date range, I could then enter it in whatever cell I wanted and get an answer, for instance, if I decided to do a subtotal for the month of April, I could go to the row with the last April entry and insert the formula (with the appropriate dates in it) and get a subtotal for that month. Or at the end of a quarter, or semi-annually, or just whenever I decided to bill the estate for work performed but which hadn't yet been billed.
Last edited by StephenGNichols; 01-18-2010 at 06:56 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks