Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
David
 
Posts: n/a
Default Array help please

In row 1 i have a series of dates in asscending order.
In row 2 I have values coresponding to the dates in row 1.
I am hoping to pick out the value in rows 2 that corrsponds to the most
recent date in row 1 that is less than todays date [ie <now()]
Any suggestions will be much appreciated
TIA
--
David
  #2   Report Post  
Stefi
 
Posts: n/a
Default

Enter in an appropriate cell (where you want the result):

=HLOOKUP(TODAY();A$1:H$2;2)

Regards,
Stefi

€žDavid€ť ezt Ă*rta:

In row 1 i have a series of dates in asscending order.
In row 2 I have values coresponding to the dates in row 1.
I am hoping to pick out the value in rows 2 that corrsponds to the most
recent date in row 1 that is less than todays date [ie <now()]
Any suggestions will be much appreciated
TIA
--
David

  #3   Report Post  
bj
 
Posts: n/a
Default

I suggest for this you use today() rather than now(). now() includes the time
so that now() ten minutes from now is not the same as now() now
but try
=index(start row 1 location:end of row 2 data,2,match(today(),row1data,0)-1))

"David" wrote:

In row 1 i have a series of dates in asscending order.
In row 2 I have values coresponding to the dates in row 1.
I am hoping to pick out the value in rows 2 that corrsponds to the most
recent date in row 1 that is less than todays date [ie <now()]
Any suggestions will be much appreciated
TIA
--
David

  #4   Report Post  
David
 
Posts: n/a
Default

bj
Thanks for your response
--
David


"bj" wrote:

I suggest for this you use today() rather than now(). now() includes the time
so that now() ten minutes from now is not the same as now() now
but try
=index(start row 1 location:end of row 2 data,2,match(today(),row1data,0)-1))

"David" wrote:

In row 1 i have a series of dates in asscending order.
In row 2 I have values coresponding to the dates in row 1.
I am hoping to pick out the value in rows 2 that corrsponds to the most
recent date in row 1 that is less than todays date [ie <now()]
Any suggestions will be much appreciated
TIA
--
David

  #5   Report Post  
David
 
Posts: n/a
Default

Stefi
Thanks for your response
--
David


"Stefi" wrote:

Enter in an appropriate cell (where you want the result):

=HLOOKUP(TODAY();A$1:H$2;2)

Regards,
Stefi

€žDavid€ť ezt Ă*rta:

In row 1 i have a series of dates in asscending order.
In row 2 I have values coresponding to the dates in row 1.
I am hoping to pick out the value in rows 2 that corrsponds to the most
recent date in row 1 that is less than todays date [ie <now()]
Any suggestions will be much appreciated
TIA
--
David

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
Excel array formulas Les Gordon Excel Discussion (Misc queries) 1 September 3rd 05 04:12 PM
Pass an array to Rank Biff Excel Worksheet Functions 12 June 29th 05 04:15 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
VBA Import of text file & Array parsing of that data Dennis Excel Discussion (Misc queries) 4 November 28th 04 10:20 PM


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