Google Sheets làm việc online, tự lưu thay đổi. Excel làm việc offline. Có thể kết nối để thay đổi trên Google Sheets tự cập nhật sang Excel.
Cách kết nối (Power Query)
- Mở Google Sheets cần sync > File > Publish to the web.
- Chọn Entire Document hoặc sheet cụ thể > bật Automatically republish when changes are made > Publish > OK.
- Copy link nhận được.
- Mở Excel > Data > New Query > From Other Sources > From Web.
- Dán link > OK (chọn Basic nếu hỏi).
- Cửa sổ Navigator: tích Select multiple items > chọn Table 0 > Edit (hoặc Transform Data).
- Query Editor: góc trên trái > Use First Row as Headers.
- Góc trên trái > Choose Columns > bỏ chọn cột không cần > OK.
- Close & Load > dữ liệu load vào Excel.
Tự động làm mới
- Chọn bảng > Data > Connections > Properties.
- Tích Refresh every > nhập phút (ví dụ 5).
- Tích Refresh data when opening the file > OK.
Lưu ý: Google Sheets cần ~5 phút để republish sau khi thay đổi. Excel sẽ tự refresh theo chu kỳ đặt.
Đọc thêm: Mẹo Excel nâng cao.