LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Conditional Formatting - Weeks VOR

thank you that worked perfectly.
--
Stuart


"Arvi Laanemets" wrote:

Hi

=IF(G7="","",(TODAY()-G7)/7)
, or, when you want only the number of full weeks
=IF(G7="","",INT((TODAY()-G7)/7))


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )



"Stuart" wrote in message
...
i have a formulae "=SUM(TODAY()-G7)/7" which calculates the difference
between the value in column G and todays date and then converts it into
number of whole weeks.

the value in column G is the date on which each vehicle came off the road
to
be repaired, if the vehicle is still in use theres no date in column G,
when
that happens i get the value of 5612 this is because if column G is empty
it
assumes the value as 01/01/1990, what i want to happen is if the cell in
column g has nothing in it then i want it to give a result of " " so the
cell
is empty, the reason i need that value returned is that the weeks vor
column
is used to compile graphs on how long vehicles have been off road if its
not
off road then i dont want it showing as having been off road for over 5000
weeks as thats not helpful to me or my customer whom this report is sent
to,
what formulae can i use to do what i want to do?

--
Stuart




 
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 Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
Conditional Formatting Courtney Excel Worksheet Functions 0 April 4th 06 11:53 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM
calculate weeks from a start date ( not yr weeks) Todd F. Excel Worksheet Functions 6 November 27th 04 05:53 PM


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