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

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
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,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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