EXCEL TOOLS
Excel Add-ins ที่พัฒนาโดยคุณสันติพงศ์ ณสุย (MVP Excel 2010-2020) ด้วยภาษา C# เพื่อแก้ไขปัญหาไฟล์ใหญ่ คำนวณนาน ทำงานช้า จัดการข้อมูลต่าง ๆ ที่ทำงานประจำวันได้อย่างสะดวกรวดเร็ว สนใจคลิกไปดูได้ที่นี่ครับ => Excel Tools
Excel Add-ins ที่พัฒนาโดยคุณสันติพงศ์ ณสุย (MVP Excel 2010-2020) ด้วยภาษา C# เพื่อแก้ไขปัญหาไฟล์ใหญ่ คำนวณนาน ทำงานช้า จัดการข้อมูลต่าง ๆ ที่ทำงานประจำวันได้อย่างสะดวกรวดเร็ว สนใจคลิกไปดูได้ที่นี่ครับ => Excel Tools
[code]
และปิดด้วย [/code]
ตัวอย่างเช่น [code]dim r as range[/code]
เพื่อให้แตกต่างจากข้อความทั่วไป สะดวกในการอ่านและทดสอบ (คลิกเพื่อดูตัวอย่างเพิ่มเติม)Code: Select all
SELECT [Prod_ Order No_]
,[Item No_]
,[Line No_]
,sum([Add Round Before (Print)]) as [Add Round Before (Print)]
,sum([Add Round After (Print)]) as [Add Round After (Print)]
,sum([Round Print]) as [Round Print]
,sum([Add Round Before (Print)] + [Add Round After (Print)] + [Round Print]) as [Total Round Print]
,[No_ of Cut Size]
,[No_ of Work]
FROM [_PROD].[dbo].[$Prod_ Order Component]
where [Location Code] in ('PAPER') and [Prod_ Order No_] ='RP21040211'
group by [Prod_ Order No_],[Item No_],[No_ of Cut Size],[No_ of Work],[Line No_]
[Line No_]
ที่ Where
เพื่อระบุว่าเป็น [Line No_] = 10000
ครับ