Search this site
Embedded Files

สอบถามข้อมูลเพิ่มเติม
VBA Excel
  • หน้าแรก
  • หลักสูตรฝึกอบรม
    • In-House Training | Corporate Training
    • VBA Macros in Excel
    • Advanced Excel
    • Intermediate Excel
    • PivotTable and PivotChart in Excel
    • Financial Modeling
    • Excel for Business Data Analysis
    • Powerful Functions in Excel
    • Power Query in Excel
    • Professional Charts in Excel
    • Power BI | Data Visualization and Interactive Dashboards
    • Power BI | DAX
    • Power Automate Desktop
    • Power Automate Cloud Flows
    • Microsoft Copilot 365
    • Advanced VBA in Excel
    • Basic Excel
  • Online Learning
  • ตารางฝึกอบรม
  • สมัครเรียน | ขอใบเสนอราคา
  • ผลงานของเรา
  • ติดต่อเรา
  • บทความ Excel
VBA Excel
  • หน้าแรก
  • หลักสูตรฝึกอบรม
    • In-House Training | Corporate Training
    • VBA Macros in Excel
    • Advanced Excel
    • Intermediate Excel
    • PivotTable and PivotChart in Excel
    • Financial Modeling
    • Excel for Business Data Analysis
    • Powerful Functions in Excel
    • Power Query in Excel
    • Professional Charts in Excel
    • Power BI | Data Visualization and Interactive Dashboards
    • Power BI | DAX
    • Power Automate Desktop
    • Power Automate Cloud Flows
    • Microsoft Copilot 365
    • Advanced VBA in Excel
    • Basic Excel
  • Online Learning
  • ตารางฝึกอบรม
  • สมัครเรียน | ขอใบเสนอราคา
  • ผลงานของเรา
  • ติดต่อเรา
  • บทความ Excel
  • More
    • หน้าแรก
    • หลักสูตรฝึกอบรม
      • In-House Training | Corporate Training
      • VBA Macros in Excel
      • Advanced Excel
      • Intermediate Excel
      • PivotTable and PivotChart in Excel
      • Financial Modeling
      • Excel for Business Data Analysis
      • Powerful Functions in Excel
      • Power Query in Excel
      • Professional Charts in Excel
      • Power BI | Data Visualization and Interactive Dashboards
      • Power BI | DAX
      • Power Automate Desktop
      • Power Automate Cloud Flows
      • Microsoft Copilot 365
      • Advanced VBA in Excel
      • Basic Excel
    • Online Learning
    • ตารางฝึกอบรม
    • สมัครเรียน | ขอใบเสนอราคา
    • ผลงานของเรา
    • ติดต่อเรา
    • บทความ Excel

วิธีการแยกข้อมูลใน Excel เป็นหลาย Column | Remove Line Breaks

บางที เราดึงข้อมูล จาก Database มาใน Excel ชอบมีลักษณะตามรูป​ เพราะมี Line Break ติดมา (Alt + Enter)


และ ต้องการจะเปลี่ยนเป็นแบบด้านขวา แยก คอลัมน์ กัน


มีวิธีการ ตามนี้เลยครับ


1. เลือกทั้ง คอลัมน์ -> Ctrl + f

โดย ในช่อง Find - > พิมพ์ Ctrl + j

และ ช่อง Replace -> พิมพ์ , (comma)

2. ผลลัพธ์ที่ได้จะเป็นตามรูป เหลือเป็น บรรทัดเดียว โดยคั่น ด้วย comma


3.ขั้นตอนถัดไป คือ เรา จะแบ่งเป็น 3 คอลัมน์ โดย มี comma เป็นตัวคั่น

วิธีการ คือ เลือกทั้ง คอลัมน์ - > เมนู Excel -> Data - > Text to Columns


3.หน้าต่างแรก เลือก Delimited - >คลิก Next -> หน้าต่างที่ 2 ติ๊ก ที่ comma -> คลิก Finish

ผลลัพธ์จะเป็นตามรูปสุดท้าย คือ แยก คอลัมน์เรียบร้อย

บริษัท ชั้นสาม จำกัดChansam Co.,Ltd.   
ติดต่อเรา โทรศัพท์ : 02-0038053 อีเมล : info@vba-excel.com
Report abuse
Page details
Page updated
Report abuse