Перейти до основного матеріалу

Як знайти мінімальне значення в діапазоні, виключаючи нульове значення в Excel?

Зазвичай нульовим значенням вважається мінімальне значення серед додатних чисел. Але в деяких випадках вам потрібно знайти мінімальне значення в діапазоні, виключаючи нульове значення. Ця стаття покаже вам спосіб пошуку мінімального значення за винятком нуля в Excel.

Знайдіть мінімальне значення за винятком нуля за формулою


стрілка синя права міхур Знайдіть мінімальне значення за винятком нуля за формулою

Припустимо, що ваші числові значення знаходяться в діапазоні A1: E7, як показано на знімку екрана нижче. Будь ласка, застосуйте наступну формулу, щоб отримати мінімальне значення в цьому діапазоні, за винятком нуля в Excel.

1. Виберіть порожню комірку (H1) для розміщення мінімального значення, введіть формулу =SMALL(A1:E7,COUNTIF($A$1:$E$7,0)+1) в панель формул, а потім натисніть Що натомість? Створіть віртуальну версію себе у ключ

Тоді мінімальне значення вказаного діапазону, за винятком нуля, заповнюється у вибраній комірці, як показано на скріншоті.

примітки: Ви також можете використовувати формулу масиву =MIN(IF($A$1:$E$7 <>0,$A$1:$E$7)) + Ctrl + Shift + Що натомість? Створіть віртуальну версію себе у клавіші, щоб отримати мінімальне значення діапазону без нуля в Excel.

Найкращі інструменти продуктивності офісу

🤖 Kutools AI Aide: Революціонізуйте аналіз даних на основі: Інтелектуальне виконання   |  Згенерувати код  |  Створення спеціальних формул  |  Аналізуйте дані та створюйте діаграми  |  Викликати функції Kutools...
Популярні функції: Знайдіть, виділіть або визначте дублікати   |  Видалити порожні рядки   |  Об’єднайте стовпці або клітинки без втрати даних   |   Раунд без Формули ...
Супер пошук: VLookup за кількома критеріями    Багатозначний VLookup  |   VLookup на кількох аркушах   |   Нечіткий пошук ....
Розширений розкривний список: Швидке створення випадаючого списку   |  Залежний спадний список   |  Виберіть розкривний список, що вибирається ....
Менеджер колонок: Додайте конкретну кількість стовпців  |  Перемістити стовпці  |  Перемкнути статус видимості прихованих стовпців  |  Порівняйте діапазони та стовпці ...
Особливості: Фокус сітки   |  Перегляд дизайну   |   Велика панель формул    Диспетчер робочих книг і аркушів   |  Бібліотека ресурсів (автотекст)   |  Вибір дати   |  Об’єднайте робочі аркуші   |  Шифрування/розшифрування клітинок    Надсилайте листи за списком   |  Супер фільтр   |   Спеціальний фільтр (фільтр жирний/курсив/закреслений...) ...
Топ-15 наборів інструментів12 текст Tools (додати текст, Видалити символи, ...)   |   50 + Графік типи (діаграма Ганта, ...)   |   40+ Практичний Формули (Розрахуйте вік на основі дня народження, ...)   |   19 вставка Tools (Вставте QR-код, Вставити зображення зі шляху, ...)   |   12 Перетворення Tools (Числа до слів, Валютна конверсія, ...)   |   7 Злиття та розділення Tools (Розширені комбіновані ряди, Розділені клітини, ...)   |   ... і більше

Покращуйте свої навички Excel за допомогою Kutools для Excel і відчуйте ефективність, як ніколи раніше. Kutools для Excel пропонує понад 300 додаткових функцій для підвищення продуктивності та економії часу.  Натисніть тут, щоб отримати функцію, яка вам найбільше потрібна...

Опис


Вкладка Office Передає інтерфейс із вкладками в Office і значно полегшує вашу роботу

  • Увімкніть редагування та читання на вкладках у Word, Excel, PowerPoint, Publisher, Access, Visio та Project.
  • Відкривайте та створюйте кілька документів на нових вкладках того самого вікна, а не в нових вікнах.
  • Збільшує вашу продуктивність на 50% та зменшує сотні клацань миші для вас щодня!
Comments (29)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Saya mencari nilai alpa predikat dan tentunya nilai 0 sangat dibutuhkan, kenapa fungsi min tidak mendeteksi nilai 0 di excel saya?
This comment was minimized by the moderator on the site
Hi Denysptwn,
The formula in this post helps to find the smallest value excluding zero.
If you want to include zero in the result, just use this formula: =MIN($A$1:$C$7)
This comment was minimized by the moderator on the site
Hi Dear Srystal
Many thanks for you kindness and the time you spend for my problem and for solving it,
I didn't knew this way and this is very useful for future working.
As i have more than 700 rows in my sheet and needed to sort my data too and because of some merged cells it was very hard to do it, therefore i askd fir help to have some VBA code and some kind friends kindly sent me a code and soled my problem.
I am Sorry, I forgot to let you know that the problem has been resolved.
Thank you again and hope to be able to repay the love of all of you friends.
Good luck dear
Sincerely yours, Javid
This comment was minimized by the moderator on the site
Hi Javid,
You may receive an error message when you sort a range that contains merged cells in Excel. There is no directly way to handle this issue. You need to manually unmerge the merged cells first to sort all cells. You can following the methods in the following article. Hope I can help. Thank you for your comment.
How To Sort Data With Merged Cells In Excel?
This comment was minimized by the moderator on the site
Hi dear Crystal,
Good to see your comment again :)
Many Thanks for your useful information and suggestion.
After facing many problems, I decided to change my strategy and the first step was to remove the merged cells and replace them with new cells and new numbers.
I'm making some changes, including the one I mentioned.
I hope I will face less problems from now on.
Thanks again with love,
Have a nice times.
Rated 5 out of 5
This comment was minimized by the moderator on the site
Hi
Can anyone help me to use formula to find small value except zero and highlight it with conditional format?
This comment was minimized by the moderator on the site
Hi,
Please follow the steps below to get it done.
1. Click Home > Conditional Formatting > New Rule.
2. In the Edit Formatting Rule dialog box, select Format only cells that contain in the Select a Rule Type list box; Select equal to in the second drop-down list, and then enter the formula below (don't forget to change the cell references):
=SMALL($F$5:$O$21, COUNTIF($F$5:$O$21, "<=0")+1)
3. Click the Format button to specify a fill color to highlight the cells.
4. Click OK.
See the uploaded screenshot below.
This comment was minimized by the moderator on the site
Hi, how to search for the minimum of values present in multiple matrices, always excluding 0 if the matrices are on different sheets?
This comment was minimized by the moderator on the site
Hi Zingo,Sorry I can't help to solve this problem. Here suggest you post the problem to the forum below to get help from other Excel enthusiasts. https://www.extendoffice.com/forum/kutools-for-excel.html 
This comment was minimized by the moderator on the site
I have a formula that looks the the lest number in a seperate workbook, but if the data is not fully entered or collected yet, the return value is 0, rather than the smallest number. is there a way to solve this via the formula or a feature in exceel?
=MIN(IF('Input Data 54 mm'!$D:$D='Index Values 54 mm'!$A7,('Input Data 54 mm'!J:J)*95%))
This comment was minimized by the moderator on the site
Hi,
Sorry I can't solve this problem. You can post the problem to the forum below to get help from other Excel enthusiasts.
https://www.extendoffice.com/forum/kutools-for-excel.html 
This comment was minimized by the moderator on the site
How do I find the small/lowest number that is not 0 based on certain conditions, e.g.: find the minimum number in a row, based on the columns with "covid"?
I typed this =MIN(IF($C$8:$AF$8=$AK$3,C10:AF10<>0,C10:AF10)) but it doesn't evaluate this $C$8:$AF$8=$AK$3, it only returns C10:AF10<>0,C10:AF10. where AK3 = covid.
This comment was minimized by the moderator on the site
what to do if you have zeros in a row. for example comparative statement with not quoted items?
This comment was minimized by the moderator on the site
update on the formula from Crystal: the formula works but the it counts the blank cells as the lowest in the range. how do we fix the formula not to count for zero value or empty cells?
This comment was minimized by the moderator on the site
Crystal, you are amazing! thank you thank you so much for the help :-) made my life/work easier
This comment was minimized by the moderator on the site
This was very useful. how do we revise the formula that instead of giving me the lowest value, it would identify under which heading is the lowest value on. Scenario is i have 3 suppliers, providing 3 different prices. i would like the formula to tell me which supplier has the lowest price (i.e. supplier 1, supplier 2, etc) and gives me that supplier's name so i could sort it later. Thank you
This comment was minimized by the moderator on the site
Hi francis,
Please apply this formula: =INDEX($A$1:$C$1,0,MATCH(MIN($A2:$C2),$A2:$C2,0)) as the below screenshot shown.
This comment was minimized by the moderator on the site
Hi Crystal, how to excludie zero value in this formula
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