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]
เพื่อให้แตกต่างจากข้อความทั่วไป สะดวกในการอ่านและทดสอบ (คลิกเพื่อดูตัวอย่าง)แล้วถ้าเป็นแบบ 4 หลักจะเขียนสูตรยังไงครับ ขอขอบคุณล่วงหน้าครับ[puriwutpokin wrote: Wed Jan 10, 2018 5:25 pm ลองดูนะครับว่าได้ไหม
=CHOOSE(RANDBETWEEN(1,36),"ก","ข","ฃ","ค","ฅ","ง","จ","ฉ","ช","ซ","ฐ","ด","ต","ถ","ท","ธ","น","บ","ป","ผ","ฝ","พ","ฟ","ภ","ม","ย","ร","ฤ","ล","ฦ","ว","ศ","ส","ห","อ","ฮ")
อันนี้คือใช้สูตรเดิม 4 ครั้ง โดยใช้ & เป็นตัวเชื่อมใช่ไหมครับ ลองแล้วได้ 4 ตัวอักษรตามต้องการครับ ขอขอบคุณครับผมpuriwutpokin wrote: Sat Apr 01, 2023 7:51 pm =CHOOSE(RANDBETWEEN(1,36),"ก","ข","ฃ","ค","ฅ","ง","จ","ฉ","ช","ซ","ฐ","ด","ต","ถ","ท","ธ","น","บ","ป","ผ","ฝ","พ","ฟ","ภ","ม","ย","ร","ฤ","ล","ฦ","ว","ศ","ส","ห","อ","ฮ")&CHOOSE(RANDBETWEEN(1,36),"ก","ข","ฃ","ค","ฅ","ง","จ","ฉ","ช","ซ","ฐ","ด","ต","ถ","ท","ธ","น","บ","ป","ผ","ฝ","พ","ฟ","ภ","ม","ย","ร","ฤ","ล","ฦ","ว","ศ","ส","ห","อ","ฮ")&CHOOSE(RANDBETWEEN(1,36),"ก","ข","ฃ","ค","ฅ","ง","จ","ฉ","ช","ซ","ฐ","ด","ต","ถ","ท","ธ","น","บ","ป","ผ","ฝ","พ","ฟ","ภ","ม","ย","ร","ฤ","ล","ฦ","ว","ศ","ส","ห","อ","ฮ")&CHOOSE(RANDBETWEEN(1,36),"ก","ข","ฃ","ค","ฅ","ง","จ","ฉ","ช","ซ","ฐ","ด","ต","ถ","ท","ธ","น","บ","ป","ผ","ฝ","พ","ฟ","ภ","ม","ย","ร","ฤ","ล","ฦ","ว","ศ","ส","ห","อ","ฮ")