Help finding specific instance in a range

smonczka

New Member
Joined
Nov 3, 2005
Messages
39
Hello All,

I am trying to help my son with his homework. He has several rows of cells where if any one cell equels n then the row is false.

For example n=Blue
A1,B1,C1,D1,E1 returns F1
Blue,Red,Red,Orange,Red False
Red,Red,Orange,Brown,Red True

Is there a formula that looks for a specific instance in a range and returns true or false?

Thanks for the help.

Steve Monczka
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
you can try something like,

=IF(COUNTIF(A1:E1,"Blue")>=1,"False","True")

You can replace blue with a cell reference also.
 
Upvote 0

Forum statistics

Threads
1,206,971
Messages
6,075,925
Members
446,170
Latest member
zzzz02

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