#1   Report Post  
Posted to microsoft.public.excel.misc
nastech
 
Posts: n/a
Default format whole row..

Hi, looking for way to cond. format whole row for 3 dif conditions left = 1 2
or 3.

trying to find something bit dynamic like: (not quite working, thanks)
=OR(LEFT(CELL(),1)="1")
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron de Bruin
 
Posts: n/a
Default format whole row..

Select the whole row (click on the row header)

When you do this for row 1 A1 is active

Use this formula for the first condition
=LEFT(A1,1)="1"


--
Regards Ron de Bruin
http://www.rondebruin.nl


"nastech" wrote in message ...
Hi, looking for way to cond. format whole row for 3 dif conditions left = 1 2
or 3.

trying to find something bit dynamic like: (not quite working, thanks)
=OR(LEFT(CELL(),1)="1")



  #3   Report Post  
Posted to microsoft.public.excel.misc
nastech
 
Posts: n/a
Default format whole row..

thanks..

"Ron de Bruin" wrote:

Select the whole row (click on the row header)

When you do this for row 1 A1 is active

Use this formula for the first condition
=LEFT(A1,1)="1"


--
Regards Ron de Bruin
http://www.rondebruin.nl


"nastech" wrote in message ...
Hi, looking for way to cond. format whole row for 3 dif conditions left = 1 2
or 3.

trying to find something bit dynamic like: (not quite working, thanks)
=OR(LEFT(CELL(),1)="1")




  #4   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default format whole row..

Something like

=OR(LEFT($A1,1)="1",LEFT($A1,1)="2",LEFT($A1,1)="3 ")

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"nastech" wrote in message
...
Hi, looking for way to cond. format whole row for 3 dif conditions left =

1 2
or 3.

trying to find something bit dynamic like: (not quite working, thanks)
=OR(LEFT(CELL(),1)="1")



  #5   Report Post  
Posted to microsoft.public.excel.misc
nastech
 
Posts: n/a
Default format whole row..

thanks..

"Bob Phillips" wrote:

Something like

=OR(LEFT($A1,1)="1",LEFT($A1,1)="2",LEFT($A1,1)="3 ")

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"nastech" wrote in message
...
Hi, looking for way to cond. format whole row for 3 dif conditions left =

1 2
or 3.

trying to find something bit dynamic like: (not quite working, thanks)
=OR(LEFT(CELL(),1)="1")






  #6   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default format whole row..

"nastech" wrote:
looking for way to cond. format
whole row for 3 dif conditions left = 1 2 or 3.
trying to find something bit dynamic like:
(not quite working, thanks)
=OR(LEFT(CELL(),1)="1")


Assuming we have text data within col A, eg:

1A
2B
3C
1E
1K
3K
etc

then we could select the entire sheet (with A1 active)
and use something like this
as the CF conds 1 - 3's "Formula is"

Cond1: =LEFT($A1,1)+0=1
Cond2: =LEFT($A1,1)+0=2
Cond3: =LEFT($A1,1)+0=3

The CF would color the entire row*
based on the leftmost digit in col A
*the dollar sign in "$A.." is the key for entire row formatting
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


  #7   Report Post  
Posted to microsoft.public.excel.misc
nastech
 
Posts: n/a
Default format whole row..

Hi, that works great,.. Is there a modifcation to that for where cursor is,
cond. format takes effect? thanks..

"Max" wrote:

"nastech" wrote:
looking for way to cond. format
whole row for 3 dif conditions left = 1 2 or 3.
trying to find something bit dynamic like:
(not quite working, thanks)
=OR(LEFT(CELL(),1)="1")


Assuming we have text data within col A, eg:

1A
2B
3C
1E
1K
3K
etc

then we could select the entire sheet (with A1 active)
and use something like this
as the CF conds 1 - 3's "Formula is"

Cond1: =LEFT($A1,1)+0=1
Cond2: =LEFT($A1,1)+0=2
Cond3: =LEFT($A1,1)+0=3

The CF would color the entire row*
based on the leftmost digit in col A
*the dollar sign in "$A.." is the key for entire row formatting
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---



  #8   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default format whole row..

"nastech" wrote:
Hi, that works great,..


Glad to hear that !

Is there a modifcation to that for where cursor is,
cond. format takes effect?


Ah, think it's not possible via normal CF <g

Not sure about vba though,
but that route's beyond my depth to offer

Hang around awhile to see whether Ron / Bob, or
others versed in vba might jump in with something for you

In the interim, perhaps a possible "fuzzy" fit <g
as to the cursor sensitive mod you're after
might be Chip's RowLiner:
http://www.cpearson.com/excel/RowLiner.htm

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


  #9   Report Post  
Posted to microsoft.public.excel.misc
David McRitchie
 
Posts: n/a
Default format whole row..

Maybe I don't understand your question, as it seems it was in Max's
reply, perhaps this is a bit more explicit..

The formula used is based on the active cell location when the formula
is entered. The formula with adjustments relative to that active cell
is applied to all cells in the selection. The $A means that for each
cell on the row the column A cell will be the cell tested. See
http://www.mvps.org/dmcritchie/excel/condfmt.htm

So if you used A1 it would be testing it's own cell if A1 were the active
cell with $A1 being test your cursor could be anywhere on Row 1 to
get the same result for that address in the formula.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"nastech" wrote in message ...
Hi, that works great,.. Is there a modifcation to that for where cursor is,
cond. format takes effect? thanks..


Cond1: =LEFT($A1,1)+0=1
Cond2: =LEFT($A1,1)+0=2
Cond3: =LEFT($A1,1)+0=3

The CF would color the entire row*
based on the leftmost digit in col A
*the dollar sign in "$A.." is the key for entire row formatting
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---






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
Office2000: Conditional format behaves strangely Arvi Laanemets Excel Discussion (Misc queries) 1 April 7th 05 08:47 AM
can't format cell - have tried unlocking and unprotecting griffin Excel Discussion (Misc queries) 1 April 5th 05 02:11 AM
why does currency format change to number format? Cassie Excel Discussion (Misc queries) 3 March 18th 05 06:57 PM
Keep custom format in new worksheet Buddy Excel Discussion (Misc queries) 2 March 14th 05 10:03 AM
Copying a conditional format Meaux Excel Worksheet Functions 2 November 29th 04 10:19 AM


All times are GMT +1. The time now is 04:00 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"