Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default formula for different cell contents

The worksheet has two rows which have numbers and some cells contain "N/A".

If the number in the top row is highest both top and bottom number need to
be highlighted in yellow. If the top number is lowest or contains "N/A" the
background needs to remain white.

The conditional formatting works great until the cell with the "N/A". Excel
views this as higher the any number.

Does anyone have any suggestion for this.

Thank you in adavance.




  #2   Report Post  
Posted to microsoft.public.excel.programming
Max Max is offline
external usenet poster
 
Posts: 9,221
Default formula for different cell contents

Try this ..

Select rows 1 & 2, and apply cond format
Cond1's formula: =A$1="N/A" ("No format set")
Cond2's formula: =A$1A$2 (set fill color: yellow)
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"sweetsue516" wrote in message
...
The worksheet has two rows which have numbers and some cells contain

"N/A".

If the number in the top row is highest both top and bottom number need to
be highlighted in yellow. If the top number is lowest or contains "N/A"

the
background needs to remain white.

The conditional formatting works great until the cell with the "N/A".

Excel
views this as higher the any number.

Does anyone have any suggestion for this.

Thank you in adavance.






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
Cell contents in formula bar Brettjg Excel Discussion (Misc queries) 9 January 31st 09 02:35 PM
using cell contents in a formula theadore Excel Worksheet Functions 2 September 13th 07 12:10 PM
Using cell contents within a formula Patrick Simonds Excel Worksheet Functions 2 December 17th 05 09:52 PM
Using contents of a cell in a formula Mike Excel Discussion (Misc queries) 4 June 9th 05 03:10 AM
Cell contents vs. Formula contents Sarah Excel Discussion (Misc queries) 3 December 15th 04 06:02 PM


All times are GMT +1. The time now is 02:20 AM.

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"