Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
L S
 
Posts: n/a
Default Condtional format of row depending on string value of $A2 +

Ok, I have a table that already has conditional formatting on columns
E:H. My table has a subtotal on it. I am trying to keep a private
record of my stock stuff, so heres a snippet of my table:

A - H
1 Stk Symbol - other headers
2 ADP 'other info
3 ADP 'other info
4 ADP Total
5 AMAT 'other info
6 AMAT 'other info
7 AMAT 'other info
8 AMAT Total

Ok, I have a table that already has conditional formatting on columns
E:H. I am trying to do a conditional format for whenever $A1 is greater
than ???? (no stock symbol has more than four characters) I want to
format the whole row's background to be gray. How can I do this?
I've tried several different formulas over several hours, then tried
=COUNTBLANK($A1)<"????*" but it takes away my other conditional
formatting and colors every cell gray. What can I do?

Thanks for your time.
LS

  #2   Report Post  
CLR
 
Posts: n/a
Default

Entered as a Conditional Formatting formula.....

=A1="????".........then format to choice

Vaya con Dios,
Chuck, CABGx3




"L S" wrote in message
oups.com...
Ok, I have a table that already has conditional formatting on columns
E:H. My table has a subtotal on it. I am trying to keep a private
record of my stock stuff, so heres a snippet of my table:

A - H
1 Stk Symbol - other headers
2 ADP 'other info
3 ADP 'other info
4 ADP Total
5 AMAT 'other info
6 AMAT 'other info
7 AMAT 'other info
8 AMAT Total

Ok, I have a table that already has conditional formatting on columns
E:H. I am trying to do a conditional format for whenever $A1 is greater
than ???? (no stock symbol has more than four characters) I want to
format the whole row's background to be gray. How can I do this?
I've tried several different formulas over several hours, then tried
=COUNTBLANK($A1)<"????*" but it takes away my other conditional
formatting and colors every cell gray. What can I do?

Thanks for your time.
LS



  #3   Report Post  
L S
 
Posts: n/a
Default

I tried it, and it worked well. Bad thing is that it turns off my other
conditional formatting. How about we somehow create an IF statement
that if $A1 contains the string "total" we only conditionally format
that particular line? That way it would not mess with the "other info"
conditional formatting. How could I go about doing that?

  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

Setup more than 1 condition in your CF, just make sure the highest priority
one is first.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"L S" wrote in message
oups.com...
I tried it, and it worked well. Bad thing is that it turns off my other
conditional formatting. How about we somehow create an IF statement
that if $A1 contains the string "total" we only conditionally format
that particular line? That way it would not mess with the "other info"
conditional formatting. How could I go about doing that?



  #5   Report Post  
RagDyeR
 
Posts: n/a
Default

How about posting *exactly* the formula that you're *presently* using in the
"Conditional Format", so that we might know what revisions might work for
you.
--

Regards,

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

"L S" wrote in message
oups.com...
I tried it, and it worked well. Bad thing is that it turns off my other
conditional formatting. How about we somehow create an IF statement
that if $A1 contains the string "total" we only conditionally format
that particular line? That way it would not mess with the "other info"
conditional formatting. How could I go about doing that?




  #6   Report Post  
L S
 
Posts: n/a
Default

Ok, here's my original conditional formulas (coming from 2 macros
written a while back):
Both of these format the numbers in E:H

Condition 1: (1 macro)
Cell value is < 0 color text red

Condition 2 and 3: (1 macro)
Cell value between 0.000001 and 0.01 color green
Cell value greater than 0.06 color yellow

These two macros work fine together.
Ok I just got a formula to work for the total lines- in every total
line column B is blank, so I just said =$B3=""
Unfortunately, the numbers in E:H lose the conditional formatting that
was stated earlier. I can run one of those macros again, but it goes
over the Total line formatting.
Is there a way to combine all of these things? Thanks again for your
help.

  #7   Report Post  
RagDyeR
 
Posts: n/a
Default

What you're looking for is to have *more* then 3 Conditional Formats.

First off, check out this link of John McGimpsey's:

http://www.mcgimpsey.com/excel/conditional6.html

This will show you how to use XL's formatting codes (*not* Conditional
Formatting) to color your displays according to the value in the cell.

Then, you can use Conditional Formatting to format the Pattern color of the
row based on the contents of Column A.

=LEN($A1)4

The Conditional Formatting (row colored Grey) will *not* override XL's
formatting codes.
--

HTH,

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


"L S" wrote in message
oups.com...
Ok, here's my original conditional formulas (coming from 2 macros
written a while back):
Both of these format the numbers in E:H

Condition 1: (1 macro)
Cell value is < 0 color text red

Condition 2 and 3: (1 macro)
Cell value between 0.000001 and 0.01 color green
Cell value greater than 0.06 color yellow

These two macros work fine together.
Ok I just got a formula to work for the total lines- in every total
line column B is blank, so I just said =$B3=""
Unfortunately, the numbers in E:H lose the conditional formatting that
was stated earlier. I can run one of those macros again, but it goes
over the Total line formatting.
Is there a way to combine all of these things? Thanks again for your
help.


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 do I format a row depending on the value of a cell in the row Kristine VA Excel Discussion (Misc queries) 1 May 13th 05 12:14 AM
can't format cell - have tried unlocking and unprotecting griffin Excel Discussion (Misc queries) 1 April 5th 05 02:11 AM
Change decimal format of cells depending on conditions? Cornelius Excel Worksheet Functions 1 February 25th 05 12:57 AM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM
copy conditional format as ACTUAL format Dana Zulager Excel Discussion (Misc queries) 7 December 7th 04 11:02 PM


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