A
Andrew
=SUMPRODUCT(--(MONTH($C$1:$C$100)=1),--(
YEAR($C$1:$C$100)=2004),$B$1:$B$100)
I used this code from an excel master to help me with my
problem. The trouble is the display in cell G4 was #VALUE!
Let me see if I can explain better what I am trying to
achieve by explaining my spread sheet:
column A is Employee Name
B is # of Copies
C is Date
D is Cost
E is Total Spent
F is Total Remaining
G is July Total $
H is Aug Total etc...including the quarters.
Right now I have formulas that put today's date in column
c whenever the employee puts a # in column B<=IF
(B4="","",IF(C4="",NOW(),C4))>. Also, the Total Spent &
Total Remaining are set to calculate the total. My problem
is I want the July column to add only the totals in column
D (cost)that were from the month of July. Instead of
manually doing it at the end of the month i.e. =sum
(D4
14). Can someone help me with this?
Thank you,
Andrew
YEAR($C$1:$C$100)=2004),$B$1:$B$100)
I used this code from an excel master to help me with my
problem. The trouble is the display in cell G4 was #VALUE!
Let me see if I can explain better what I am trying to
achieve by explaining my spread sheet:
column A is Employee Name
B is # of Copies
C is Date
D is Cost
E is Total Spent
F is Total Remaining
G is July Total $
H is Aug Total etc...including the quarters.
Right now I have formulas that put today's date in column
c whenever the employee puts a # in column B<=IF
(B4="","",IF(C4="",NOW(),C4))>. Also, the Total Spent &
Total Remaining are set to calculate the total. My problem
is I want the July column to add only the totals in column
D (cost)that were from the month of July. Instead of
manually doing it at the end of the month i.e. =sum
(D4
![Big Grin :D :D](/styles/default/custom/smilies/grin.gif)
Thank you,
Andrew