ไปยังเนื้อหาหลัก

วิธี จำกัด ผลลัพธ์ของสูตรเป็นค่าสูงสุดหรือต่ำสุดใน Excel

ต่อไปนี้คือเซลล์บางส่วนที่ต้องป้อนและตอนนี้ฉันต้องการใช้สูตรเพื่อสรุปเซลล์ แต่ จำกัด ผลลัพธ์ไว้ที่ค่าสูงสุดเช่น 100 กล่าวอีกนัยหนึ่งถ้าผลรวมมีค่าน้อยกว่า 100 ให้แสดงผลรวม มิฉะนั้นจะแสดง 100

จำกัด ผลลัพธ์ของสูตรเป็นค่าสูงสุดหรือต่ำสุด


จำกัด ผลลัพธ์ของสูตรเป็นค่าสูงสุดหรือต่ำสุด

ในการจัดการงานนี้คุณจะต้องใช้ฟังก์ชัน Max หรือ Min ใน Excel เท่านั้น

จำกัด ผลลัพธ์ของสูตรเป็นค่าสูงสุด (100)

เลือกเซลล์ที่คุณจะวางสูตรพิมพ์สูตรนี้ = ขั้นต่ำ (100, (SUM (A5: A10))), A5: A10 คือช่วงของเซลล์ที่คุณจะสรุปและกด เข้าสู่. ตอนนี้ถ้าผลรวมมีค่ามากกว่า 100 จะแสดง 100 ถ้าไม่แสดงผลรวม

Summation มากกว่า 100 แสดง 100
doc limi สูงสุดต่ำสุด 1
Summation มีค่าน้อยกว่า 100 แสดง summation
doc limi สูงสุดต่ำสุด 2

จำกัด ผลลัพธ์ของสูตรเป็นค่าต่ำสุด (20)

เลือกเซลล์ที่คุณวางสูตรไว้พิมพ์สิ่งนี้ = MaX (20, (SUM (A5: A10))), A5: A10 คือช่วงของเซลล์ที่คุณจะสรุปและกด เข้าสู่. ตอนนี้ถ้าผลรวมมีค่าน้อยกว่า 20 ก็จะแสดง 20 ถ้าไม่แสดงผลรวม

Summation มีขนาดเล็กกว่า 20 แสดง 20
doc limi สูงสุดต่ำสุด 3
Summation มากกว่า 20 แสดง summation
doc limi สูงสุดต่ำสุด 4

สุดยอดเครื่องมือเพิ่มผลผลิตในสำนักงาน

🤖 Kutools AI ผู้ช่วย: ปฏิวัติการวิเคราะห์ข้อมูลโดยยึดตาม: การดำเนินการที่ชาญฉลาด   |  สร้างรหัส  |  สร้างสูตรที่กำหนดเอง  |  วิเคราะห์ข้อมูลและสร้างแผนภูมิ  |  เรียกใช้ฟังก์ชัน Kutools...
คุณสมบัติยอดนิยม: ค้นหา เน้น หรือระบุรายการที่ซ้ำกัน   |  ลบแถวว่าง   |  รวมคอลัมน์หรือเซลล์โดยไม่สูญเสียข้อมูล   |   รอบโดยไม่มีสูตร ...
การค้นหาขั้นสูง: VLookup หลายเกณฑ์    VLookup หลายค่า  |   VLookup ข้ามหลายแผ่น   |   การค้นหาที่ไม่ชัดเจน ....
รายการแบบเลื่อนลงขั้นสูง: สร้างรายการแบบหล่นลงอย่างรวดเร็ว   |  รายการแบบหล่นลงขึ้นอยู่กับ   |  เลือกหลายรายการแบบหล่นลง ....
ผู้จัดการคอลัมน์: เพิ่มจำนวนคอลัมน์เฉพาะ  |  ย้ายคอลัมน์  |  สลับสถานะการมองเห็นของคอลัมน์ที่ซ่อนอยู่  |  เปรียบเทียบช่วงและคอลัมน์ ...
คุณสมบัติเด่น: กริดโฟกัส   |  มุมมองการออกแบบ   |   บาร์สูตรใหญ่    สมุดงานและตัวจัดการชีต   |  ห้องสมุดทรัพยากร (ข้อความอัตโนมัติ)   |  เลือกวันที่   |  รวมแผ่นงาน   |  เข้ารหัส/ถอดรหัสเซลล์    ส่งอีเมลตามรายการ   |  ซุปเปอร์ฟิลเตอร์   |   ตัวกรองพิเศษ (กรองตัวหนา/ตัวเอียง/ขีดทับ...) ...
ชุดเครื่องมือ 15 อันดับแรก12 ข้อความ เครื่องมือ (เพิ่มข้อความ, ลบอักขระ, ... )   |   50 + แผนภูมิ ประเภท (แผนภูมิ Gantt, ... )   |   40+ ใช้งานได้จริง สูตร (คำนวณอายุตามวันเกิด, ... )   |   19 การแทรก เครื่องมือ (ใส่ QR Code, แทรกรูปภาพจากเส้นทาง, ... )   |   12 การแปลง เครื่องมือ (ตัวเลขเป็นคำ, การแปลงสกุลเงิน, ... )   |   7 ผสานและแยก เครื่องมือ (แถวรวมขั้นสูง, แยกเซลล์, ... )   |   ... และอื่น ๆ

เพิ่มพูนทักษะ Excel ของคุณด้วย Kutools สำหรับ Excel และสัมผัสประสิทธิภาพอย่างที่ไม่เคยมีมาก่อน Kutools สำหรับ Excel เสนอคุณสมบัติขั้นสูงมากกว่า 300 รายการเพื่อเพิ่มประสิทธิภาพและประหยัดเวลา  คลิกที่นี่เพื่อรับคุณสมบัติที่คุณต้องการมากที่สุด...

รายละเอียด


แท็บ Office นำอินเทอร์เฟซแบบแท็บมาที่ Office และทำให้งานของคุณง่ายขึ้นมาก

  • เปิดใช้งานการแก้ไขและอ่านแบบแท็บใน Word, Excel, PowerPoint, ผู้จัดพิมพ์, Access, Visio และโครงการ
  • เปิดและสร้างเอกสารหลายรายการในแท็บใหม่ของหน้าต่างเดียวกันแทนที่จะเป็นในหน้าต่างใหม่
  • เพิ่มประสิทธิภาพการทำงานของคุณ 50% และลดการคลิกเมาส์หลายร้อยครั้งให้คุณทุกวัน!
Comments (24)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I would like the cell to return the value calculated, but is less than the minimum, it will only show the minimum but if greater than the maximum it will only show the maximum, but if in between the true value would appear. But the range may changed on the level chosen. D4 - insert current salary / D6 choose level / D7 would show minimum of that level and D8 would show the maximum of that level. D9 would be the percentage in increase and E9 would show the new calculcation. D11 titled new salary would display the calculation but if less than the minimum on show the minimum value, if greater the maximum only show the maximum value
This comment was minimized by the moderator on the site
If the summation is more than this sum up the tale invoices below the target amount

Merchant Name Recoveries from Merchant
Baxter Plc ₦1,001,000.00 ₦4,634,642.50
Baxter Plc ₦59,197.50
Baxter Plc ₦641,000.00
Baxter Plc ₦1,751,000.00
Baxter Plc ₦101,000.00
Baxter Plc ₦1,021,000.00
Baxter Plc ₦101,000.00
Baxter Plc ₦746,000.00
This comment was minimized by the moderator on the site
=IF(SUMIFS('FR-4---Recoveries from Merchant'!$K:$K,'FR-4---Recoveries from Merchant'!$E:$E,$A15)>$C15,SUMPRODUCT(SMALL(INDEX(('FR-4---Recoveries from Merchant'!$K$8:$K$27)+('FR-4---Recoveries from Merchant'!$E$8:$E$27<>$A15)*1E+99,,),ROW($1:$7))),(SUMIFS('FR-4---Recoveries from Merchant'!$K:$K,'FR-4---Recoveries from Merchant'!$E:$E,$A15)))

That's final solution I was able to provide
This comment was minimized by the moderator on the site
My question is, if the summation exceeds the maximum, I would like to return value less than the maximum, say for instance, the total is #5,000,000 and I could only pay #4,634,642.50 as the available amount. then I would like to return value like Sum(₦1,001,000.00, ₦59,197.50,₦641,000.00,₦1,751,000.00,₦101,000.00,₦1,021,000.00), which is lower than the available amount. Also, for easy reconciliation, we could refer to the specific invoice numbers.
This comment was minimized by the moderator on the site
Hi! This instruction is awesome. Thank you! I have a further question: if the summation exceeds the maximum, I would like to return the value 0 instead of the maximum. Is there a way to do that?
Thank you!
This comment was minimized by the moderator on the site
Hi, regarding this issue, please refer to this post Go to now
This comment was minimized by the moderator on the site
Thank you!
This comment was minimized by the moderator on the site
Q stresse.....ESSAS FÓRMULAS, não funionam aqui.
This comment was minimized by the moderator on the site
Hi, the formula provided above is work in English Excel version, if you are in Portugues version, try formula:
=MÍNIMO(100;(SOMA(A5:A10)))
This comment was minimized by the moderator on the site
I am trying to limit the amount in a cell to a max of 24. I am calculating the number of hours worked divided by 30 with this formula, for example
=F5/K1

F5 is the specific employees hours worked,
and K1 is a hidden cell with a value of 30
(because for every 30 hours they work, they earn 1 hour of sick time) but the max limit is 24 hours in a year and i don't know how to limit the total to a max of 24 hours earnable.
Any help?
This comment was minimized by the moderator on the site
Hi, V Rogers, try this formula: =MIN(1,SUM(E:E)/K1)
in the formula, E:E is the column that contains employees' work hours, you can change it as you need., the result cell (F5) needed to be formatted as 37:30:55 in the Format Cells dialog. See screenshot:
https://www.extendoffice.com/images/stories/comments/sun-comment/doc-max-hours-1.png
This comment was minimized by the moderator on the site
Alguém me ajuda
Qual fórmula uso na celula onde meu resultado limite é de 1000 após esse resultado ele voltar a 0 e continuar somando e sempre q atingir 1000 ele voltar a 0
This comment was minimized by the moderator on the site
Hi, try this formula: =IF(SUM(D1:D2)>1000,0,SUM(D1:D2))
D1 and D2 is the first two data that used to add.
https://www.extendoffice.com/images/stories/comments/sun-comment/doc-formula-01.png
This comment was minimized by the moderator on the site
Good day,

does anyone have an idea how this works on multiplication formulas?

A1*A20= 100, but min value shall be 120

Is there a formula that always shows at least 120?
This comment was minimized by the moderator on the site
Hi, use formula like this: =MAX(120,(A1*A20))
This comment was minimized by the moderator on the site
For anyone looking to have a min AND a max, use the following formula:

=MIN(+20,MAX(-20,SUM(A5:A10)))

This will limit the calculated sum to between -20 and +20, or any number of your choosing.
This comment was minimized by the moderator on the site
Fera, como vc conseguiu isso? Aqui não funciona de jeito nenhum, no excel BR.
This comment was minimized by the moderator on the site
Hola, estoy intentando aplicar la fórmula pero no me funciona. En mi caso el valor min es en horas, no se si es por eso que me da error.

Lo que quiero hacer es una celda que repita el valor de la celda adyacente limitando a un máximo de 8 horas. A ver si me pueden ayudar, gracias.
This comment was minimized by the moderator on the site
Thank you, worked perfectly :)
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations