Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Format row using date

Help!!! I think this can be done but Im not sure how to do it I need to
highlight an entire row basted on a date in the first column. I will
explain. Column A has dates starting with 7/6/09 I have information in
columns B-AE if the date in A falls into this week (changing each week)
A-AE will highlight in orange Can this be done as a conditional format or a
VBA? Any help would be great.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Format row using date

Hi,

Select the entire row and apply the folowing conditional format formula

=AND(WEEKNUM(A1)=WEEKNUM(NOW()),YEAR(A1)=YEAR(NOW( )))

Mike

"Carolina Girl" wrote:

Help!!! I think this can be done but Im not sure how to do it I need to
highlight an entire row basted on a date in the first column. I will
explain. Column A has dates starting with 7/6/09 I have information in
columns B-AE if the date in A falls into this week (changing each week)
A-AE will highlight in orange Can this be done as a conditional format or a
VBA? Any help would be great.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Format row using date

Mike

Thanks for the fast response. But my understanding is that WEEKNUM will not
work in 2003. Do you happen to have another suggestion??? I should also
mention that my list of dates are weeks ie 7/6, 7/13,7/20. If today is 7/15
I need Cells A-E highlighted under for week of 7/13. Do you have any other
suggestions? Thanks again




"Mike H" wrote:

Hi,

Select the entire row and apply the folowing conditional format formula

=AND(WEEKNUM(A1)=WEEKNUM(NOW()),YEAR(A1)=YEAR(NOW( )))

Mike

"Carolina Girl" wrote:

Help!!! I think this can be done but Im not sure how to do it I need to
highlight an entire row basted on a date in the first column. I will
explain. Column A has dates starting with 7/6/09 I have information in
columns B-AE if the date in A falls into this week (changing each week)
A-AE will highlight in orange Can this be done as a conditional format or a
VBA? Any help would be great.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Format row using date

If WEEKNUM does not work in your version of XL2003 it is because you
need to install the Analysis tool-pack. Check out XL Help on WEEKNUM
for further details.

However, I don't think it will work if your data is in the form 7/6,
7/13 etc. I don't understand this format - can you elaborate?

Pete

On Sep 18, 2:43*pm, Carolina Girl
wrote:
Mike

Thanks for the fast response. But my understanding is that WEEKNUM will not
work in 2003. Do you happen to have another suggestion??? I should also
mention that my list of dates are weeks ie 7/6, 7/13,7/20. If today is 7/15
I need Cells A-E highlighted under for week of 7/13. Do you have any other
suggestions? Thanks again



"Mike H" wrote:
Hi,


Select the entire row and apply the folowing conditional format formula


=AND(WEEKNUM(A1)=WEEKNUM(NOW()),YEAR(A1)=YEAR(NOW( )))


Mike


"Carolina Girl" wrote:


Help!!! I think this can be done but Im not sure how to do it I need to
highlight an entire row basted on a date in the first column. I will
explain. Column A has dates starting with 7/6/09 I have information in
columns B-AE if the date in A falls into this week (changing each week)
A-AE will highlight in orange Can this be done as a conditional format or a
VBA? *Any help would be great.- Hide quoted text -


- Show quoted text -


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Format row using date

Thanks Pete... My only question would be is if someone else opens this
spreadsheet and has not installed the Analysis tool-pack would they be able
to see the conditional format formula work. The reason I ask is I am building
this for another manager at my office. As for the 7/6 date I just have it
formatted with the Format cells - date- 3/14 should this be formatted in a
different way? Thanks again for all the help



"Pete_UK" wrote:

If WEEKNUM does not work in your version of XL2003 it is because you
need to install the Analysis tool-pack. Check out XL Help on WEEKNUM
for further details.

However, I don't think it will work if your data is in the form 7/6,
7/13 etc. I don't understand this format - can you elaborate?

Pete

On Sep 18, 2:43 pm, Carolina Girl
wrote:
Mike

Thanks for the fast response. But my understanding is that WEEKNUM will not
work in 2003. Do you happen to have another suggestion??? I should also
mention that my list of dates are weeks ie 7/6, 7/13,7/20. If today is 7/15
I need Cells A-E highlighted under for week of 7/13. Do you have any other
suggestions? Thanks again



"Mike H" wrote:
Hi,


Select the entire row and apply the folowing conditional format formula


=AND(WEEKNUM(A1)=WEEKNUM(NOW()),YEAR(A1)=YEAR(NOW( )))


Mike


"Carolina Girl" wrote:


Help!!! I think this can be done but Im not sure how to do it I need to
highlight an entire row basted on a date in the first column. I will
explain. Column A has dates starting with 7/6/09 I have information in
columns B-AE if the date in A falls into this week (changing each week)
A-AE will highlight in orange Can this be done as a conditional format or a
VBA? Any help would be great.- Hide quoted text -


- Show quoted text -





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Format row using date

Ah, right !! So 7/6 means 6th July, 7/13 is 13th July ? And you are
not showing the year ?

Yes, you are right in that if the file is used on a PC where the ATP
is not installed then that user will get the errors you mentioned
earlier. I usually avoid using ATP functions and other add-ins for
this very reason, as you can't ensure that users will have the ATP
installed.

Possible ways around this:

a. include a UDF which gives you the week number (disadvantages: your
users will have to enable macros when they start with the file, and if
they don't then they will see errors),

b. use a different formula which calculates week number by using only
the standard Excel functions.

Hope this helps.

Pete

On Sep 18, 8:27*pm, Carolina Girl
wrote:
Thanks Pete... My only question would be is if someone else opens this
spreadsheet and has not installed the Analysis tool-pack would they be able
to see the conditional format formula work. The reason I ask is I am building
this for another manager at my office. As for the 7/6 date I just have it
formatted with the Format cells - date- 3/14 should this be formatted in a
different way? Thanks again for all the help



"Pete_UK" wrote:
If WEEKNUM does not work in your version of XL2003 it is because you
need to install the Analysis tool-pack. Check out XL Help on WEEKNUM
for further details.


However, I don't think it will work if your data is in the form 7/6,
7/13 etc. I don't understand this format - can you elaborate?


Pete


On Sep 18, 2:43 pm, Carolina Girl
wrote:
Mike


Thanks for the fast response. But my understanding is that WEEKNUM will not
work in 2003. Do you happen to have another suggestion??? I should also
mention that my list of dates are weeks ie 7/6, 7/13,7/20. If today is 7/15
I need Cells A-E highlighted under for week of 7/13. Do you have any other
suggestions? Thanks again


"Mike H" wrote:
Hi,


Select the entire row and apply the folowing conditional format formula


=AND(WEEKNUM(A1)=WEEKNUM(NOW()),YEAR(A1)=YEAR(NOW( )))


Mike


"Carolina Girl" wrote:


Help!!! I think this can be done but Im not sure how to do it I need to
highlight an entire row basted on a date in the first column. I will
explain. Column A has dates starting with 7/6/09 I have information in
columns B-AE if the date in A falls into this week (changing each week)
A-AE will highlight in orange Can this be done as a conditional format or a
VBA? *Any help would be great.- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -


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
permanent conversion of 1904 date format to 1900 date format Jos Excel Worksheet Functions 4 November 26th 15 02:48 PM
Convert european foreign date format to US date format EAL Excel Worksheet Functions 1 May 14th 09 10:02 PM
convert serial date format to normal date format Flagworld Excel Discussion (Misc queries) 3 September 23rd 08 01:32 PM
Convert date + time text format to date format Paul Ho Excel Worksheet Functions 2 May 22nd 07 05:47 PM
Excel 2000 date format cannot be set to Australian date format Brian Jones Excel Discussion (Misc queries) 1 March 30th 05 06:03 AM


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