btadams
Well-known Member
- Joined
- Jan 6, 2003
- Messages
- 1,943
I have data like this:
Column A = dates
Column C = values
and I'm trying to create a formula that will return the maximum value in column C if the month in column A is equal to the month of a given date. Here's what I've been trying to use but it gives me a value of zero:
=MAX(IF(MONTH($F$3)=MONTH($A$11:$A$100),$C$11:$C$100))
as an array formula (Ctrl+Shift+Enter). Does anyone have any suggestions?
Thanks,
Column A = dates
Column C = values
and I'm trying to create a formula that will return the maximum value in column C if the month in column A is equal to the month of a given date. Here's what I've been trying to use but it gives me a value of zero:
=MAX(IF(MONTH($F$3)=MONTH($A$11:$A$100),$C$11:$C$100))
as an array formula (Ctrl+Shift+Enter). Does anyone have any suggestions?
Thanks,