#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default aging formula

I am trying to create a formula that will calculate the "age" of a an entry.
Each entry will have an open date. And eventually a closed date. I would like
to be able to calculate the age, by comparing the open date and the closed
date, and if their is no closed date then compare the open date to todays
date. Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default aging formula

Hi

=IF(B1="",TODAY()-A1,B1-A1)

--
Regards

Roger Govier


"Drew" wrote in message
...
I am trying to create a formula that will calculate the "age" of a an
entry.
Each entry will have an open date. And eventually a closed date. I
would like
to be able to calculate the age, by comparing the open date and the
closed
date, and if their is no closed date then compare the open date to
todays
date. Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default aging formula

Super! thanks. One more question, can I tweak that formula to return no data
if A1 and B1 are blank. reason being I will be averaging the case ages. And
if both cells are blank it returns 39185. I may be asking too much. but
thanks again

"Roger Govier" wrote:

Hi

=IF(B1="",TODAY()-A1,B1-A1)

--
Regards

Roger Govier


"Drew" wrote in message
...
I am trying to create a formula that will calculate the "age" of a an
entry.
Each entry will have an open date. And eventually a closed date. I
would like
to be able to calculate the age, by comparing the open date and the
closed
date, and if their is no closed date then compare the open date to
todays
date. Thanks




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 353
Default aging formula

=IF(AND(B1="",A1=""),"",IF(B1="",TODAY()-A1,B1-A1))

"Drew" wrote:

Super! thanks. One more question, can I tweak that formula to return no data
if A1 and B1 are blank. reason being I will be averaging the case ages. And
if both cells are blank it returns 39185. I may be asking too much. but
thanks again

"Roger Govier" wrote:

Hi

=IF(B1="",TODAY()-A1,B1-A1)

--
Regards

Roger Govier


"Drew" wrote in message
...
I am trying to create a formula that will calculate the "age" of a an
entry.
Each entry will have an open date. And eventually a closed date. I
would like
to be able to calculate the age, by comparing the open date and the
closed
date, and if their is no closed date then compare the open date to
todays
date. Thanks




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
aging Rina Excel Worksheet Functions 2 October 23rd 06 05:50 PM
WHAT FORMULA DO I USE FOR AGING A STATEMENT ewalbers Excel Worksheet Functions 1 August 11th 06 05:41 PM
aging workbook mlouie New Users to Excel 6 May 12th 06 07:15 PM
Aging Fomula Aileen Excel Discussion (Misc queries) 4 March 2nd 06 04:32 PM
aging formulas Susan Excel Worksheet Functions 2 August 19th 05 04:08 PM


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