Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Conditional Formatting with more than 3 conditions

I've seen some of the other solutions for conditional formatting with
more than 3 conditions - and I just cannot seem to get them to work
for me.

I have a spreadsheet that is created by exporting information from an
online database. I want some of the cells to be automatically colored
depending on what is inside them.

For example, in column C is the Status. For cells with the word
'LOST', I want them filled black with white text. For cells with the
word 'CONTRACT', I want them filled blue with white text. Cells that
say 'PROPOSAL', I want them green with white text. And those with the
word 'INACTIVE' or 'ABANDONED', I want them brown with white text.
And these colors only need to be in this column of cells (not spread
across the row).

In column B is the Type. For cells with the word 'RECOMPETE', I want
the text to be blue. This needs to be for that particular cell in
column B and it's preceding cell in column A.

In column L, the rows are assigned with a numerical value, 0 through
4. I want the cell to be filled with a different color depending on
which number is assigned.

There has to be a method to do this (I hope). Can anyone shed some
light??

Thanks so much,
Laurie
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Conditional Formatting with more than 3 conditions

Hi
if you don't mind using a beta release addin try:
http://www.xldynamic.com/source/xld.....Download.html

It will just do this

--
Regards
Frank Kabel
Frankfurt, Germany

"terrapinie" schrieb im Newsbeitrag
om...
I've seen some of the other solutions for conditional formatting with
more than 3 conditions - and I just cannot seem to get them to work
for me.

I have a spreadsheet that is created by exporting information from an
online database. I want some of the cells to be automatically

colored
depending on what is inside them.

For example, in column C is the Status. For cells with the word
'LOST', I want them filled black with white text. For cells with the
word 'CONTRACT', I want them filled blue with white text. Cells that
say 'PROPOSAL', I want them green with white text. And those with

the
word 'INACTIVE' or 'ABANDONED', I want them brown with white text.
And these colors only need to be in this column of cells (not spread
across the row).

In column B is the Type. For cells with the word 'RECOMPETE', I want
the text to be blue. This needs to be for that particular cell in
column B and it's preceding cell in column A.

In column L, the rows are assigned with a numerical value, 0 through
4. I want the cell to be filled with a different color depending on
which number is assigned.

There has to be a method to do this (I hope). Can anyone shed some
light??

Thanks so much,
Laurie


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Conditional Formatting with more than 3 conditions

If I use this and set up the formatting with it, when I send this file
to others, or upload it to a SharePoint site for others to download,
with the formatting keep? Or will everyone who wants to view the file
with the specified formatting have to also download this beta version
of formatting?

Thanks,
Laurie
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Conditional Formatting with more than 3 conditions

Hi
yes they also need this addin as otherwise the formats won't change
anymore if the data is changed. The last format though will remain

--
Regards
Frank Kabel
Frankfurt, Germany

"terrapinie" schrieb im Newsbeitrag
om...
If I use this and set up the formatting with it, when I send this

file
to others, or upload it to a SharePoint site for others to download,
with the formatting keep? Or will everyone who wants to view the

file
with the specified formatting have to also download this beta version
of formatting?

Thanks,
Laurie


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Conditional Formatting with more than 3 conditions

just write a macro that loops through your cells and examines each for the
conditions you have described. When the condition is met, format the cell
appropriately.

You can run the macro and process all appropriate cells, or you can use an
appropriate event to trigger the action when a cell changes or a calculation
occurs as an example.

See Chip Pearson's site on events for general information:

http://www.cpearson.com/excel/events.htm

--
Regards,
Tom Ogilvy


"terrapinie" wrote in message
om...
I've seen some of the other solutions for conditional formatting with
more than 3 conditions - and I just cannot seem to get them to work
for me.

I have a spreadsheet that is created by exporting information from an
online database. I want some of the cells to be automatically colored
depending on what is inside them.

For example, in column C is the Status. For cells with the word
'LOST', I want them filled black with white text. For cells with the
word 'CONTRACT', I want them filled blue with white text. Cells that
say 'PROPOSAL', I want them green with white text. And those with the
word 'INACTIVE' or 'ABANDONED', I want them brown with white text.
And these colors only need to be in this column of cells (not spread
across the row).

In column B is the Type. For cells with the word 'RECOMPETE', I want
the text to be blue. This needs to be for that particular cell in
column B and it's preceding cell in column A.

In column L, the rows are assigned with a numerical value, 0 through
4. I want the cell to be filled with a different color depending on
which number is assigned.

There has to be a method to do this (I hope). Can anyone shed some
light??

Thanks so much,
Laurie





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Conditional Formatting with more than 3 conditions

Try: Excel Hacks, by Hawley & Hawley, published by O'Reilly, page 206

Rgds,
Richard Lamey

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Conditional Formatting with more than 3 conditions

Question was asked and answered on Nov 10/11 2004.

No need to buy a book for simple problems like that; just search the
newsgroup archives.

--
Regards,
Tom Ogilvy

wrote in message
...
Try: Excel Hacks, by Hawley & Hawley, published by O'Reilly, page 206

Rgds,
Richard Lamey



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use 2 conditions in conditional formatting Asoka Walpitagama - Brandix College IT Excel Discussion (Misc queries) 1 November 12th 09 06:41 AM
More than just 3 Conditions for Conditional Formatting? Abdul Excel Discussion (Misc queries) 2 October 17th 08 02:17 AM
conditional formatting 5 conditions james b[_2_] Excel Discussion (Misc queries) 4 June 25th 08 05:29 PM
More conditions for Conditional Formatting? Ed Excel Discussion (Misc queries) 1 April 13th 06 08:22 AM
conditional formatting with four conditions Ring eye Excel Worksheet Functions 2 January 11th 06 12:35 AM


All times are GMT +1. The time now is 09:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"