DashboardNovice
Member
I have the following formula:
The criteria range in column R consists of a list of dates. For my criteria, I want Excel to choose dates in column R that are between the first day of the month AND the last day of the month. The first and last day of the month is determined by C1.
I can't figure out what is wrong with my syntax. Any ideas?
Edit: I have modified my formula to:
and still nothing occurs. When I use formula evaluator (F9) on the AND function, it shows a #VALUE error.
Code:
=SUMIFS('Vendor History'!$S:$S,'Vendor History'!$Q:$Q,$A2,'Vendor History'!$R:$R,AND(">="&EOMONTH(C$1,-1)+1,"<="&C$1))
The criteria range in column R consists of a list of dates. For my criteria, I want Excel to choose dates in column R that are between the first day of the month AND the last day of the month. The first and last day of the month is determined by C1.
I can't figure out what is wrong with my syntax. Any ideas?
Edit: I have modified my formula to:
Code:
=SUMIFS('Vendor History'!$S:$S,'Vendor History'!$Q:$Q,$A2,'Vendor History'!$R:$R,AND(">="&EOMONTH(C$1,-1)+1, "<="&EOMONTH(C$1,0)))
and still nothing occurs. When I use formula evaluator (F9) on the AND function, it shows a #VALUE error.
Last edited: