Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 49
Default need help with conditional formatting 3 criteria

I want odd columns to use a red font, and even columns to use a blue
font.
I have this working now using two conditional formatting criteria.

Now I want to add another criteria that formats any negative values in
an even column to have a yellow background, but I can't get it to work.

I tried something like =AND(MOD(COLUMN(),2)=0,A1<0) as the 3rd
criteria of the type FORMULA IS.

I thought this would work, but it doesn't. In fact, that above
criteria doesn't even work when used all by itself on another sheet.

Have I run into undocumented limitations of conditional formatting?

Thanks,

Brian Murphy
Austin, Texas

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 618
Default need help with conditional formatting 3 criteria

That criterion works by itself, but if you've got the "even columns in blue
font" criterion earlier it will take that in preference.

If you put your more restrictive condition [the AND() criterion] first, with
the separate even column one later, it will put your negative evens on the
yellow background (but if you want the blue font you'll need to include that
in the first format). The remainder of the even column entries will be
given the blue font by the later condition.
--
David Biddulph

wrote in message
ups.com...
I want odd columns to use a red font, and even columns to use a blue
font.
I have this working now using two conditional formatting criteria.

Now I want to add another criteria that formats any negative values in
an even column to have a yellow background, but I can't get it to work.

I tried something like =AND(MOD(COLUMN(),2)=0,A1<0) as the 3rd
criteria of the type FORMULA IS.

I thought this would work, but it doesn't. In fact, that above
criteria doesn't even work when used all by itself on another sheet.

Have I run into undocumented limitations of conditional formatting?

Thanks,

Brian Murphy
Austin, Texas



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 49
Default need help with conditional formatting 3 criteria

Thank you, David.

I tried it that way, and it worked!

I thought I already tried that yesterday. Whatever I did then did not
work.

Anyway, now I've got what I wanted.

Cheers,

Brian

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
Conditional Formatting with more than 3 Criteria enginguven Excel Discussion (Misc queries) 4 October 31st 06 07:08 PM
cannot use ISEVEN or ISODD functions in Conditional Formatting Scott Paine Excel Worksheet Functions 6 December 6th 05 09:44 PM
enhanced conditional formatting Stuart Excel Discussion (Misc queries) 13 November 13th 05 07:20 PM
Can I set more than three criteria for conditional formatting? River Excel Worksheet Functions 2 July 11th 05 08:57 AM
Conditional Formatting in Excel Help Please..... Willie T Excel Discussion (Misc queries) 4 February 9th 05 02:28 PM


All times are GMT +1. The time now is 07:46 PM.

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

About Us

"It's about Microsoft Excel"