View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph[_2_] David Biddulph[_2_] is offline
external usenet poster
 
Posts: 8,651
Default dates as percentages

But of course with days you don't need DATEDIF, Mike. A simple subtraction
will do the job.
--
David Biddulph

"Mike H" wrote in message
...
Try

=DATEDIF(TODAY(),A2,"d")/DATEDIF(A1,A2,"d")

Format as %

Mike

"minimoi" wrote:

I really need to make a calculator out of excel to calculate a
percentage"""
example
cell a1 = 19/09/2008 bought in
cell a2 = 21/06/2011 Shelf life
this is the example info, I now need to find out the percentage of time
remaining in date? ie calculate the total amount of days in stock minus
the
days that have already passed since bought in (todays date) and show one
result as a percentage and one as days remaining.

Any help would be most appreciated.