[Solved] Copy data from Google drive excel file to local file

Dear,

I have a excel file on my google drive which is shared by my friend. I want to extract data from that file and store in local excel file at my desktop.

Kindly guide me how to do that

Regrds,
 
Hello Faisal,

I understand that you have an excel file on your google drive and wish to extract data from that file and store it in a local excel file on your desktop. Fortunately, this is all possible with a simple trick. Follow the below steps carefully to do so.
  • Firstly, open your file on your drive and click the Share option.
aeCTZYIvIm5nKleNZbHxDPYWrL7XlwPG8akPbP6dHC0ZXqnjO0bKjg-6lrMuUiakd436E2hhll-EU0u1XS8jfZC5VT-Qag_MNmXayL9nnZN25X0lKMJwurp65b2OQiusZcKw6z2QI5_zfuvVcP4MQkE

  • Afterward, copy the link as shown below.
uhSoiArbIKCEfUA4dAgnfAc8_LdRKC0bttZ3Z74V4aPjF-Tz_CH6gkWcMTbrqkGAYaQ_rlkJuNQG4T0UbzPKn3JgmU8J_LOlSpfXXA2Q9CJga9AljnZMbOpYOdZIAFp1NsAC59CN7cAqVhQevK-L73Q

  • Now, open Microsoft Excel and go to the Data tab > Get Data > From Other Sources > From Web.
lXkHLYindVGp5Un1hKUc1wcwaSgw1phtCpcCEr9J6QzxpbdMppUt6MfIQUKuHytnMsB7wP7i-UPuipE5jeIiQ7xayArJ9lQFx8pMeIQBtUyaplAjluvWvdRtWuXAZU29mUwzFEGE5DU1QB6NjQqoFhA

  • Consequently, the From Web dialog box appears and there you need to change the attribute of the link. For that, replace the end part of the link /edit?usp=sharing with /export?format=xlsx.
  • Tap OK.
2OJhH9NOuE5aUqwZ_Y0_L3bvndWz3mqhS7GRuymeZEKfWhqMrx0DhGKLu6FjzlNyJ99GevYR1S2VGpU8vVh4U75atbdijFyRPXLv6XNM3agfzc8yptRtgyTXeBlDuLu-PrZKIGplxeF0oLVz_Bx-fTc

  • Subsequently, the Access Web Content dialog box appears. Here, select Connect.
jASWxR4fnuyliaM8wZ7V7Zp3iRZ0KaOx4C7hKf47fZE7NzZzys73WTFYSui_kS76eBjhKfzgSXAXUwj3FRujHXhYXP7rMbUkQD4IPuQImlM1_GOclHRGjtlv4XfxRDsVBa1eCwJ1OtFEImlKUowE9LI

  • Lastly, in the Navigator dialog box, click on the Document and tap Load.
QHvwaThY50j8rA4u8eXoowdjSPEapHuVDU4Si1JPcDvlJVkGIgF6dMDeTxmjzrgSoJztAyWXaONE2swVrO6kRHbeGtXlv1Zw9eRE7f2AicwxP1iBYgXC-CYR4Kwh71N21lEAsewFj3YhDaECJvGZ2R0

  • Thus, the required documents pop up in your Excel file.
  • If you wish to make any edits to your drive file, update the desktop file using the Refresh button in the Table Design tab.
tLh-ZJlHTzeuqXMS6wyo4DWEafeTHk7UYZXMI9WprWqjsKOUoCjJddo4kHob55d6uoXK-Ns09eqeii-CXWXOUz4w2VI5rqfhBKg_GgkAKGcNQVUrmOG_A5gqXZCPewTLkgsBa3qIKNSrwQTHun23YAk


Best Regards,
Yousuf Khan (ExcelDemy Team)
 
Hello Faisal,

I understand that you have an excel file on your google drive and wish to extract data from that file and store it in a local excel file on your desktop. Fortunately, this is all possible with a simple trick. Follow the below steps carefully to do so.
  • Firstly, open your file on your drive and click the Share option.
aeCTZYIvIm5nKleNZbHxDPYWrL7XlwPG8akPbP6dHC0ZXqnjO0bKjg-6lrMuUiakd436E2hhll-EU0u1XS8jfZC5VT-Qag_MNmXayL9nnZN25X0lKMJwurp65b2OQiusZcKw6z2QI5_zfuvVcP4MQkE

  • Afterward, copy the link as shown below.
uhSoiArbIKCEfUA4dAgnfAc8_LdRKC0bttZ3Z74V4aPjF-Tz_CH6gkWcMTbrqkGAYaQ_rlkJuNQG4T0UbzPKn3JgmU8J_LOlSpfXXA2Q9CJga9AljnZMbOpYOdZIAFp1NsAC59CN7cAqVhQevK-L73Q

  • Now, open Microsoft Excel and go to the Data tab > Get Data > From Other Sources > From Web.
lXkHLYindVGp5Un1hKUc1wcwaSgw1phtCpcCEr9J6QzxpbdMppUt6MfIQUKuHytnMsB7wP7i-UPuipE5jeIiQ7xayArJ9lQFx8pMeIQBtUyaplAjluvWvdRtWuXAZU29mUwzFEGE5DU1QB6NjQqoFhA

  • Consequently, the From Web dialog box appears and there you need to change the attribute of the link. For that, replace the end part of the link /edit?usp=sharing with /export?format=xlsx.
  • Tap OK.
2OJhH9NOuE5aUqwZ_Y0_L3bvndWz3mqhS7GRuymeZEKfWhqMrx0DhGKLu6FjzlNyJ99GevYR1S2VGpU8vVh4U75atbdijFyRPXLv6XNM3agfzc8yptRtgyTXeBlDuLu-PrZKIGplxeF0oLVz_Bx-fTc

  • Subsequently, the Access Web Content dialog box appears. Here, select Connect.
jASWxR4fnuyliaM8wZ7V7Zp3iRZ0KaOx4C7hKf47fZE7NzZzys73WTFYSui_kS76eBjhKfzgSXAXUwj3FRujHXhYXP7rMbUkQD4IPuQImlM1_GOclHRGjtlv4XfxRDsVBa1eCwJ1OtFEImlKUowE9LI

  • Lastly, in the Navigator dialog box, click on the Document and tap Load.
QHvwaThY50j8rA4u8eXoowdjSPEapHuVDU4Si1JPcDvlJVkGIgF6dMDeTxmjzrgSoJztAyWXaONE2swVrO6kRHbeGtXlv1Zw9eRE7f2AicwxP1iBYgXC-CYR4Kwh71N21lEAsewFj3YhDaECJvGZ2R0

  • Thus, the required documents pop up in your Excel file.
  • If you wish to make any edits to your drive file, update the desktop file using the Refresh button in the Table Design tab.
tLh-ZJlHTzeuqXMS6wyo4DWEafeTHk7UYZXMI9WprWqjsKOUoCjJddo4kHob55d6uoXK-Ns09eqeii-CXWXOUz4w2VI5rqfhBKg_GgkAKGcNQVUrmOG_A5gqXZCPewTLkgsBa3qIKNSrwQTHun23YAk


Best Regards,
Yousuf Khan (ExcelDemy Team)
Dear,

Many thanks to you for the great help but unfortunately, it will not fulfill my purpose.

Actually, i need to extract data dynamically. Excel file on Gdrive has date column and i need to get only that data which is matching with my date on local file.

Hope, i explained my problem.

Regards,
 
Dear,

Many thanks to you for the great help but unfortunately, it will not fulfill my purpose.

Actually, i need to extract data dynamically. Excel file on Gdrive has date column and i need to get only that data which is matching with my date on local file.

Hope, i explained my problem.

Regards,
Hi Faisal,

I'm glad that Yousuf's previous solution was of some help to me. However, I understand your requirement now, and you need an answer to extract dynamic data based on a date match, and I have found an idea that will help you reach your goal.

For better illustration purposes, I will share the workbook used to investigate your issues. I will also give you the google sheet link.
Remote Sheet: https://docs.google.com/spreadsheet...xloVcbro_YINrgLDP_Jyk3aBrI/export?format=xlsx

Steps:
  • First, open the Local Excel file and follow the procedures Yousuf mentioned.
  • When the From Web window appears, copy and paste the Remote Sheet link in the URL section and hit OK.
  • Later, choose Remote Sheet and click on Transform Data.
ss3.png
  • Some empty rows may appear, and to remove the empty rows, click on Remove Rows followed by Remove Blank Rows.
ss4.png
  • Now we will compare the Local Excel file data with the Remote Sheet data in the Power Query window.
  • To attain this, go to the New Source followed by Excel Workbook and open the intended sheet of the Local Excel file.
ss5.png
  • At this time, click on Combine and Merge Queries.
ss6.png
  • Subsequently, the Merge window will appear and select the Remote Sheet.
  • Choose Joined Date as the Matching column and hit OK.
ss7.png
  • Now, click on the Expand icon of the Remote Sheet column.
  • Later, select the Area and Title columns.
ss9.png
  • As a result, the intended table will display like the below one.
  • Then, press Close and Load, followed by Close and Load To.
  • At this stage, check New Worksheet and hit OK.
ss11.png
  • Thus, we extracted data dynamically and solved the issue.

Best regards,
Lutfor Rahman Shimanto
 

Attachments

  • ss3.png
    ss3.png
    53.5 KB · Views: 5
  • ss4.png
    ss4.png
    101.2 KB · Views: 5
  • ss5.png
    ss5.png
    29 KB · Views: 5
Last edited:

Online statistics

Members online
0
Guests online
4
Total visitors
4

Forum statistics

Threads
371
Messages
1,627
Members
705
Latest member
curioso
Back
Top