View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default dates as percentages

It will if you format as %

"minimoi" wrote:

Many thanks for your swift replies, superb worked a treat both ways, my only
gripe(lol) is that it does not show the percentage sign in the total? any
further help? please.

"Mike H" wrote:

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.