Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default conditional formatting

Hi

Is it possible to highlight these datas in a sheet using conditional
formatting as :

10000000 as red, and

1234567ab ( there might be 1 or 2 alpha after the numbers) as blue, and
a12345 ( there might be 1 or 2 alpha in front of the numbers as green.

thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default conditional formatting

Yes

if left("1234567ab",9) = A1

if right("a12345",6) = A2

"franciz" wrote:

Hi

Is it possible to highlight these datas in a sheet using conditional
formatting as :

10000000 as red, and

1234567ab ( there might be 1 or 2 alpha after the numbers) as blue, and
a12345 ( there might be 1 or 2 alpha in front of the numbers as green.

thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default conditional formatting

I am not sure how to use this in conditional formatting in Excel

"Joel" wrote:

Yes

if left("1234567ab",9) = A1

if right("a12345",6) = A2

"franciz" wrote:

Hi

Is it possible to highlight these datas in a sheet using conditional
formatting as :

10000000 as red, and

1234567ab ( there might be 1 or 2 alpha after the numbers) as blue, and
a12345 ( there might be 1 or 2 alpha in front of the numbers as green.

thanks


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default conditional formatting

In conditional formating if you change cell Value is to formula is you can
put in a formula like the one below where A1 is the cell you are comparing
against.

=IF( LEFT("1234567ab",9) = A1,TRUE,FALSE)

"franciz" wrote:

I am not sure how to use this in conditional formatting in Excel

"Joel" wrote:

Yes

if left("1234567ab",9) = A1

if right("a12345",6) = A2

"franciz" wrote:

Hi

Is it possible to highlight these datas in a sheet using conditional
formatting as :

10000000 as red, and
1234567ab ( there might be 1 or 2 alpha after the numbers) as blue, and
a12345 ( there might be 1 or 2 alpha in front of the numbers as green.

thanks


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default conditional formatting

Hi Joel

Thank for looking into this. what I want is that if I have either of these
data in the sheet, comditiomal formatting can do the job for me
10000000 as red, and
1234567ab ( there might be 1 or 2 alpha after the numbers) as blue, and
a12345 ( there might be 1 or 2 alpha in front of the numbers as green.


TIA


"Joel" wrote:

In conditional formating if you change cell Value is to formula is you can
put in a formula like the one below where A1 is the cell you are comparing
against.

=IF( LEFT("1234567ab",9) = A1,TRUE,FALSE)

"franciz" wrote:

I am not sure how to use this in conditional formatting in Excel

"Joel" wrote:

Yes

if left("1234567ab",9) = A1

if right("a12345",6) = A2

"franciz" wrote:

Hi

Is it possible to highlight these datas in a sheet using conditional
formatting as :

10000000 as red, and
1234567ab ( there might be 1 or 2 alpha after the numbers) as blue, and
a12345 ( there might be 1 or 2 alpha in front of the numbers as green.

thanks




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default conditional formatting

I was locked out of responding to you since Friday. Not usre why.

You can have up to three independent Conditional Formats for each cell.
Only one show up initially. To add the other two you have to use the add
button on Conditional Formats menu. Each Conditional Format can have a
different color. Press Formats and then Patterns to set the color from the
Conditional Formatt menu.

The conditional format check if the first condition is true and will change
the color if TRUE. If the First condtion is FALSE then it check the second,
and if the second is false then it checks the 3rd.

"franciz" wrote:

Hi Joel

Thank for looking into this. what I want is that if I have either of these
data in the sheet, comditiomal formatting can do the job for me
10000000 as red, and
1234567ab ( there might be 1 or 2 alpha after the numbers) as blue, and
a12345 ( there might be 1 or 2 alpha in front of the numbers as green.


TIA


"Joel" wrote:

In conditional formating if you change cell Value is to formula is you can
put in a formula like the one below where A1 is the cell you are comparing
against.

=IF( LEFT("1234567ab",9) = A1,TRUE,FALSE)

"franciz" wrote:

I am not sure how to use this in conditional formatting in Excel

"Joel" wrote:

Yes

if left("1234567ab",9) = A1

if right("a12345",6) = A2

"franciz" wrote:

Hi

Is it possible to highlight these datas in a sheet using conditional
formatting as :

10000000 as red, and
1234567ab ( there might be 1 or 2 alpha after the numbers) as blue, and
a12345 ( there might be 1 or 2 alpha in front of the numbers as green.

thanks


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 can I convert conditional formatting into explicit formatting? Patrick Harris Excel Discussion (Misc queries) 0 April 9th 09 12:00 AM
Conditional formatting--different formatting depending on cell con Tammy S. Excel Discussion (Misc queries) 3 March 30th 09 08:11 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


All times are GMT +1. The time now is 12:30 PM.

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"