LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default help with date formula

On Sun, 29 Nov 2009 18:37:01 -0800, Victoria
wrote:

hi Ron

Your solution works well! I've noticed that in my example, though, the
dates are always increasing when moving down the column. I guess that's why
the MAX function can be used the way you suggested. But there will be
instances where the dates could move back in time when moving down the
column. Any ideas how the formula could be modified to take this into
account?

Much thanks
Victoria


To pick up the last date when the dates in column A are unsorted, you could
use:

B2: =IF(A2="","",A2-LOOKUP(1E+307,$A$1:A1))

and fill down.

This could, of course, give a negative number as a result if the current date
is prior to the previously listed date.
--ron
 
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
Create a formula in a date range to locate a specific date - ecel util Excel Discussion (Misc queries) 0 February 19th 07 03:03 PM
Excel Formula to calulate number of days passed from date to date K. Mack Excel Discussion (Misc queries) 8 January 4th 07 11:27 PM
Date Function formula that will return the date of a specific week Greg Excel Worksheet Functions 4 June 12th 06 05:07 PM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Worksheet Functions 2 April 21st 06 02:50 AM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Discussion (Misc queries) 1 April 20th 06 10:03 PM


All times are GMT +1. The time now is 10:36 AM.

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"