# Excel - IF Function Problem - Expert Solution

Question description:
This user has given permission to use the problem statement for this blog.

I need a formula for monthly counting of "canceled". if in a year data C1:C365 have few date C4, C8, C9, C24, C28 is canceled in Jan-2018 C4,C8 Feb-2018 C9,C24,C28. Kindly help to me for find the formula. Thanks
Solved by K. H. in 20 mins
This is the chat thread from the real Excelchat help session. It contains no private user information.
Excelchat Expert 03/10/2018 - 09:42
Hello
Excelchat Expert 03/10/2018 - 09:43
Sorry my net got stuck
Excelchat Expert 03/10/2018 - 09:43
Now can you please send me a demo of the sheet you are working on?
Excelchat Expert 03/10/2018 - 09:44
Are you there please?
Excelchat Expert 03/10/2018 - 09:48
can you please see the shared view?
Excelchat Expert 03/10/2018 - 09:50
Excelchat Expert 03/10/2018 - 09:50
Excelchat Expert 03/10/2018 - 09:50
So assuming you have the data of cancelled/not cancelled in column C and the date data in column D the formula will be:
Excelchat Expert 03/10/2018 - 09:51
Formula for Jan-18 and canceleld is in J2
Excelchat Expert 03/10/2018 - 09:51
Formula for Feb-18 and cancelleld is in K2
Excelchat Expert 03/10/2018 - 09:52
Formula for Jan-18 is : countifs(D:D,"Jan-18",C:C,"Cancelled")
Excelchat Expert 03/10/2018 - 09:52
Formula for Feb-18 is : countifs(D:D,"Feb-18",C:C,"Cancelled")
Excelchat Expert 03/10/2018 - 09:52
So this is ut!
Excelchat Expert 03/10/2018 - 09:52
*it!
Excelchat Expert 03/10/2018 - 09:52
have you got any confusions?

This is the output file from the real Excelchat help session:
This is an example of the expert help you can get. It contains no private user information.

Get instant expert help with Excel and Google Sheets

#### Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Your privacy is guaranteed. Your session will not be used for blog unless you give us persmission.

## Click here to get your free Excelchat help session

Trusted by people who work at