Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default VLOOKUP VALUE ERROR

Hello-
I am trying to conduct a lookup for text value from one table to another and
receive an #VALUE! error. Here's the code:

Range("A154").Formula =
"=IF(ISNA(VLOOKUP(C114:I114,'C:\test\DIC\site\[billing.xls]billing'!$A$1:$AI$32,34,FALSE))=TRUE,,VLOOKUP(C114 :I114,'C:\test\DIC\site\[billing.xls]billing'!$A$1:$AI$32,34,FALSE))"

This works for my numeric lookups, but not the text. I even tried using the
ISTEXT and ISNOTBLANK script and it doesn't work. Is there something I am
overlooking.

Thanks-

Neecy


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default VLOOKUP VALUE ERROR

I'm not sure what you're doing, but I can't remember the time where I trying to
match a range of cells in =vlookup() portion.

=if(isna(vlookup(c114,'c:\.....

Why are you using C114:I114?

(In both spots in the formula, too)

Neecy wrote:

Hello-
I am trying to conduct a lookup for text value from one table to another and
receive an #VALUE! error. Here's the code:

Range("A154").Formula =
"=IF(ISNA(VLOOKUP(C114:I114,'C:\test\DIC\site\[billing.xls]billing'!$A$1:$AI$32,34,FALSE))=TRUE,,VLOOKUP(C114 :I114,'C:\test\DIC\site\[billing.xls]billing'!$A$1:$AI$32,34,FALSE))"

This works for my numeric lookups, but not the text. I even tried using the
ISTEXT and ISNOTBLANK script and it doesn't work. Is there something I am
overlooking.

Thanks-

Neecy


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default VLOOKUP VALUE ERROR

Hi Dave-
Were you able to resolve the error?

"Neecy" wrote:

Hi Dave, thanks for answering back. The cells C114:I114 contain dates for 1
week. The file I am looking in have the dates listed in vertical position of
the first column. All of the cells in the lookup table are numeric except
for the one I submitted to you. It's like the script is having a hard time
trying to obtain the values from this column.

"Dave Peterson" wrote:

I'm not sure what you're doing, but I can't remember the time where I trying to
match a range of cells in =vlookup() portion.

=if(isna(vlookup(c114,'c:\.....

Why are you using C114:I114?

(In both spots in the formula, too)

Neecy wrote:

Hello-
I am trying to conduct a lookup for text value from one table to another and
receive an #VALUE! error. Here's the code:

Range("A154").Formula =
"=IF(ISNA(VLOOKUP(C114:I114,'C:\test\DIC\site\[billing.xls]billing'!$A$1:$AI$32,34,FALSE))=TRUE,,VLOOKUP(C114 :I114,'C:\test\DIC\site\[billing.xls]billing'!$A$1:$AI$32,34,FALSE))"

This works for my numeric lookups, but not the text. I even tried using the
ISTEXT and ISNOTBLANK script and it doesn't work. Is there something I am
overlooking.

Thanks-

Neecy


--

Dave Peterson
.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default VLOOKUP VALUE ERROR

I still don't understand the formula you're using.

Did you try my suggestion?


Neecy wrote:

Hi Dave-
Were you able to resolve the error?

"Neecy" wrote:

Hi Dave, thanks for answering back. The cells C114:I114 contain dates for 1
week. The file I am looking in have the dates listed in vertical position of
the first column. All of the cells in the lookup table are numeric except
for the one I submitted to you. It's like the script is having a hard time
trying to obtain the values from this column.

"Dave Peterson" wrote:

I'm not sure what you're doing, but I can't remember the time where I trying to
match a range of cells in =vlookup() portion.

=if(isna(vlookup(c114,'c:\.....

Why are you using C114:I114?

(In both spots in the formula, too)

Neecy wrote:

Hello-
I am trying to conduct a lookup for text value from one table to another and
receive an #VALUE! error. Here's the code:

Range("A154").Formula =
"=IF(ISNA(VLOOKUP(C114:I114,'C:\test\DIC\site\[billing.xls]billing'!$A$1:$AI$32,34,FALSE))=TRUE,,VLOOKUP(C114 :I114,'C:\test\DIC\site\[billing.xls]billing'!$A$1:$AI$32,34,FALSE))"

This works for my numeric lookups, but not the text. I even tried using the
ISTEXT and ISNOTBLANK script and it doesn't work. Is there something I am
overlooking.

Thanks-

Neecy

--

Dave Peterson
.


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default VLOOKUP VALUE ERROR

Hi Dave, thanks for answering back. The cells C114:I114 contain dates for 1
week. The file I am looking in have the dates listed in vertical position of
the first column. All of the cells in the lookup table are numeric except
for the one I submitted to you. It's like the script is having a hard time
trying to obtain the values from this column.

"Dave Peterson" wrote:

I'm not sure what you're doing, but I can't remember the time where I trying to
match a range of cells in =vlookup() portion.

=if(isna(vlookup(c114,'c:\.....

Why are you using C114:I114?

(In both spots in the formula, too)

Neecy wrote:

Hello-
I am trying to conduct a lookup for text value from one table to another and
receive an #VALUE! error. Here's the code:

Range("A154").Formula =
"=IF(ISNA(VLOOKUP(C114:I114,'C:\test\DIC\site\[billing.xls]billing'!$A$1:$AI$32,34,FALSE))=TRUE,,VLOOKUP(C114 :I114,'C:\test\DIC\site\[billing.xls]billing'!$A$1:$AI$32,34,FALSE))"

This works for my numeric lookups, but not the text. I even tried using the
ISTEXT and ISNOTBLANK script and it doesn't work. Is there something I am
overlooking.

Thanks-

Neecy


--

Dave Peterson
.



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default VLOOKUP VALUE ERROR

It sounds to me like that first argument should be a single cell -- not a range
of cells.

That means you would have 7 different formulas in 7 cells that use:

=vlookup(c114, ...
=vlookup(d114, ...
=vlookup(e114, ...
...
=vlookup(i114, ...



Neecy wrote:

Hi Dave, thanks for answering back. The cells C114:I114 contain dates for 1
week. The file I am looking in have the dates listed in vertical position of
the first column. All of the cells in the lookup table are numeric except
for the one I submitted to you. It's like the script is having a hard time
trying to obtain the values from this column.

"Dave Peterson" wrote:

I'm not sure what you're doing, but I can't remember the time where I trying to
match a range of cells in =vlookup() portion.

=if(isna(vlookup(c114,'c:\.....

Why are you using C114:I114?

(In both spots in the formula, too)

Neecy wrote:

Hello-
I am trying to conduct a lookup for text value from one table to another and
receive an #VALUE! error. Here's the code:

Range("A154").Formula =
"=IF(ISNA(VLOOKUP(C114:I114,'C:\test\DIC\site\[billing.xls]billing'!$A$1:$AI$32,34,FALSE))=TRUE,,VLOOKUP(C114 :I114,'C:\test\DIC\site\[billing.xls]billing'!$A$1:$AI$32,34,FALSE))"

This works for my numeric lookups, but not the text. I even tried using the
ISTEXT and ISNOTBLANK script and it doesn't work. Is there something I am
overlooking.

Thanks-

Neecy


--

Dave Peterson
.


--

Dave Peterson
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
VLookup N/A Error WandaSG Excel Discussion (Misc queries) 5 December 12th 05 07:48 PM
VLOOKUP error Eintsein_mc2 Excel Discussion (Misc queries) 2 September 17th 05 07:12 AM
vlookup error!! Samantha Excel Worksheet Functions 1 April 11th 05 11:02 AM
VLOOKUP ERROR Mark Adams Excel Discussion (Misc queries) 5 April 7th 05 08:09 PM
#N/A error with VLOOKUP Michelle Tucker Excel Discussion (Misc queries) 4 December 14th 04 01:23 PM


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