If One of 3 cells have an entry then the other cell responds

TPD

Board Regular
Joined
Dec 10, 2003
Messages
54
Hello,

I have a problem with a workbook that I really need a fix for.

I have a worksheet named "Screening Form" that contains 3 cells (C30,D30,E30) that may or may not be populated depending on the user's requirement.

In another worksheet named"SDI Discovery" I have a cell (J39)that I would like to either read, "YES" or "NO" based on the action of the other worksheet's 3 cells.

If ANY cell is filled in within those 3 cells in the Screening Form sheet then I want the cell J39 to read "YES",...and likewise if none of the cells in the Screening Form are filled in then I would like J39 to read "NO".

I can't get my hand around how this formula should read. I'm not well enough versed in Excel to write a formula.

(Logically here is what I'm trying to accomplish)

If EITHER one of the cells C30, D30, E30 have an entry,
Then J39 (located in the SDI Discovery Sheet) shall read YES.

If None of the cells C30, D30, E30 have an entry,
Then J39 (located in the SDI Discovery Sheet) shall read NO.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Hi Try this in J39 of SDI Dicovery

=IF('Screening Form'!C20:E20<>"", "YES", "NO")

HTH


Dave
 
Upvote 0
You can use the COUNTBLANK function to determine how many cells contain data:

=IF(COUNTBLANK('Screening Form'!C30:E30)=3,"NO","YES")
 
Upvote 0
Try this in J39

=If(COUNTA('Screening Form'!C30:D30),"YES","NO")
 
Upvote 0
UNBELIEVABLE!!! All of you! Thanks so much!!!!!!!!

I have one other question,..but I will create a new post for it so that if it is answered,...others may be able to learn from it as well.

Thanks again!

Todd
 
Upvote 0
Try this in J39

=If(COUNTA('Screening Form'!C30:D30),"YES","NO")

Just a note on this: COUNTA does count the number of cells that contain data, but it *also* counts cells that contain formulas (even if the formula result is displaying a "blank").
 
Upvote 0

Forum statistics

Threads
1,214,784
Messages
6,121,536
Members
449,037
Latest member
tmmotairi

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