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 Query
choyaa
Posts: 226 Forumite
in Techie Stuff
Hi All,
I am working in a locked spreadsheet via which I can't change any of the row/column layout. Within Column G I am trying to input a simple Vlookup formula that searches for a value in column H and returns the corresponding value within a separate tab. This should have been straightforward but I am being returned a #N/A even though there is the corresponding value within tab two.
How can I get around this? Below is my code:
=VLOOKUP(H30,'Tab2'!F4:G77,2,FALSE)
I am working in a locked spreadsheet via which I can't change any of the row/column layout. Within Column G I am trying to input a simple Vlookup formula that searches for a value in column H and returns the corresponding value within a separate tab. This should have been straightforward but I am being returned a #N/A even though there is the corresponding value within tab two.
How can I get around this? Below is my code:
=VLOOKUP(H30,'Tab2'!F4:G77,2,FALSE)
0
Comments
-
I'm fairly sure this will be a formatting issue. Check that the values in both the H column and that containing the lookup value are the same.
i.e. if you are looking up a number, ensure the lookup and H columns are both formatted as numbers (use the error checker to convert to numbers).
Also, ensure that the value you are searching is in Column F in Tab 2 (leftmost column).
edit: and that column F in Tab 2 is sorted!0 -
Are the formats the same (try text to columns if using numbers) also include a dollar on F4:G77 so they are static ($F$4:$G$77)0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 353.5K Banking & Borrowing
- 254.1K Reduce Debt & Boost Income
- 455K Spending & Discounts
- 246.6K Work, Benefits & Business
- 602.9K Mortgages, Homes & Bills
- 178.1K Life & Family
- 260.6K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards