We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
Excel Problem
The_Hurricane
Posts: 773 Forumite
in Techie Stuff
Hi All,
I'm having problems linking a code in cell B2 of the current spreadsheet matching this to column A of spreadsheet "code" and thus returning the value in column D of the "code" spreadsheet. Below is the code I've used but it's not working - can anyone help?
=VLOOKUP(B2,'[code.xlsx]'!$A$2,4,FALSE)
Thanks
I'm having problems linking a code in cell B2 of the current spreadsheet matching this to column A of spreadsheet "code" and thus returning the value in column D of the "code" spreadsheet. Below is the code I've used but it's not working - can anyone help?
=VLOOKUP(B2,'[code.xlsx]'!$A$2,4,FALSE)
Thanks
0
Comments
-
The_Hurricane wrote: »Hi All,
I'm having problems linking a code in cell B2 of the current spreadsheet matching this to column A of spreadsheet "code" and thus returning the value in column D of the "code" spreadsheet. Below is the code I've used but it's not working - can anyone help?
=VLOOKUP(B2,'[code.xlsx]'!$A$2,4,FALSE)
Thanks
Your code is only looking in cell $A$2 for the VLOOKUP. Replace $A$2 with $A:$D and it should work.0 -
Tried the following, now the symbols #N/A are appearing.
=VLOOKUP(B2,'[Code.xlsx]Sheet1'!$A:$D,4,FALSE)0 -
Got it sorted, the text in column B needed to be converted to number format.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 353.4K Banking & Borrowing
- 254.1K Reduce Debt & Boost Income
- 455K Spending & Discounts
- 246.5K Work, Benefits & Business
- 602.8K Mortgages, Homes & Bills
- 178K Life & Family
- 260.5K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards