LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
jkl jkl is offline
external usenet poster
 
Posts: 17
Default Conditional Formatting In and Across Sheets

Thanks Max!

"Max" wrote:

"jkl" wrote:
.. =AND(M$2=$E7,M$2<=$F7) where E7 and F7 each contain a date
But if I try to use that condition to refer to e7 and f7 in a different
sheet, I'm not allowed to do it . . .


You could also try INDIRECT, something along these lines ..

Assuming E7 and F7 are in Sheet2,
use as the CF formula (in say, Sheet1):

=AND(M$2=INDIRECT("'Sheet2'!E7"),M$2<=INDIRECT("' Sheet2'!F7"),INDIRECT("'Sheet2'!E7")<"",INDIRECT( "'Sheet2'!F7")<"")

Above contains 2 additional checks to ensure that E7 and F7 in Sheet2 are
not blank. These will help to prevent false indications caused by blank
cells.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

 
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



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

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"