Pls help! Is there a solution to this problem?

newyork44

New Member
Joined
Feb 9, 2005
Messages
10
:cry: :cry: I want Excel to tell me all occurence (I do not want a count or number. I want Excel to color the cell) if it "contains" xyz condition. For example, I want to Excel to search for "976" regardless of position. For 914-976-1212, the answer will be yes. For 212-567-9764, again, the answer is yes. P.S. The spreadsheet contains over 60,000 numbers which made checking by viewing very cumberome.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
newyork.

1) click on cell a1 in your worksheet
2) highlight your entire sheet (ctrl+a)
3) goto format -> conditional formatting
4) change the drop down list from "cell value is" -> "formula is"
5) type in the box =NOT(ISERROR(FIND("976", A1)))
6) click on the command button "format..."
7) click on the tab "patterns"
8) select your favorite color
9) click "ok", then "ok" again.

hope that helps.
Ben.
 
Upvote 0
Use conditional formatting. I put the following condition in A1, and used the format painter to copy it to other cells:

=NOT(ISERROR(FIND("xyz",A1)))

Hope that helps!
 
Upvote 0
In conditional formatting...

=SEARCH("xyz",A1)

or, if case sensitiveness is required...

=FIND("xyz",A1)

will suffice.
 
Upvote 0
CAn i build muti- conditions? Say, I want Excel to color all cells w/ 550, 976, 970, 123, 892, ...etc.?
 
Upvote 0

Forum statistics

Threads
1,213,484
Messages
6,113,924
Members
448,533
Latest member
thietbibeboiwasaco

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