Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / June 2005

Tip: Looking for answers? Try searching our database.

grouping

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MINAL ZUNKE - 28 Jun 2005 17:22 GMT
Hi
Experts

I want to group 12 cities in 3 different groups named as class A, class b
and class c .  three colour assigned to each class.  when I enter  a city
belonging to  a certain class, cell colour should change according to that
class, so just by viewing colour I can guess the class of that particular
city.

Any fantastic suggestion greatly appreciated!!!
gls858 - 28 Jun 2005 17:35 GMT
> Hi
> Experts
[quoted text clipped - 6 lines]
>
> Any fantastic suggestion greatly appreciated!!!

See help on conditional formatting.

gls858
RagDyer - 29 Jun 2005 03:49 GMT
You can use "Conditional Formatting".

You should start off by creating a data list of your cities in an
out-of-the-way area of your WS, say X1 to Z4.
X1 to X4 should be one class, and Y1:Y4 and Z1:Z4 the others.

Say you wish to format A1 to A20.
Select A1 to A20, with the focus of the selection in A1 (colored white).

Then, while all the cells are *still* selected,
<Format> <Conditional Format>
Change "CellValueIs" to "Formula Is",
And enter this formula in the second box:
=OR(A1=$X$1,A1=$X$2,A1=$X$3,A1=$X$4)

Then click on <Format>, and choose your format.
Then <OK>

Now, click <Add> to enter your second condition,
Again change "CellValueIs" to "Formula Is",
And enter this formula in the second box:
=OR(A1=$Y$1,A1=$Y$2,A1=$Y$3,A1=$Y$4)
Then click on <Format>, and choose your second format.
Then <OK>

Repeat for the third and final condition with:
=OR(A1=$Z$1,A1=$Z$2,A1=$Z$3,A1=$Z$4)
Set your 3rd format, then <OK> <OK>.

You now have to make sure that your entries into Column A are *exactly* the
same as you entered them into your data list.
Signature

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================

> Hi
> Experts
[quoted text clipped - 6 lines]
>
> Any fantastic suggestion greatly appreciated!!!
MINAL ZUNKE - 29 Jun 2005 08:47 GMT
hi
Rag Dyer

Thnx for you fantastic suggestion!! It is working Indeed
But one very small problem. The backgroud colour of all cells is changing to
the colour which is same as I have selected in CF1. Can you let me know how
to change the background colour to white. So that when I enter class A city
it changes to the colour I have selected for CF1 formating.

Thank you very much

> You can use "Conditional Formatting".
>
[quoted text clipped - 37 lines]
> >
> > Any fantastic suggestion greatly appreciated!!!
RagDyeR - 29 Jun 2005 16:36 GMT
Did you use different formats for each separate condition?

When you completed your last condition, all 3 conditions and formats should
be visible in the Conditional window.
Can you see the difference between them?
Signature


Regards,

RD
--------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
--------------------------------------------------------------------

hi
Rag Dyer

Thnx for you fantastic suggestion!! It is working Indeed
But one very small problem. The backgroud colour of all cells is changing to
the colour which is same as I have selected in CF1. Can you let me know how
to change the background colour to white. So that when I enter class A city
it changes to the colour I have selected for CF1 formating.

Thank you very much

"RagDyer" wrote:

> You can use "Conditional Formatting".
>
[quoted text clipped - 37 lines]
> >
> > Any fantastic suggestion greatly appreciated!!!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.