เพื่อมุ่งให้เกิดคุณภาพจากการอบรมสูงสุด Excel Expert Training ให้การอบรม Excel กลุ่มเล็กๆ ไม่เกิน 6 คนทุกคนสามารถเรียนรู้ Excel อย่างใกล้ชิด จะมาคนเดียวหรือมาเป็นกลุ่มแล้วนัดวันอบรมแบบส่วนตัวก็ได้
ผู้เข้าอบรมทุกคนสามารถติดตามเนื้อหาที่อบรมได้อย่างชัดเจนจากจอภาพด้านหน้าของตัวเอง
-
SUMIF ใน Excel 2007 ใช้คำนวณต่างจาก Excel 2003
วานนี้ได้รับตัวอย่างแฟ้มที่ใช้ SumIF คำนวณได้ถูกต้องใน Excel 2003 แต่พอเปิดแฟ้มนั้นใน Excel 2007 จะพบว่า SumIF คืนค่าเป็น 0
ผมตรวจสอบใน Excel 2007 Help พบว่าใน Excel 2007 นั้น SumIF ไม่สามารถใช้เงื่อนไขที่เป็นตัวอักษรได้เช่นที่เคยใช้ได้ใน Excel 2003 หรือรุ่นก่อนหน้าครับ ขอให้ดูจากคำอธิบายใน Excel 2007 ตามนี้
SUMIF(range, criteria, [sum_range])
The SUMIF function syntax has the following arguments :
range Required. The range of cells that you want evaluated by criteria. Cells in each range must be numbers or names, arrays, or references that contain numbers. Blank and text values are ignored.
criteria Required. The criteria in the form of a number, expression, a cell reference, text, or a function that defines which cells will be added. For example, criteria can be expressed as 32, ">32", B5, 32, "32", "apples", or TODAY().
Important Any text criteria or any criteria that includes logical or mathematical symbols must be enclosed in double quotation marks ("). If the criteria is numeric, double quotation marks are not required.
sum_range Optional. The actual cells to add, if you want to add cells other than those specified in the range argument. If the sum_range argument is omitted, Excel adds the cells that are specified in the range argument (the same cells to which the criteria is applied).
ผมคิดว่าเรื่องนี้เป็นปัญหาใหญ่มากครับ พวกเราต้องย้อนกลับไปแก้สูตรให้ใช้แบบ Array แทน ตามคำแนะนำจาก Microsoft ที่
http://support.microsoft.com/kb/260415
-
ไม่เข้าใจเจตนาของ Microsoft เลยครับ จริงๆอย่างน้อยน่าจะคงความสามารถเดิมๆไว้
บรรพต
-
ดูจาก Excel 2007 Help พบว่า CountIF ใน Excel 2007 ใช้ได้กับตัวเลขเท่านั้นด้วยครับ
น่าเสียดายที่ผมสร้างแฟ้มเพื่อทดสอบยังไม่เห็นว่า Excel 2007 คำนวณไม่ได้ตามแฟ้มที่เคยเห็นมา ถ้าใครมีตัวอย่างแฟ้มที่สูตร SUMIF ไม่ทำงานใน Excel 2007 กรุณายกมาให้ดูกันด้วยครับ
-
เท่าที่ทดสอบดูพบว่า ตามปกติทั้ง 2003/2007 จะให้คำตอบเดียวกัน เว้นแต่สั่ง Tools > Options > Transition > Transition Formula Evaluation จะทำให้ Excel 2007 ไม่นำตัวเลขที่เป็น Text มาคำนวณใน SUMIF ครับ
Similar Threads
-
By koy_naja in forum Excel Expert Forum Library 2012 - 2007
Replies: 1
Last Post: 18 Mar 2011, 11:02
-
By herbaka in forum Excel Expert Forum Library 2012 - 2007
Replies: 4
Last Post: 30 Oct 2009, 11:11
-
By HS8MQM in forum Excel Expert Forum Library 2012 - 2007
Replies: 3
Last Post: 16 Aug 2009, 09:49
-
By teerayutk in forum Excel Expert Forum Library 2012 - 2007
Replies: 7
Last Post: 29 Jan 2009, 18:01
-
By worachai_p in forum Excel Expert Forum Library 2012 - 2007
Replies: 4
Last Post: 30 May 2008, 10:34
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules