LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Nesting the ROW() command into a Conditional Format Formula

Hi,
I have a table with the months (January - December) on the right (Column A)
and the numerical days of the month (1-31) across the top (Row 9). Cell A9
contains the year (2009)

I want to condition the format of each cell that represents a weekend day to
be yellow fill.

I have the conditional formula(s) that performs this on cell B10 as:

=WEEKDAY((DATEVALUE(CONCATENATE(A10,"/",B9,"/",A9))),1)=1
=WEEKDAY((DATEVALUE(CONCATENATE(A10,"/",B9,"/",A9))),1)=7
=WEEKDAY((DATEVALUE(CONCATENATE(A10,"/",B9,"/",A9))),1)<71

I am trying to replace the A in cell reference A10 with a reference of
"ROW()" to give me the month of same row as the reference cell, and then also
replace the B in cell reference B9 with a reference of "COLUMN()" to bring in
the correct data.

can anybody help, or recommend another way to arrive at the solution?

Thanks in advance
--
Regards,
Andy Halford
 
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 format formula dzelnio Excel Discussion (Misc queries) 3 August 22nd 07 05:52 PM
Conditional Format & Formula Bob Excel Worksheet Functions 2 November 3rd 06 09:27 PM
nesting conditional formulas Nancy Excel Worksheet Functions 3 January 16th 06 05:21 PM
Nesting IF statements, Conditional Formatting Nick Danger Excel Discussion (Misc queries) 2 September 26th 05 10:31 PM
Conditional format with a formula Mike Echo Excel Worksheet Functions 6 July 19th 05 11:05 AM


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