Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Vlookup not working consistently

I've searched all through other posts and have not found anyone with a
similar problem. We have several workbooks that have been set up for at
least 3 years or more. Some of them suddenly, on any given line, will not
return the correct data even though it should be. At first it started with
just a line or two, and then slowly began to increase. At first we thought
the file was corrupt, so we re-created it. That didn't help. Now it has
started doing it in one of our other files--works fine, and then all of a
sudden starts returning zeros.

The formula I happen to be using right now is:
IF(ISERROR(VLOOKUP($A26,BUDGET,5,FALSE)),0,VLOOKUP ($A26,BUDGET,5,FALSE))

Personally, I don't think it's a problem with the formula because the
formulas very from workbook to workbook. It can work fine on line 1 to 25,
quit working for 26 to 30, and then start working again on line 31. It's
bizarre.

Anyone have any ideas?



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Vlookup not working consistently

If the formula is returning zero, it means the Vlookup is failing (ie, can't
find the contents of a26 in the table).

Some things to check for a
1. Are there any trailing spaces or extra characters in $a26?
2. Is the Budget range defined properly?

Give us some examples of what's in A26 when it returns 0.

There's no reason the problem can't be tracked down.

Regards,
Fred.

"Julie B." <Julie wrote in message
...
I've searched all through other posts and have not found anyone with a
similar problem. We have several workbooks that have been set up for at
least 3 years or more. Some of them suddenly, on any given line, will not
return the correct data even though it should be. At first it started
with
just a line or two, and then slowly began to increase. At first we
thought
the file was corrupt, so we re-created it. That didn't help. Now it has
started doing it in one of our other files--works fine, and then all of a
sudden starts returning zeros.

The formula I happen to be using right now is:
IF(ISERROR(VLOOKUP($A26,BUDGET,5,FALSE)),0,VLOOKUP ($A26,BUDGET,5,FALSE))

Personally, I don't think it's a problem with the formula because the
formulas very from workbook to workbook. It can work fine on line 1 to
25,
quit working for 26 to 30, and then start working again on line 31. It's
bizarre.

Anyone have any ideas?




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Vlookup not working consistently

You were correct--the budget range was not defined properly. There were a
substantial amount of new rows this time that were not being picked up due to
the incorrect range. I fixed it and it's working perfectly now. That is the
same problem that was on our other workbook as well.

Thank you SO MUCH!

"Fred Smith" wrote:

If the formula is returning zero, it means the Vlookup is failing (ie, can't
find the contents of a26 in the table).

Some things to check for a
1. Are there any trailing spaces or extra characters in $a26?
2. Is the Budget range defined properly?

Give us some examples of what's in A26 when it returns 0.

There's no reason the problem can't be tracked down.

Regards,
Fred.

"Julie B." <Julie wrote in message
...
I've searched all through other posts and have not found anyone with a
similar problem. We have several workbooks that have been set up for at
least 3 years or more. Some of them suddenly, on any given line, will not
return the correct data even though it should be. At first it started
with
just a line or two, and then slowly began to increase. At first we
thought
the file was corrupt, so we re-created it. That didn't help. Now it has
started doing it in one of our other files--works fine, and then all of a
sudden starts returning zeros.

The formula I happen to be using right now is:
IF(ISERROR(VLOOKUP($A26,BUDGET,5,FALSE)),0,VLOOKUP ($A26,BUDGET,5,FALSE))

Personally, I don't think it's a problem with the formula because the
formulas very from workbook to workbook. It can work fine on line 1 to
25,
quit working for 26 to 30, and then start working again on line 31. It's
bizarre.

Anyone have any ideas?





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Vlookup not working consistently

Glad to hear it's working. Thanks for the feedback.

Fred.

"Julie B." wrote in message
...
You were correct--the budget range was not defined properly. There were a
substantial amount of new rows this time that were not being picked up due
to
the incorrect range. I fixed it and it's working perfectly now. That is
the
same problem that was on our other workbook as well.

Thank you SO MUCH!

"Fred Smith" wrote:

If the formula is returning zero, it means the Vlookup is failing (ie,
can't
find the contents of a26 in the table).

Some things to check for a
1. Are there any trailing spaces or extra characters in $a26?
2. Is the Budget range defined properly?

Give us some examples of what's in A26 when it returns 0.

There's no reason the problem can't be tracked down.

Regards,
Fred.

"Julie B." <Julie wrote in message
...
I've searched all through other posts and have not found anyone with a
similar problem. We have several workbooks that have been set up for
at
least 3 years or more. Some of them suddenly, on any given line, will
not
return the correct data even though it should be. At first it started
with
just a line or two, and then slowly began to increase. At first we
thought
the file was corrupt, so we re-created it. That didn't help. Now it
has
started doing it in one of our other files--works fine, and then all of
a
sudden starts returning zeros.

The formula I happen to be using right now is:
IF(ISERROR(VLOOKUP($A26,BUDGET,5,FALSE)),0,VLOOKUP ($A26,BUDGET,5,FALSE))

Personally, I don't think it's a problem with the formula because the
formulas very from workbook to workbook. It can work fine on line 1 to
25,
quit working for 26 to 30, and then start working again on line 31.
It's
bizarre.

Anyone have any ideas?






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
"Sumif" not working consistently smartgal Excel Discussion (Misc queries) 1 April 28th 08 09:31 PM
CPU Usage consistently above 75% hparteep Excel Discussion (Misc queries) 1 October 27th 05 02:56 PM
Hyperlink to .WAV file not working consistently Stewart Links and Linking in Excel 2 September 2nd 05 07:58 PM
Hyperlink to .WAV file not working consistently Stewart Links and Linking in Excel 0 September 1st 05 10:17 PM
Conditional Formatting Not Working Consistently Christina Excel Discussion (Misc queries) 6 July 22nd 05 11:55 PM


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