Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default HLOOKUP Can't Search by Lookup Value

I'm coming across a problem searching using a formula as my LOOKUP
Value. e.g.

If my formula is:
=HLOOKUP(A1, B1:C10, 2, FALSE)

In one test where A1 = the date 2008/01/01 // HLOOKUP searches fine.

However, when A1 = a formula (i.e. =E1 or =today()) // HLOOKUP
reports #N/A.

---

Is there a solution so I can contain a formula is cell A1 and HLOOKUP
will report?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default HLOOKUP Can't Search by Lookup Value

On Jul 4, 12:42*pm, AMaleThing wrote:
I'm coming across a problem searching using a formula as my LOOKUP
Value. e.g.

If my formula is:
=HLOOKUP(A1, B1:C10, 2, FALSE)

In one test where A1 = the date 2008/01/01 *// HLOOKUP searches fine.

However, when A1 = a formula (i.e. =E1 or =today()) * // HLOOKUP
reports #N/A.

---

Is there a solution so I can contain a formula is cell A1 and HLOOKUP
will report?


If the range in which u r searching has the date as String and not as
Date then you will #N/A. If you enter the dates as dates, this will be
resolved
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default HLOOKUP Can't Search by Lookup Value

If the range in which u r searching has the date as String and not as
Date then you will #N/A. If you enter the dates as dates, this will be
resolved


Is there a way to change the cell be a date and not a date-String. My
cell contains a reference (=E1) to another worksheet.
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
HLOOKUP Can't Search by Lookup Value AMaleThing Excel Programming 0 July 4th 08 08:31 AM
'IF','LOOKUP' or 'HLOOKUP'? Rajan Iyer Excel Worksheet Functions 4 July 31st 07 12:44 AM
Hlookup search in more than one sheet of excell? Misko Excel Worksheet Functions 0 June 13th 06 04:29 PM
VLookup / HLookup Wildcard Search ????? [email protected] Excel Programming 1 May 30th 06 10:23 PM
Hlookup or other search solution Micos3 Excel Discussion (Misc queries) 0 March 3rd 06 05:56 PM


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