Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Tom
 
Posts: n/a
Default Dates Keep changing in Excel Charts

OK I need a solution Without using macros (long story). I have a chart
for which I want the x axis to show dates, the maximum to be yesterday
(today()-1), stretching back 30 days but only showing weekdays,
Obviously this will update daily. Can anyone help with this?

  #2   Report Post  
Posted to microsoft.public.excel.misc
Tom
 
Posts: n/a
Default Dates Keep changing in Excel Charts

hold your horses: say you have yesterday's date in cell a31, the
formula is:
=IF(WEEKDAY((A31-1),2)=7,A31-3,IF(WEEKDAY((A31-1),2)=6,A31-2,A31-1))
job done
thanks, helps to verbalise your issues!!

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
Excel Charts Larry Excel Charts and Charting in Excel 1 July 30th 05 06:38 PM
Excel Charts Linked to Spreadsheets Rich Charts and Charting in Excel 1 July 4th 05 04:36 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
Changing the format of an Excel output file made by Microsoft Access Amir Excel Discussion (Misc queries) 2 May 1st 05 12:57 AM
Excel 2003 Trashes Imported Dates KymY Excel Discussion (Misc queries) 3 April 27th 05 02:34 PM


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