DanaScully
New Member
- Joined
- Sep 20, 2017
- Messages
- 6
Hi
I'm a new member here, nice to meet all of you
I am trying to create a VLookup function which will give an area by using a postcode (UK). I have followed directions on another website by searching 'determining a state from an area code' but I am getting a #VALUE ! error when using their suggested formula.
In the spreadsheet, I have created a named table (LondonPostcodes) with one column for my postcodes and one for the area name. For example, I would like the postcode SW1A 1AA to return the area 'London' in the adjacent cell. This is my formula:
=VLOOKUP(VALUE(LEFT(L32,6)),LondonPostcodes,2,FALSE)
Can anyone see where I might be going wrong? I am a novice to intermediate user and I am using Excel 2010 on Windows.
Thanks in advance for any replies.
DS
I'm a new member here, nice to meet all of you
I am trying to create a VLookup function which will give an area by using a postcode (UK). I have followed directions on another website by searching 'determining a state from an area code' but I am getting a #VALUE ! error when using their suggested formula.
In the spreadsheet, I have created a named table (LondonPostcodes) with one column for my postcodes and one for the area name. For example, I would like the postcode SW1A 1AA to return the area 'London' in the adjacent cell. This is my formula:
=VLOOKUP(VALUE(LEFT(L32,6)),LondonPostcodes,2,FALSE)
Can anyone see where I might be going wrong? I am a novice to intermediate user and I am using Excel 2010 on Windows.
Thanks in advance for any replies.
DS