#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Vlookup

I was trying a vlookup formula for comparing 2 sets of values. I tried to
check if there was anything missing by deleting all columns leaving only 1
column in both worksheets - source and destination. If I have only 1 column,
the formula works properly. Following is the formula given.

=vlookup(a1, sheet1!$a$1:$a$4,1,0)

The erros is given if I change this to =vlookup(a, sheet1!$a$1:$b$4,2,0)
after I insert on column in the source data.

Is there something missing or is there any corruption? I have worked on
vlookup on the same computer for at least 3 years now. The error has started
very recently. A system administrator regularly scans my computer for any
virus threats.

I will appreciate if anyone can help.

Thanks and best regards.
--
Pravin
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default Vlookup

Assuming the omission of "1" (in "vlookup(a1...") of your changed formula is
just a typo, I don't see a problem. What error are you getting? What data do
you have in sheet1!$a$1:$a$4 and what lookup value in a1?

"pravin" wrote in message
...
I was trying a vlookup formula for comparing 2 sets of values. I tried to
check if there was anything missing by deleting all columns leaving only 1
column in both worksheets - source and destination. If I have only 1
column,
the formula works properly. Following is the formula given.

=vlookup(a1, sheet1!$a$1:$a$4,1,0)

The erros is given if I change this to =vlookup(a, sheet1!$a$1:$b$4,2,0)
after I insert on column in the source data.

Is there something missing or is there any corruption? I have worked on
vlookup on the same computer for at least 3 years now. The error has
started
very recently. A system administrator regularly scans my computer for any
virus threats.

I will appreciate if anyone can help.

Thanks and best regards.
--
Pravin



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Vlookup

I'd review the notes for troubleshooting =vlookup() formulas from Debra
Dalgleish:

http://contextures.com/xlFunctions02.html#Trouble

pravin wrote:

I was trying a vlookup formula for comparing 2 sets of values. I tried to
check if there was anything missing by deleting all columns leaving only 1
column in both worksheets - source and destination. If I have only 1 column,
the formula works properly. Following is the formula given.

=vlookup(a1, sheet1!$a$1:$a$4,1,0)

The erros is given if I change this to =vlookup(a, sheet1!$a$1:$b$4,2,0)
after I insert on column in the source data.

Is there something missing or is there any corruption? I have worked on
vlookup on the same computer for at least 3 years now. The error has started
very recently. A system administrator regularly scans my computer for any
virus threats.

I will appreciate if anyone can help.

Thanks and best regards.
--
Pravin


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Vlookup

Dear Stephen,

Thanks for your early reply. I am giving below the data I was using.

Sheet 1:
A
1 345
2 123
3 478

Sheet 2:
A
1 123
2 345
3 421

Normally, if I use vlookup, Cell A3 of sheet 2 should give an error "N/A". I
works fine with only single column in both sheets but if there are more than
one column, vlookup does not work. I feel there could be some problem other
than the formula writing.

The vlookup even works fine in other computers (you can check it on yours!).
That is the reason I feel there is something wrong in excel settings on my
computer. Is it possible for such an error to occur?

Best regards.
--
Pravin


"Stephen" wrote:

Assuming the omission of "1" (in "vlookup(a1...") of your changed formula is
just a typo, I don't see a problem. What error are you getting? What data do
you have in sheet1!$a$1:$a$4 and what lookup value in a1?

"pravin" wrote in message
...
I was trying a vlookup formula for comparing 2 sets of values. I tried to
check if there was anything missing by deleting all columns leaving only 1
column in both worksheets - source and destination. If I have only 1
column,
the formula works properly. Following is the formula given.

=vlookup(a1, sheet1!$a$1:$a$4,1,0)

The erros is given if I change this to =vlookup(a, sheet1!$a$1:$b$4,2,0)
after I insert on column in the source data.

Is there something missing or is there any corruption? I have worked on
vlookup on the same computer for at least 3 years now. The error has
started
very recently. A system administrator regularly scans my computer for any
virus threats.

I will appreciate if anyone can help.

Thanks and best regards.
--
Pravin




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Vlookup

Dear Dave,

Thanks for your early reply.

I feel the problem is with the software and not with writing the formula.

I am checking the URL you have sent for troubleshooting.

Best regards.
--
Pravin


"Dave Peterson" wrote:

I'd review the notes for troubleshooting =vlookup() formulas from Debra
Dalgleish:

http://contextures.com/xlFunctions02.html#Trouble

pravin wrote:

I was trying a vlookup formula for comparing 2 sets of values. I tried to
check if there was anything missing by deleting all columns leaving only 1
column in both worksheets - source and destination. If I have only 1 column,
the formula works properly. Following is the formula given.

=vlookup(a1, sheet1!$a$1:$a$4,1,0)

The erros is given if I change this to =vlookup(a, sheet1!$a$1:$b$4,2,0)
after I insert on column in the source data.

Is there something missing or is there any corruption? I have worked on
vlookup on the same computer for at least 3 years now. The error has started
very recently. A system administrator regularly scans my computer for any
virus threats.

I will appreciate if anyone can help.

Thanks and best regards.
--
Pravin


--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Vlookup

Everybody thinks that until they see that they made a mistake--either in the
formula or in the data!

pravin wrote:

Dear Dave,

Thanks for your early reply.

I feel the problem is with the software and not with writing the formula.

I am checking the URL you have sent for troubleshooting.

Best regards.
--
Pravin

"Dave Peterson" wrote:

I'd review the notes for troubleshooting =vlookup() formulas from Debra
Dalgleish:

http://contextures.com/xlFunctions02.html#Trouble

pravin wrote:

I was trying a vlookup formula for comparing 2 sets of values. I tried to
check if there was anything missing by deleting all columns leaving only 1
column in both worksheets - source and destination. If I have only 1 column,
the formula works properly. Following is the formula given.

=vlookup(a1, sheet1!$a$1:$a$4,1,0)

The erros is given if I change this to =vlookup(a, sheet1!$a$1:$b$4,2,0)
after I insert on column in the source data.

Is there something missing or is there any corruption? I have worked on
vlookup on the same computer for at least 3 years now. The error has started
very recently. A system administrator regularly scans my computer for any
virus threats.

I will appreciate if anyone can help.

Thanks and best regards.
--
Pravin


--

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 in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


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