Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jaydubs
 
Posts: n/a
Default Does a certain day fall in a particular week.

Hello Excel(lent) users,

I am looking for a way to indicate whether a certain day falls in a certain
week.

I have a header of week numbers from 1 till 7. In a certain (undifened) cell
i have noted =today(). Now I want the particular week to be highlited if the
day of today falls in that week. Anybody cares to help?

Thanks !!
--
** Fool on the hill **
  #2   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Does a certain day fall in a particular week.

Hi!

Do you mean the weekday numbers from 1 to 7?

What do you consider to be the first weekday of the week? Monday? Sunday?

Assume your numbered headers are in A1:G1

Select that range, A1:G1
Goto FormatConditional Formatting
If Monday is weekday 1 then:
Formula is: =A1=WEEKDAY(TODAY(),2)
If Sunday is weekday 1 then:
Formula is: =A1=WEEKDAY(TODAY())
Click the Format button
Select the style(s) desired
OK out

Biff

"Jaydubs" wrote in message
...
Hello Excel(lent) users,

I am looking for a way to indicate whether a certain day falls in a
certain
week.

I have a header of week numbers from 1 till 7. In a certain (undifened)
cell
i have noted =today(). Now I want the particular week to be highlited if
the
day of today falls in that week. Anybody cares to help?

Thanks !!
--
** Fool on the hill **



  #3   Report Post  
Posted to microsoft.public.excel.misc
Roger Govier
 
Posts: n/a
Default Does a certain day fall in a particular week.

Hi
Let A1 hold the date for the start of the year, as far as you are
concerned for Week numbering e.g. 02/01/2006 (2nd Jan 2006)
Let B1 hold =TODAY()
Let A2::G2 hold your week numbers 1 through 7

Mark A2:G2
FormatConditional FormattingFormula is
=AND($B$1$A$1+(A2-1)*7,$B$1<$A$1+A2*7)
Choose Format as required.


--
Regards

Roger Govier



Jaydubs wrote:
Hello Excel(lent) users,

I am looking for a way to indicate whether a certain day falls in a
certain week.

I have a header of week numbers from 1 till 7. In a certain
(undifened) cell i have noted =today(). Now I want the particular
week to be highlited if the day of today falls in that week. Anybody
cares to help?

Thanks !!
--
** Fool on the hill **



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
Moving week numbers Bob Excel Worksheet Functions 0 November 3rd 05 10:27 AM
Formula for If Term is on Certain Date then Count Krisjhn Excel Worksheet Functions 3 August 30th 05 07:57 PM
user defined function Brian Rogge Excel Worksheet Functions 5 May 23rd 05 06:21 PM
Line or bar graphs for tracking stocks profit and loss. Mocity Charts and Charting in Excel 1 January 21st 05 01:21 AM
I need week number in excell from a date, first week must be mini. jPeich Excel Discussion (Misc queries) 4 January 5th 05 01:21 AM


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