Skip i'r prif gynnwys

Sut i gyfartaleddu ystod o ddata gan anwybyddu sero yn Excel?

Fel rheol, gall y swyddogaeth Gyfartalog eich helpu chi i gyfrifo cyfartaledd yr ystod gan gynnwys seroau yn Excel. Ond yma, rydych chi am eithrio'r seroau pan fyddwch chi'n cymhwyso'r swyddogaeth Gyfartalog. Sut allech chi anwybyddu sero mewn cyfrifiad cyfartalog?

Cyfartaledd ystod o ddata sy'n anwybyddu sero gyda fformiwla

Cyfartaledd / swm / cyfrif ystod o ddata gan anwybyddu sero gyda Kutools ar gyfer Excel syniad da3      chwarae


swigen dde glas saeth Cyfartaledd ystod o ddata sy'n anwybyddu sero gyda fformiwla

Os ydych chi'n defnyddio Excel 2007/2010/2013, gall y swyddogaeth AVERAGEIF syml hon eich helpu i ddatrys y broblem hon yn gyflym ac yn hawdd.

1. Rhowch y fformiwla hon = AVERAGEIF (B2: B13, "<> 0") mewn cell wag ar wahân i'ch data, gweler y screenshot:

doc-gyfartaledd-anwybyddu-sero1

Nodyn: Yn y fformiwla uchod, B2: B13 yw'r data amrediad yr ydych am ei eithrio sero ar gyfartaledd, gallwch ei newid fel eich angen. Os oes celloedd gwag yn yr ystod, mae'r fformiwla hon hefyd yn cyfartaleddu'r data ac eithrio'r celloedd gwag.

2. Yna pwyswch Rhowch allweddol, a byddwch yn cael y canlyniad sydd wedi eithrio sero gwerthoedd. Gweler y screenshot:

doc-gyfartaledd-anwybyddu-sero1

Nodyn: Ni fydd y fformiwla hon yn dod i rym yn Excel 2003, os oes gennych Excel 2003, dylech gyfuno'r Swm ac Count swyddogaeth, cymhwyswch y fformiwla ganlynol: =SUM(B2:B13)/COUNTIF(B2:B13,">0").


swigen dde glas saeth Cyfartaledd / swm / cyfrif ystod o ddata gan anwybyddu sero gyda Kutools ar gyfer Excel

Os ydych chi am swm / cyfartaledd / cyfrif gan anwybyddu sero gelloedd, gallwch wneud cais Kutools ar gyfer Excel's Dewiswch Gelloedd Penodol cyfleustodau i ddewis celloedd nad ydynt yn sero, ac yna gweld canlyniad y cyfrifiad yn y Bar statws.

Kutools ar gyfer Excel, gyda mwy na 300 swyddogaethau defnyddiol, yn gwneud eich swyddi yn haws. 

Ar ôl gosod am ddim Kutools ar gyfer Excel, gwnewch fel isod:

1. Dewiswch yr ystod rydych chi am ei chyfartalu, cliciwch Kutools > dewiswch > Dewiswch Gelloedd Penodol. Gweler y screenshot:
doc dewis celloedd penodol 4

2. Yn y dialog popping, gwiriwch Cell dewis, ac yna dewis Dim yn cyfartal o'r gwymplen gyntaf i mewn Math penodol adran, ac ewch i'r blwch testun cywir i fynd i mewn 0. Gweler y screenshot:
doc dewis celloedd penodol 6

3. Cliciwch Ok, a dewiswyd pob cell sy'n fwy na 0, a gallwch weld y canlyniad cyfrif, swm, cyfrif cyfartalog yn y bar Statws. Gweler y screenshot:
doc dewis celloedd penodol 3

Awgrym. Os ydych chi am gael treial am ddim o'r Dewiswch Cell Penodols swyddogaeth, os gwelwch yn dda ewch i lawrlwytho am ddim Kutools ar gyfer Excel yn gyntaf, ac yna ewch i gymhwyso'r llawdriniaeth yn ôl y camau uchod.


swigen dde glas saethMae data Cyfartaledd / Cyfrif / Swm yn anwybyddu seroau

Erthygl gysylltiedig:

Sut i gyfrifo gwerthoedd cyfartalog heb uchafswm a lleiaf yn Excel?

Offer Cynhyrchiant Swyddfa Gorau

🤖 Kutools AI Aide: Chwyldro dadansoddi data yn seiliedig ar: Cyflawniad Deallus   |  Cynhyrchu Cod  |  Creu Fformiwlâu Personol  |  Dadansoddi Data a Chynhyrchu Siartiau  |  Invoke Swyddogaethau Kutools...
Nodweddion Poblogaidd: Darganfod, Amlygu neu Adnabod Dyblygiadau   |  Dileu Rhesi Gwag   |  Cyfuno Colofnau neu Gelloedd heb Colli Data   |   Rownd heb Fformiwla ...
Super-edrych: VLookup Meini Prawf Lluosog    VLookup Gwerth Lluosog  |   VLookup Ar Draws Taflenni Lluosog   |   Edrych Niwlog ....
Rhestr gwympo Uwch: Creu Rhestr Gollwng yn Gyflym   |  Rhestr Gollwng Dibynnol   |  Rhestr Gollwng Aml-ddewis ....
Rheolwr Colofn: Ychwanegu Nifer Penodol o Golofnau  |  Symud Colofnau  |  Toglo Statws Gwelededd Colofnau Cudd  |  Cymharwch Ystodau a Cholofnau ...
Nodweddion dan Sylw: Ffocws ar y Grid   |  Golwg Dylunio   |   Bar Fformiwla Mawr    Rheolwr Llyfr Gwaith a Thaflen   |  Llyfrgell Adnoddau (Testun Auto)   |  Dewiswr Dyddiad   |  Cyfuno Taflenni Gwaith   |  Amgryptio/Dadgryptio Celloedd    Anfon E-byst trwy Restr   |  Hidlo Super   |   Hidlo Arbennig (hidlo mewn print trwm/italig/strikethrough...) ...
15 Set Offer Gorau12 Testun offer (Ychwanegu Testun, Dileu Cymeriadau,...)   |   50 + Siart Mathau (Siart Gantt,...)   |   40+ Ymarferol Fformiwlâu (Cyfrifwch oedran yn seiliedig ar ben-blwydd,...)   |   19 mewnosod offer (Mewnosod Cod QR, Mewnosod Llun o'r Llwybr,...)   |   12 Trosi offer (Rhifau i Eiriau, Trosi arian cyfred,...)   |   7 Uno a Hollti offer (Rhesi Cyfuno Uwch, Celloedd Hollt,...)   |   ... a mwy

Supercharge Eich Sgiliau Excel gyda Kutools ar gyfer Excel, a Phrofiad Effeithlonrwydd Fel Erioed Erioed. Kutools ar gyfer Excel Yn Cynnig Dros 300 o Nodweddion Uwch i Hybu Cynhyrchiant ac Arbed Amser.  Cliciwch Yma i Gael Y Nodwedd Sydd Ei Angen Y Mwyaf...

Disgrifiad


Mae Office Tab yn dod â rhyngwyneb Tabbed i Office, ac yn Gwneud Eich Gwaith yn Haws o lawer

  • Galluogi golygu a darllen tabbed yn Word, Excel, PowerPoint, Cyhoeddwr, Mynediad, Visio a Phrosiect.
  • Agor a chreu dogfennau lluosog mewn tabiau newydd o'r un ffenestr, yn hytrach nag mewn ffenestri newydd.
  • Yn cynyddu eich cynhyrchiant 50%, ac yn lleihau cannoedd o gliciau llygoden i chi bob dydd!
Comments (13)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hey there. The formula works great, thankyou so much, but i have a problem. Sometimes i have in all rows 0, then the formula gives me <>#DIV/0!. Do you have a solution for this? If in all row is 0 then not to give me <>#DIV/0! and the same formula ignores 0 when average. Thankyou!
This comment was minimized by the moderator on the site
How do I find average of filtered cells ignoring blanks and zeros ? The above =AVERAGEIF(B2:B13,"<>0") does not work for filtered cells (drop down) Thanks
This comment was minimized by the moderator on the site
I am wondering wether it is possible to combine subtotal average and not counting zero
does anybody know how?
This comment was minimized by the moderator on the site
How would I make this work with 2 sets of data - current formula is - =AVERAGE(AZ143:AZ293,AZ4:AZ136)
This comment was minimized by the moderator on the site
Hi, Anthony, if you want to average two or more ranges of data, just select the ranges by hold ctrl key, then give them a range name in the Name box which besides formula bar, then use the formula =averafe(rangename), rangename is the name you give the ranges.
This comment was minimized by the moderator on the site
Hi Team,

I am wondering what formula to use if I had say 6 cells of data. Two of the cells contained a '0' (Zero). I wanted to trim the lowest and the highest values to workout the average, however I only want one zero to be part of the average.
This comment was minimized by the moderator on the site
Data in C3 to C7:

=IF(COUNTIF(C2:C7,0)>0,(MAX(C2:C7)+SMALL(C2:C7,COUNTIF(C2:C7,0)+1))/3,MAX(C2:C7)+SMALL(C2:C7,COUNTIF(C2:C7,0)+1))
This comment was minimized by the moderator on the site
Sorry eddy, I have not find a solution about your question.
This comment was minimized by the moderator on the site
Hi Team,
I am wondering what formula to use if I had say 6 cells of data. Two of the cells contained a '0' (Zero). I wanted to trim the lowest and the highest values to workout the average, however I only want one zero to not be part of the average.
This comment was minimized by the moderator on the site
thank you, I'm just a retiree keeping track of my solar production and electricity usage, now I don't have to wait until the end of the month for the averages to be correct
This comment was minimized by the moderator on the site
A MILLION THANK YOUS! I'm so glad someone figured this out.
This comment was minimized by the moderator on the site
Appreciate for your approbation.
This comment was minimized by the moderator on the site
I have been scratching my head trying to figure out how to find an average ignoring zeros. Here is where it is and it's so easy. THANK YOU!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations