Help with a formula

YOUNAN

Board Regular
Joined
Feb 10, 2015
Messages
101
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hello,

I need help with a formula.
i need to show YES if Cells C1, D1 are empty, and NO if they are populated ( C1 & D1 would contain date .

Thanks in advance
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
What if one is populated and the other isn't?

This would return "YES" if both were empty, otherwise return "NO" (if either of them has a value):
Code:
=IF(AND(C1="",D1=""),"YES","NO")
 
Upvote 0
Thank you very much for your fast respond.
even if one is populated it would return NO , when both are empty it would show YES.

Best regards.
 
Upvote 0
Hello again,

I wonder if someone could help me again, I want the above formula to be edited to do the following. I needed to do some changes in my members excel file.
C2 containes member name, D2 is if the member left, E2 if the member died, so if the row contains name and C & D cells are empty it should show Yes in cell F which means he is active. and would show NO if ay of cells C, D are populated.
when C2 ( name ) is empty nothing should show in CELL F2 ( yes or no ).

Thanks in advance
 
Upvote 0
C2 containes member name, D2 is if the member left, E2 if the member died, so if the row contains name and C & D cells are empty it should show Yes in cell F
I assume meant if row contains name and D and E are empty.

Try:
Code:
=IF(C2="","",IF(AND(D2="",E2=""),"Yes","No"))
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,632
Latest member
jladair

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top