ซิงค์ Google Sheets กับ Excel ให้ข้อมูลอัปเดตอัตโนมัติ โดยใช้ฟีเจอร์ Publish to web ของ Google Sheets และ Get Data from Web ของ Excel
ขั้นตอนการเชื่อมต่อ
- เปิด Google Sheets → File > Publish to the web
- เลือก Entire Document หรือ Sheet เฉพาะ → เปิด Automatically republish when changes are made → Publish
- Copy ลิงก์ที่ได้
- เปิด Excel → Data > New Query > From Other Sources > From Web
- วางลิงก์ → OK (เลือก Basic ถ้ามีตัวเลือก)
- ใน Navigator: ติ๊ก Select multiple items → เลือก Table 0 → Edit/Transform Data
- Power Query Editor: Use First Row as Headers → Choose Columns ลบคอลัมน์ไม่ต้องการ → Close & Load
ตั้งค่ารีเฟรชอัตโนมัติ
- เลือกตาราง → Data > Connections > Properties
- ติ๊ก Refresh every → กำหนดนาที (เช่น 5) → ติ๊ก Refresh data when opening the file → OK
Google Sheets จะเผยแพร่การเปลี่ยนแปลงทุก 5 นาที Excel จึงจะได้ข้อมูลล่าสุด
อ่านเพิ่มเติม: Dark theme ใน Google Docs/Sheets/Slides | เริ่ม Word/Excel/PowerPoint ใน Safe Mode | Excel Tips ประหยัดเวลา | Advanced Excel Tips