Skip to main content

Conas toradh na foirmle a theorannú go luach uasta nó íosta in Excel?

Seo roinnt cealla is gá a iontráil, agus anois ba mhaith liom foirmle a úsáid chun na cealla a achoimriú ach an toradh a theorannú go huasluach mar 100. Is é sin le rá, má tá an tsuimiú níos lú ná 100, taispeáin an tsuimiú, a mhalairt a thaispeáint 100.

Teorainn le foirmle a theorannú go dtí uasluach nó íosluach


Teorainn le foirmle a theorannú go dtí uasluach nó íosluach

Chun an tasc seo a láimhseáil, ní gá duit ach an fheidhm Max nó Min a chur i bhfeidhm in Excel.

Teorainn le foirmle a theorannú go dtí an luach is mó (100)

Roghnaigh cill ar a gcuirfidh tú an fhoirmle, clóscríobh an fhoirmle seo = MIN (100, (SUM (A5: A10))), A5: Is é A10 an raon cille a dhéanfaidh tú a achoimriú, agus brúigh Iontráil. Anois, má tá an tsuimiú níos mó ná 100, taispeánfaidh sé 100, mura bhfuil, taispeánfaidh sé an tsuim.

Tá an tsuimiú níos mó ná 100, taispeáin 100
doc limi uasmhéid 1
Tá an tsuimiú níos lú ná 100, taispeáin suimiú
doc limi uasmhéid 2

Teorainn le foirmle a theorannú go dtí an luach íosta (20)

Roghnaigh cill ina gcuireann tú an fhoirmle, clóscríobh seo = MaX (20, (SUM (A5: A10))), A5: Is é A10 an raon cille a dhéanfaidh tú a achoimriú, agus brúigh Iontráil. Anois, má tá an tsuimiú níos lú ná 20, taispeánfaidh sé 20; mura bhfuil, taispeáin an tsuim.

Tá an achoimre níos lú ná 20, taispeáin 20
doc limi uasmhéid 3
Tá an tsuimiú níos mó ná 20, taispeáin suim
doc limi uasmhéid 4

Uirlisí Táirgiúlachta Oifige is Fearr

🤖 Kutools AI Aide: anailís sonraí a réabhlóidiú bunaithe ar: Forghníomhú Chliste   |  Gin Cód  |  Cruthaigh Foirmlí Saincheaptha  |  Anailís a dhéanamh ar Sonraí agus Cairteacha a Ghin  |  Feidhmeanna Kutools a agairt...
Gnéithe Coitianta: Faigh, Aibhsigh nó Aithnigh Dúblaigh   |  Scrios Sraitheanna Bána   |  Comhcheangail Colúin nó Cealla gan Sonraí a Chailleadh   |   Babhta gan Foirmle ...
Cuardaigh Super: Ilchritéir VLookup    VLookup Illuachanna  |   VLookup Trasna Ilbhileoga   |   Amharc doiléir ....
Liosta anuas Casta: Go tapa Cruthaigh Liosta Anuas   |  Liosta anuas Cleithiúnach   |  Liosta Buail Isteach Ilroghnacha ....
Bainisteoir Colún: Cuir Líon Sonrach Colún leis  |  Colúin Bog  |  Scoránaigh Stádas Infheictheachta na gColún Ceilte  |  Déan comparáid idir Raonta & Colúin ...
Gnéithe Réadmhaoin: Fócas Eangaí   |  Amharc Dearaidh   |   Barra Mór na Foirmle    Leabhar Oibre & Bainisteoir Bileog   |  Leabharlann Acmhainní (Uaththéacs)   |  Piocálaí Dáta   |  Comhcheangail Bileoga Oibre   |  Criptigh/Díchriptigh Cealla    Seol Ríomhphost trí Liosta   |  Scagaire Super   |   Scagaire Speisialta (scagaire trom/iodálach/stailc tríd...) ...
Barr 15 Uirlisí12 Téacs uirlisí (Cuir Téacs, Bain Carachtair,...)   |   50 + Cairt cineálacha (Cairt Gantt,...)   |   40+ Praiticiúil Foirmlí (Ríomh aois bunaithe ar lá breithe,...)   |   19 Insertion uirlisí (Cuir isteach Cód QR, Ionsáigh Pictiúr ón gCosán,...)   |   12 Tiontú uirlisí (Uimhreacha le Focail, Comhshó Airgeadra,...)   |   7 Cumaisc & Scoilt uirlisí (Sraitheanna Comhcheangail Casta, Cealla Scoilt,...)   |   ... agus eile

Supercharge Do Scileanna Excel le Kutools le haghaidh Excel, agus Éifeachtúlacht Taithí Cosúil Ná Roimhe. Kutools le haghaidh Excel Tairiscintí Níos mó ná 300 Ardghnéithe chun Táirgiúlacht a Treisiú agus Sábháil Am.  Cliceáil anseo chun an ghné is mó a theastaíonn uait a fháil ...

Tuairisc


Tugann Tab Oifige comhéadan Tabbed chuig Office, agus Déan Do Obair i bhfad Níos Éasca

  • Cumasaigh eagarthóireacht agus léamh tabbed i Word, Excel, PowerPoint, Foilsitheoir, Rochtain, Visio agus Tionscadal.
  • Oscail agus cruthaigh cáipéisí iolracha i gcluaisíní nua den fhuinneog chéanna, seachas i bhfuinneoga nua.
  • Méadaíonn do tháirgiúlacht 50%, agus laghdaíonn sé na céadta cad a tharlaíonn nuair luch duit gach lá!
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