Linking/Replicating data

Arrgghh

New Member
Joined
Jun 26, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Dear Cool Excel People,



I have a column of general post codes next to a column of what regions these are in

I have a separate column of specific post codes (my data) which I would like to link to their regions as per the above relationship. I could of course search manually for each one and type it in but I am certain you lovely clever people will know of a formula or actions to take that can automate most/all?


Thank you for any help :)
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
you can use index/match , vlookup or xlookup

But would need a lot more information about how your data is laid out and the table with postcode in - is this the full post code or just the main part

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

This will possibly enable a quicker and more accurate solution for you.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone
 
Upvote 0
Since you have 365, I am a fan of xlookup. xlookup( find_what , find_where , return_what , , 0) ---- the two commas get to "exact match"
 
Upvote 1
Since you have 365, I am a fan of xlookup. xlookup( find_what , find_where , return_what , , 0) ---- the two commas get to "exact match"
Thank you - I have a column with multiple postcodes that I want to ‘find’ in order to generate their complementary regions - can I do this in one go, I.e. for the whole column at once, rather than doing it separately?
 
Upvote 0
Thank you - I have a column with multiple postcodes that I want to ‘find’ in order to generate their complementary regions - can I do this in one go, I.e. for the whole column at once, rather than doing it separately?

xlookup( cell ref , lookup column , return...

xlookup( F3 , A:A , B:B , , 0)

you're looking up what is in F3 (then double click down) in column A, and return what's in column B.
 
Upvote 1

Forum statistics

Threads
1,223,243
Messages
6,170,967
Members
452,371
Latest member
Frana

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top