I want to count up the OP hours for physician A
I have a formula that works in some cases: (this is from the real document)
It compares the year, day, month individually.
=SUMIFS($G:$G,$A:$A,$A21,$C:$C,$E$1,$D:$D,$A$1,$E:$E,"OP*")
Unfortunately it no longer meets my needs now that I also want an ability to select between which dates I am summing the hrs. I want to use the =Value() function that calculates the numeric value of a date and then I want to drudge my document for lines where its Physician A, Location OP, Dates between Value(A1) and Value(A2) and add up all the hours. I tried using =ProductSum() but that does not seem to be an option with a wildcard string. A sample doc is attached.
Any help would be appreciated.
Best,
Bookmarks