ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Find & Replace problems... at the end of my thread (ha) (https://www.excelbanter.com/excel-discussion-misc-queries/448847-find-replace-problems-end-my-thread-ha.html)

dunndealpr

Find & Replace problems... at the end of my thread (ha)
 
1 Attachment(s)
Hey guys. I have Excel 2007. I have a spreadsheet with email addresses in it surrounded by other text. I want to automatically highlight in yellow each row containing the words gmail, yahoo, hotmail and so on.

I CTRL-H then enter the info as you see it in the pic attached. When I click Replace All it says "that function is not valid". It works like a charm for every other word I test it with. It's almost interesting in a head-exploding kind of way.

Any ideas?

Claus Busch

Find & Replace problems... at the end of my thread (ha)
 
Hi,

Am Thu, 6 Jun 2013 16:05:29 +0100 schrieb dunndealpr:

Hey guys. I have Excel 2007. I have a spreadsheet with email addresses
in it surrounded by other text. I want to automatically highlight in
yellow each row containing the words gmail, yahoo, hotmail and so on.


your strings in column A. Then try in B1:
=--(COUNT(FIND({"yahoo","gmail","hotmail"},A1))0)
Enlarge the formula for all other searched providers.
Select A1:Bn = Conditional Formatting = new Rule = use formula ...
and as formula:
=$B1=1 and format with your wished back color.


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2

dunndealpr

Quote:

Originally Posted by Claus Busch (Post 1612169)
Hi,

Am Thu, 6 Jun 2013 16:05:29 +0100 schrieb dunndealpr:

Hey guys. I have Excel 2007. I have a spreadsheet with email addresses
in it surrounded by other text. I want to automatically highlight in
yellow each row containing the words gmail, yahoo, hotmail and so on.


your strings in column A. Then try in B1:
=--(COUNT(FIND({"yahoo","gmail","hotmail"},A1))0)
Enlarge the formula for all other searched providers.
Select A1:Bn = Conditional Formatting = new Rule = use formula ...
and as formula:
=$B1=1 and format with your wished back color.


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2

interesting! wasn't hip to conditional formatting. not hip to formulas either, but it seems i don't even need them to get what i need done here. thanks!

it just seems like find and replace should have worked regardless though. that vexed me to no end.

Ron Rosenfeld[_2_]

Find & Replace problems... at the end of my thread (ha)
 
On Thu, 6 Jun 2013 18:47:13 +0100, dunndealpr wrote:

it just seems like find and replace should have worked regardless
though. that vexed me to no end.


It worked fine for me with Excel 2007. Of course, it only highlights the cell, not the entire row.


All times are GMT +1. The time now is 04:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com