# Excel - IF Function Problem - Expert Solution

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

I need an excel formula to let me know, the # of cells where column B is blank but only if column A has content. Can you help me out with that? A B 1.Name Cruise 2. Job 3.
Solved by X. J. in 12 mins
This is the chat thread from the real Excelchat help session. It contains no private user information.
Excelchat Expert 26/02/2018 - 05:20
Welcome to excel got it pro
User 26/02/2018 - 05:20
ok thank you
Excelchat Expert 26/02/2018 - 05:21
Please gimme a couple of minutes.
Excelchat Expert 26/02/2018 - 05:30
I have the solution.
Excelchat Expert 26/02/2018 - 05:30
=countifs(A2:A7,"<>"&"",B2:B7,"") here is the formula.
Excelchat Expert 26/02/2018 - 05:31
First it will count the non empty cells in column A with A2:A7,"<>"&"" then it will check column B for empty cells with B2:B7,""
User 26/02/2018 - 05:31
Thank you so much for your help....much appreciated
Excelchat Expert 26/02/2018 - 05:32
My pleasure.
Excelchat Expert 26/02/2018 - 05:32
Please close the session now by clicking on the end session button.
Excelchat Expert 26/02/2018 - 05:32
After that you would be asked to rate me.
User 26/02/2018 - 05:32
ok thanks again so much
User 26/02/2018 - 05:32
ok
Excelchat Expert 26/02/2018 - 05:32
I would appreciate a 5 star rating. :)
User 26/02/2018 - 05:32
absolutely :)
User 26/02/2018 - 05:32
have a great day
Excelchat Expert 26/02/2018 - 05:32
Thanks for trying excel got it it pro. Have a great day!

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.