![]() |
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 |
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 |
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 |
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 |
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 |
All times are GMT +1. The time now is 05:04 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com