Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default VLOOKUP not working all the time...

Hello,

I am trying to use VLOOKUP to cross reference two workbooks in excel. I
work better with visuals so they are below:

First workbook

Column A Column B Column DB
Acct_Name Acct_# Total Qty
ABC Corp. 54321 (Value to be entered with VLOOKUP)

Second workbook

Column B Column N
Acct_# Total Qty
54321 8

I am trying to retrieve the value in column N of the second workbook for
column DB in the first workbook, based on the exact match of the Acct_#.

I used the following formula in cell DB2: =VLOOKUP(B2,'Second
Workbook.xls'!$B$7,13,FALSE) this is only working on a select few. I can't
figure out why it's not working.

I have formatted the column exactly the same, made sure there were no
leading or trailing spaces, and it still won't work unless I copy and paste
the acct number from the second workbook to the first workbook.

I doesn't make any sense! And it's driving me crazy! Any help would be
GREATLY appreciated.

Leslie

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default VLOOKUP not working all the time...

My table array is $B$7:$N$58... I copied the wrong formula.

"Rapunzel" wrote:

Hello,

I am trying to use VLOOKUP to cross reference two workbooks in excel. I
work better with visuals so they are below:

First workbook

Column A Column B Column DB
Acct_Name Acct_# Total Qty
ABC Corp. 54321 (Value to be entered with VLOOKUP)

Second workbook

Column B Column N
Acct_# Total Qty
54321 8

I am trying to retrieve the value in column N of the second workbook for
column DB in the first workbook, based on the exact match of the Acct_#.

I used the following formula in cell DB2: =VLOOKUP(B2,'Second
Workbook.xls'!$B$7,13,FALSE) this is only working on a select few. I can't
figure out why it's not working.

I have formatted the column exactly the same, made sure there were no
leading or trailing spaces, and it still won't work unless I copy and paste
the acct number from the second workbook to the first workbook.

I doesn't make any sense! And it's driving me crazy! Any help would be
GREATLY appreciated.

Leslie

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 751
Default VLOOKUP not working all the time...

Is there any chance that the codes are numbers in one sheet and text
in the other? You can use ISTEXT(A1) or ISNUMBER(A1) to see if it is
considered as text or numeric.

If you discover that in one of the sheets the numbers are stored as
text, to convert them to numbers click on an empty cell, EditCopy,
and then select all textual numbers and EditPaste Special... click
the Add checkbox.

HTH
Kostis Vezerides

On Jul 5, 7:54 pm, Rapunzel
wrote:
Hello,

I am trying to use VLOOKUP to cross reference two workbooks in excel. I
work better with visuals so they are below:

First workbook

Column A Column B Column DB
Acct_Name Acct_# Total Qty
ABC Corp. 54321 (Value to be entered with VLOOKUP)

Second workbook

Column B Column N
Acct_# Total Qty
54321 8

I am trying to retrieve the value in column N of the second workbook for
column DB in the first workbook, based on the exact match of the Acct_#.

I used the following formula in cell DB2: =VLOOKUP(B2,'Second
Workbook.xls'!$B$7,13,FALSE) this is only working on a select few. I can't
figure out why it's not working.

I have formatted the column exactly the same, made sure there were no
leading or trailing spaces, and it still won't work unless I copy and paste
the acct number from the second workbook to the first workbook.

I doesn't make any sense! And it's driving me crazy! Any help would be
GREATLY appreciated.

Leslie



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default VLOOKUP not working all the time...

You are only looking at on cell .....unless your formula was a typo .....

=VLOOKUP(B2,'Second Workbook.xls'!$B$7:$N$100,13,FALSE)

HTH

"Rapunzel" wrote:

Hello,

I am trying to use VLOOKUP to cross reference two workbooks in excel. I
work better with visuals so they are below:

First workbook

Column A Column B Column DB
Acct_Name Acct_# Total Qty
ABC Corp. 54321 (Value to be entered with VLOOKUP)

Second workbook

Column B Column N
Acct_# Total Qty
54321 8

I am trying to retrieve the value in column N of the second workbook for
column DB in the first workbook, based on the exact match of the Acct_#.

I used the following formula in cell DB2: =VLOOKUP(B2,'Second
Workbook.xls'!$B$7,13,FALSE) this is only working on a select few. I can't
figure out why it's not working.

I have formatted the column exactly the same, made sure there were no
leading or trailing spaces, and it still won't work unless I copy and paste
the acct number from the second workbook to the first workbook.

I doesn't make any sense! And it's driving me crazy! Any help would be
GREATLY appreciated.

Leslie

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default VLOOKUP not working all the time...

Vezerid,

YOU ARE THE BEST!!! THAT WAS TOTALLY COOL!!

Thank you so much! The corrected the problem 100%!

Thank you, thank you!!!

"vezerid" wrote:

Is there any chance that the codes are numbers in one sheet and text
in the other? You can use ISTEXT(A1) or ISNUMBER(A1) to see if it is
considered as text or numeric.

If you discover that in one of the sheets the numbers are stored as
text, to convert them to numbers click on an empty cell, EditCopy,
and then select all textual numbers and EditPaste Special... click
the Add checkbox.

HTH
Kostis Vezerides

On Jul 5, 7:54 pm, Rapunzel
wrote:
Hello,

I am trying to use VLOOKUP to cross reference two workbooks in excel. I
work better with visuals so they are below:

First workbook

Column A Column B Column DB
Acct_Name Acct_# Total Qty
ABC Corp. 54321 (Value to be entered with VLOOKUP)

Second workbook

Column B Column N
Acct_# Total Qty
54321 8

I am trying to retrieve the value in column N of the second workbook for
column DB in the first workbook, based on the exact match of the Acct_#.

I used the following formula in cell DB2: =VLOOKUP(B2,'Second
Workbook.xls'!$B$7,13,FALSE) this is only working on a select few. I can't
figure out why it's not working.

I have formatted the column exactly the same, made sure there were no
leading or trailing spaces, and it still won't work unless I copy and paste
the acct number from the second workbook to the first workbook.

I doesn't make any sense! And it's driving me crazy! Any help would be
GREATLY appreciated.

Leslie




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 not working Small One Excel Discussion (Misc queries) 4 May 31st 07 05:42 PM
Vlookup not working Tbram Excel Worksheet Functions 3 May 10th 07 02:19 AM
VLOOKUP example not working... steph44haf Excel Worksheet Functions 3 August 8th 06 02:33 PM
time formatting and time categorizing (vlookup or data validation) MarianneR Excel Worksheet Functions 4 November 18th 04 03:24 PM
time formatting and time categorizing (vlookup or data validation) MarianneR Excel Worksheet Functions 0 November 18th 04 03:13 PM


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