Pull Data with the same Key ID for multiple entries & import it to different worksheets - Google Sheets

murexcel

New Member
Joined
Jan 4, 2020
Messages
19
Office Version
  1. 2010
Platform
  1. Windows
Hello,

We have a list of data that has multiple entries, but many of them have the same member ID. The data in every row is different; only the member ID is common.

We have created different Google Sheets for members, and when we add the data with the member ID to the main sheet, it should create a new row in the sheet for the specific member.

DATA.xlsx
ABCDEFGHIJKLM
1MEMBER IDCOL1COL2COL3COL4COL5COL6COL7COL8COL9COL10COL11COL12
2MH1123456785409ABCD123123ABCDABCD1ABCDABCD
3MH2123456784443ABCD123211ABCDABCD1ABCDABCD
4MH1123456784204ABCD1232ABCDABCD1ABCDABCD
5MH112345678531ABCD123214ABCDABCD1ABCDABCD
6MH1123456781643ABCD123M002ABCDABCD1ABCDABCD
7MH6123456784125ABCD123108ABCDABCD1ABCDABCD
8MH712345678845ABCD1231 103ABCDABCD1ABCDABCD
9MH112345678573ABCD123230ABCDABCD1ABCDABCD
10MH1123456782780ABCD123303ABCDABCD1ABCDABCD
11MH10123456785321ABCD123322ABCDABCD1ABCDABCD
Sheet1



In this I want to pull data with Member ID with MH1 into a different Google Sheet & whenever new data is added for this id, a new row should be added to the Member ID. I have tried a few Array formulas with Vlookup , but I'm not getting the desired result.

Thanks in advance for the help.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Hi,
Excel Formula:
=Query(IMPORTRANGE("Your main google sheet url/only ID", "Sheet1!A1:M"), "SELECT * WHERE Col1='MH1' ")
Excel Formula:
=QUERY(importrange("1LA.........................8","gelenAramalar!A3:G"),"SELECT * WHERE Col1 IS NOT NULL")
 
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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