ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Coloring of cell when entering data (https://www.excelbanter.com/new-users-excel/153186-coloring-cell-when-entering-data.html)

Qisme615

Coloring of cell when entering data
 
I have to input client's last and first names ( 2 different columns). I want
to be able to type the last name and each cell in the last name column will
change color automatically when I type. I know how to color the whole column
but not this method. A coworker was able to do it but she left and I can't
ask her. Hope I made sense, if someone could guide me I would appreciate it.

Thank you.

Bernard Liengme

Coloring of cell when entering data
 
Sounds like a Conditional Formatting task
Suppose the 'test name' goes in A1; and your data is in A2:B2000 (surname in
A)
Select A2:A2000 (or A2:B2000)
Use Format | Conditional Formatting
In dialog, use Formula Is; =A2=$A$1, click Format button on dialog, open
Pattern tab and select colour as needed
best wishes

--
Bernard Liengme
http://people.stfx.ca/bliengme

"Qisme615" wrote in message
...
I have to input client's last and first names ( 2 different columns). I
want
to be able to type the last name and each cell in the last name column
will
change color automatically when I type. I know how to color the whole
column
but not this method. A coworker was able to do it but she left and I can't
ask her. Hope I made sense, if someone could guide me I would appreciate
it.

Thank you.



Trevor Shuttleworth

Coloring of cell when entering data
 
Let's assume the data you are searching for in cell A1 and your column of
data is in column B

Use the conditional formatting formula:
=AND($A$1<"",LEFT(B1,LEN($A$1))=$A$1) and choose whatever format you
want

Regards

Trevor


"Qisme615" wrote in message
...
I have to input client's last and first names ( 2 different columns). I
want
to be able to type the last name and each cell in the last name column
will
change color automatically when I type. I know how to color the whole
column
but not this method. A coworker was able to do it but she left and I can't
ask her. Hope I made sense, if someone could guide me I would appreciate
it.

Thank you.




Gord Dibben

Coloring of cell when entering data
 
Select last name column..........B for example.

FormatConditional FormattingFormula is:

=ISTEXT($B1)

Format to a color and OK your way out.


Gord Dibben MS Excel MVP

On Mon, 6 Aug 2007 11:32:12 -0700, Qisme615
wrote:

I have to input client's last and first names ( 2 different columns). I want
to be able to type the last name and each cell in the last name column will
change color automatically when I type. I know how to color the whole column
but not this method. A coworker was able to do it but she left and I can't
ask her. Hope I made sense, if someone could guide me I would appreciate it.

Thank you.



Qisme615

Coloring of cell when entering data
 
Thank you everyone. It worked. Woohoo! Thank you again!


All times are GMT +1. The time now is 07:38 AM.

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