snasui.com ยินดีต้อนรับ ยินดีต้อนรับสู่กระดานถามตอบ Excel and VBA และอื่น ๆ ที่เป็นมิตรกับทุกท่าน มีไฟล์แนบมหาศาล ช่วยให้ท่านค้นหาและติดตามศึกษาได้โดยง่าย สมาชิกท่านใดที่ยังไม่ได้ระบุ Version ของ Excel ที่ใช้งานจริง สามารถทำตาม Link นี้เพื่อจะได้รับคำตอบที่ตรงกับ Version ของท่านครับ ระบุ Version ของ Excel
I know the criteria is in column P&R actually by refer to your testing formula in M3.
However, the sample answers that you placed in L3 = 110 , L6 =120, L21=110 look like impossible to return like that numbers by refer to the SUMIFS formula method in M3 because of the criteria R:R,"<="&F3.
No values in column "R" less than or equal "F3" position, then the results that the testing formula return 0 should be the exact answer.
Then if you need the results return by the sample answers in L3=110 , L6=120, L21=110 , I would like to know about the calculation method to get them all by manual calculation.