AdamSalam
New Member
- Joined
- Mar 10, 2018
- Messages
- 15
Hi everyone ..
I am working on an "Array" formula to SUM totals of specific month like so ..
=SUM(IF(MONTH($B6:$B263)=$E$6,$C6:$C263,""))
The problem is that if the user enter a value of the month like 13, for example, the total amount getting "0"
I add the IFERROR function so in that case there should be a message telling the user to enter only values between 1 and 12
I tried the below...
=IFERROR(SUM(IF(MONTH($B6:$B263)=$G$7,$C6:$C263,"")), "Month between 1-12")
unfortunately in case of error I get "0" total
can any body correct me on the same
thank you
I am working on an "Array" formula to SUM totals of specific month like so ..
=SUM(IF(MONTH($B6:$B263)=$E$6,$C6:$C263,""))
The problem is that if the user enter a value of the month like 13, for example, the total amount getting "0"
I add the IFERROR function so in that case there should be a message telling the user to enter only values between 1 and 12
I tried the below...
=IFERROR(SUM(IF(MONTH($B6:$B263)=$G$7,$C6:$C263,"")), "Month between 1-12")
unfortunately in case of error I get "0" total
can any body correct me on the same
thank you