PC Review


Reply
Thread Tools Rate Thread

Define a dynamic range from a specific starting point in a list

 
 
gwh_lbh@swbell.net
Guest
Posts: n/a
 
      18th Aug 2005
I am having trouble defining a range name that uses the offset function
to define a range from a specified starting date within a list of dates
to the last date in the list. The formula I am working with is as
follows:

=OFFSET(First_Date_In_List,MATCH(Starting_Date,Date_List,0)-1,0,Number_of_Days,1)

This formula defines the range from the specified starting date down
the specified number of days. I would rather not specify a number of
days but just define the range to include all subsequent dates. The
list is dynamic with new data added daily so the last date is always
increasing. In VB it would just be End(xlDown) but I cannot figure out
the syntax for a formula.

Anybody know?

 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      18th Aug 2005
How about

=OFFSET(First_Date_In_List,,,COUNTA(Date_List),1)


--

HTH

RP
(remove nothere from the email address if mailing direct)


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I am having trouble defining a range name that uses the offset function
> to define a range from a specified starting date within a list of dates
> to the last date in the list. The formula I am working with is as
> follows:
>
>

=OFFSET(First_Date_In_List,MATCH(Starting_Date,Date_List,0)-1,0,Number_of_Da
ys,1)
>
> This formula defines the range from the specified starting date down
> the specified number of days. I would rather not specify a number of
> days but just define the range to include all subsequent dates. The
> list is dynamic with new data added daily so the last date is always
> increasing. In VB it would just be End(xlDown) but I cannot figure out
> the syntax for a formula.
>
> Anybody know?
>



 
Reply With Quote
 
gwh_lbh@swbell.net
Guest
Posts: n/a
 
      19th Aug 2005
I believe that simply returns all items in the list. I'm looking to
return only those items subsequent to the specified starting date which
is not the first date in the list.

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      19th Aug 2005
How about:

=OFFSET(First_Date_In_List,MATCH(starting_date,date_list,0)-1,0,
COUNTA(date_list)-MATCH(starting_date,date_list,0)+1,1)



(E-Mail Removed) wrote:
>
> I am having trouble defining a range name that uses the offset function
> to define a range from a specified starting date within a list of dates
> to the last date in the list. The formula I am working with is as
> follows:
>
> =OFFSET(First_Date_In_List,MATCH(Starting_Date,Date_List,0)-1,0,Number_of_Days,1)
>
> This formula defines the range from the specified starting date down
> the specified number of days. I would rather not specify a number of
> days but just define the range to include all subsequent dates. The
> list is dynamic with new data added daily so the last date is always
> increasing. In VB it would just be End(xlDown) but I cannot figure out
> the syntax for a formula.
>
> Anybody know?


--

Dave Peterson
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sum a range from a starting point that varies sevi61 Microsoft Excel Programming 2 19th Aug 2008 02:20 AM
Different color & trend for data at specific starting point =?Utf-8?B?U3RldmU=?= Microsoft Excel Charting 0 31st Jul 2007 08:38 PM
Insert Formatted Row at specific point within Dynamic Range ksp Microsoft Excel Programming 4 8th Jun 2006 03:44 AM
how do i define a range as a list when there is no list option in. =?Utf-8?B?RG9tZXNwYWNpbw==?= Microsoft Excel Worksheet Functions 2 25th May 2005 11:36 AM
Define a Dynamic Range Based on an Index Mike Roberto Microsoft Excel Programming 4 5th Aug 2004 02:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:58 PM.