#1   Report Post  
Jeanke
 
Posts: n/a
Default Lookup function

Hello,

I want to have excel lookup something in a lookup table when the date
mentioned is past the present date. This is what I have :
=IF(N8NOW();VLOOKUP(A8;uurschema;3;FALSE);0)
Where N8 = column with the date.
However this doesn't work. It just says 0.
How do I get this to work?
  #2   Report Post  
John Mansfield
 
Posts: n/a
Default

Jeanke,

I think you have semi-colons whare commas should be. Try:

=IF(N8NOW(),VLOOKUP(A8,uurschema,3,FALSE),0)

----
Regards,
John Mansfield
http://www.pdbook.com


"Jeanke" wrote:

Hello,

I want to have excel lookup something in a lookup table when the date
mentioned is past the present date. This is what I have :
=IF(N8NOW();VLOOKUP(A8;uurschema;3;FALSE);0)
Where N8 = column with the date.
However this doesn't work. It just says 0.
How do I get this to work?

  #3   Report Post  
Kassie
 
Posts: n/a
Default

What do you mean with "past the present date"? Do you mean a date in the
future? If not, you should use "<" iso "".

Also, is there a value in A8 that matches a record in uurschema, and if so,
is there a value in the relevant uurschema row's offset 3 column?

"Jeanke" wrote:

Hello,

I want to have excel lookup something in a lookup table when the date
mentioned is past the present date. This is what I have :
=IF(N8NOW();VLOOKUP(A8;uurschema;3;FALSE);0)
Where N8 = column with the date.
However this doesn't work. It just says 0.
How do I get this to work?

  #4   Report Post  
Jeanke
 
Posts: n/a
Default

this doesn't seem to work. There is a value that matches a record in
uurschema and there is also a value in uurschema row's offset 3 column.

Think the problem lies in the first part. I have a column with dates. I
just want to show a value using the lookup function whenever the date in
column N is past the present date.

Any help is much appreciated

"Kassie" wrote:

What do you mean with "past the present date"? Do you mean a date in the
future? If not, you should use "<" iso "".

Also, is there a value in A8 that matches a record in uurschema, and if so,
is there a value in the relevant uurschema row's offset 3 column?

"Jeanke" wrote:

Hello,

I want to have excel lookup something in a lookup table when the date
mentioned is past the present date. This is what I have :
=IF(N8NOW();VLOOKUP(A8;uurschema;3;FALSE);0)
Where N8 = column with the date.
However this doesn't work. It just says 0.
How do I get this to work?

  #5   Report Post  
Kassie
 
Posts: n/a
Default

Try =IF(NOW()<N8;VLOOKUP(A8;uurschema;3;FALSE);0), or swop the < with if
that is what you want. Seems to work for me, while your sequence doesn't work

"Jeanke" wrote:

Hello,

I want to have excel lookup something in a lookup table when the date
mentioned is past the present date. This is what I have :
=IF(N8NOW();VLOOKUP(A8;uurschema;3;FALSE);0)
Where N8 = column with the date.
However this doesn't work. It just says 0.
How do I get this to work?

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
How can i use > in lookup function? AZHawkPilot Excel Discussion (Misc queries) 3 October 25th 09 01:32 AM
Lookup Function Error Jacinthe Excel Worksheet Functions 2 March 10th 05 07:37 AM
Lookup Function Problem seve Excel Discussion (Misc queries) 9 February 28th 05 02:46 AM
Lookup function w/Text and Year Josh O. Excel Worksheet Functions 1 February 12th 05 11:27 PM
LOOKUP FUNCTION WITH SUMS ABILITY Jamesy Excel Discussion (Misc queries) 1 January 10th 05 03:39 PM


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