Formula to determine if a velue exists or not

danniaus

New Member
Joined
Jun 2, 2016
Messages
20
Hello

So I have 3 fields

E26, E27, E28

What formula can I use to do the following:

Check to see if there is a value in any of the cells and if there is a value in one cell populate E25 with a "YES"

Thanks in advance
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Does this work for you? It should give YES if one or more cells ha a value.

=IF(COUNTBLANK(E26:E28)=3,"NO","YES")
 
Upvote 0
Hi Peter, thanks for your response, unfortunately it isn't working. Can I ask what the significance of the 3 is?
 
Upvote 0
Hi Peter, thanks for your response, unfortunately it isn't working. Can I ask what the significance of the 3 is?
In what way is Peter's formula not working? Are you getting an error message (if yes, what is it) or is it saying "YES" when the cells are blank (if so, do you have formulas in cells E26:E28)?

While you are at it, does this formula work...

=IF(LEN(E26&E27&E28),"YES","NO")
 
Upvote 0
Can I ask what the significance of the 3 is?
There are 3 cells in your range E26, E27 and E28.
Rick has asked some pertinent questions about your response to my suggestion.
If you do have formulas in any of those cells, can you please post those formulas?
 
Upvote 0

Forum statistics

Threads
1,215,002
Messages
6,122,652
Members
449,092
Latest member
peppernaut

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