Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default can I use dates as the lookup argument with HLookup?

Syntax seems right but I get a #value result. Am i right to assume date arent
usable?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default can I use dates as the lookup argument with HLookup?

With dates in excel date format along A:J1; try the below formula

'The below will match the current date and return data from second row of
the array A1:J10
=HLOOKUP(DATE(2009,11,12),A1:J10,2,0)

'lookup current date
=HLOOKUP(TODAY(),A1:J10,2,0)

'or with date in cell K1
=HLOOKUP(K1,A1:J10,2,0)


If this post helps click Yes
---------------
Jacob Skaria


"crashume" wrote:

Syntax seems right but I get a #value result. Am i right to assume date arent
usable?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default can I use dates as the lookup argument with HLookup?

You can use dates as a lookup_value.

Post the formula you're trying to use.

--
Biff
Microsoft Excel MVP


"crashume" wrote in message
...
Syntax seems right but I get a #value result. Am i right to assume date
arent
usable?



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
Lookup-value in HLOOKUP? Chrisp Excel Worksheet Functions 4 November 25th 08 03:37 AM
HLOOKUP, VLOOKUP, LOOKUP??? Connie Martin Excel Worksheet Functions 10 October 23rd 08 06:02 PM
'IF','LOOKUP' or 'HLOOKUP'? Rajan Iyer Excel Worksheet Functions 4 July 31st 07 12:44 AM
HLOOKUP - Adjusting the lookup value... Regnab Excel Discussion (Misc queries) 3 May 22nd 06 11:14 AM
add column using dates as argument Wayne Cameron Excel Worksheet Functions 1 October 24th 05 09:02 PM


All times are GMT +1. The time now is 11:03 PM.

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"