Skip i'r prif gynnwys

Sut i grynhoi gwerthoedd yn seiliedig ar ddethol rhestr gwympo yn Excel?

Gan dybio bod gennych dabl yn cynnwys dwy golofn (Categori a Swm), a'ch bod wedi creu rhestr ostwng dilysu data sy'n cynnwys yr holl gategorïau. Wrth ddewis categori o'r gwymplen, rydych chi am grynhoi'r holl werthoedd cyfatebol yn y golofn Swm. Fel y dangosir y screenshot isod, os dewiswch AA o'r gwymplen, fe gewch y canlyniad 10 + 30 + 80 = 120. Sut i'w gyflawni? Gall dulliau yn yr erthygl hon wneud ffafr i chi.

Gwerthoedd swm yn seiliedig ar ddethol rhestr gwympo gyda fformiwla
Hawdd crynhoi gwerthoedd yn seiliedig ar ddethol rhestr gwympo gydag offeryn anhygoel

Mwy o diwtorial ar gyfer y gwymplen ...


Gwerthoedd swm yn seiliedig ar ddethol rhestr gwympo gyda fformiwla

Gallwch gymhwyso'r fformwlâu canlynol i grynhoi gwerthoedd yn seiliedig ar ddethol rhestr gwympo yn Excel.

1. Dewiswch gell wag i allbwn y canlyniad,

2. Rhowch y fformiwla isod i mewn iddi, ac yna pwyswch y Rhowch allweddol.

=SUMIF(A2:A10,D2,B2:B10)

O hyn ymlaen, bydd y swm yn cael ei addasu'n awtomatig ar sail dewis y gwymplen.

Nodiadau:

  • 1. Gallwch hefyd gymhwyso'r fformiwla isod i grynhoi gwerthoedd yn seiliedig ar ddethol rhestr gwympo.
    =SUMPRODUCT(SUMIF($A$2:$A$10,$D$2,$B$2:$B$10))
  • 2. Yn y fformiwla, A2: A10 yw'r amrediad categori, D2 yw'r gwymplen, a B2: B10 yw'r amrediad gwerth y mae angen i chi ei grynhoi yn seiliedig ar y gwymplen. Newidiwch nhw yn ôl yr angen.

Hawdd crynhoi gwerthoedd yn seiliedig ar ddethol rhestr gwympo gydag offeryn anhygoel

Yma argymell teclyn defnyddiol - y LOOKUP a Swm cyfleustodau Kutools ar gyfer Excel i'ch helpu chi i symio gwerthoedd yn hawdd ar sail dewis gwymplen heb gymhwyso fformwlâu. Gwnewch fel a ganlyn.

Cyn gwneud cais Kutools ar gyfer Excel, os gwelwch yn dda ei lawrlwytho a'i osod yn gyntaf.

1. Cliciwch Kutools > LOOKUP Super > GOLWG a Swm. Gweler y sgrîn:

2. Yna a LOOKUP a Swm blwch deialog yn ymddangos, mae angen i chi orffen y gosodiadau isod:

  • 2.1) Yn y Math Edrych a Swm adran, dewiswch Gwerthoedd (au) cydweddu a swm wedi'u cyfateb yn rhes (au) opsiwn;
  • 2.2) Yn y Dewiswch Ystod adran, nodwch yr Gwerth Edrych, Ystod Allbwn yn ogystal â'r Tabl data ystod;
  • 2.3) Yn y Dewisiadau adran, dewiswch y Dychwelwch swm yr holl werthoedd cyfatebol opsiwn;
  • 2.4) Cliciwch OK.

Yna mae fformiwla'n cael ei chreu'n awtomatig yn y gell Allbwn. O hyn ymlaen, bydd y swm yn cael ei addasu'n awtomatig yn seiliedig ar yr eitem gwympo.

  Os ydych chi am gael treial am ddim (30 diwrnod) o'r cyfleustodau hwn, cliciwch i'w lawrlwytho, ac yna ewch i gymhwyso'r llawdriniaeth yn ôl y camau uchod.


Erthyglau cysylltiedig:

Yn awtomataidd wrth deipio rhestr ostwng Excel
Os oes gennych chi gwymplen dilysu data gyda gwerthoedd mawr, mae angen i chi sgrolio i lawr yn y rhestr dim ond er mwyn dod o hyd i'r un iawn, neu deipio'r gair cyfan yn y blwch rhestr yn uniongyrchol. Os oes dull ar gyfer caniatáu i gwblhau auto wrth deipio'r llythyren gyntaf yn y gwymplen, bydd popeth yn dod yn haws. Mae'r tiwtorial hwn yn darparu'r dull i ddatrys y broblem.

Creu rhestr ostwng o lyfr gwaith arall yn Excel
Mae'n eithaf hawdd creu gwymplen dilysu data ymhlith taflenni gwaith mewn llyfr gwaith. Ond os yw'r data rhestr sydd ei angen arnoch ar gyfer dilysu'r data yn lleoli mewn llyfr gwaith arall, beth fyddech chi'n ei wneud? Yn y tiwtorial hwn, byddwch yn dysgu sut i greu rhestr gollwng o lyfr gwaith arall yn Excel yn fanwl.

Creu rhestr ostwng y gellir ei chwilio yn Excel
Ar gyfer rhestr ostwng sydd â nifer o werthoedd, nid yw dod o hyd i un iawn yn waith hawdd. Yn flaenorol rydym wedi cyflwyno dull o gwblhau rhestr ostwng yn awtomatig wrth nodi'r llythyr cyntaf yn y gwymplen. Heblaw am y swyddogaeth awtocomplete, gallwch hefyd wneud y rhestr ostwng yn chwiliadwy am wella'r effeithlonrwydd gweithio wrth ddod o hyd i werthoedd cywir yn y gwymplen. Ar gyfer chwilio rhestr ostwng, rhowch gynnig ar y dull yn y tiwtorial hwn.

Auto poblogi celloedd eraill wrth ddewis gwerthoedd yn rhestr ostwng Excel
Gadewch i ni ddweud eich bod wedi creu rhestr ostwng yn seiliedig ar y gwerthoedd yn ystod celloedd B8: B14. Pan ddewiswch unrhyw werth yn y gwymplen, rydych chi am i'r gwerthoedd cyfatebol yn ystod celloedd C8: C14 gael eu poblogi'n awtomatig mewn cell ddethol. Ar gyfer datrys y broblem, bydd y dulliau yn y tiwtorial hwn yn ffafrio chi.

Mwy o diwtorial ar gyfer y gwymplen ...

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 (15)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi.

I have a document which has a selection of food items that people have to choose. I want to try and calculate how many people have chosen a specific starter, from a drop list I created. Is this possible to do?
This comment was minimized by the moderator on the site
Hello, first off, this is a great tutorial, thank you for this post!

I am wondering if you know how to adjust the formula to draw values from another sheet.
(I have looked at the link Crystal shared with Aaron but I can't figure it out with that additional info).

I am trying to automate a monthly budget based on a company's transactions.

Thanks!
This comment was minimized by the moderator on the site
Hi Bella,

To sum the values from another worksheet, the formula is the same, the only difference is that you need to reference to different cell ranges in a different worksheet in the formula. As you mentioned, the formula here needs to be changed to:
=SUMIF(transactions!A2:A10,'Monthly budget'!A2,transactions!B2:B10)
If I mistanderstood your question, please let me know. For clarity, please attach ascreenshot with your data and desired results.
This comment was minimized by the moderator on the site
Hi there, i am currently facing a similar issue, did u find a solution to this?
This comment was minimized by the moderator on the site
Is there a formula to total on Sheet 1 from drop down box amounts on multiple sheets?
This comment was minimized by the moderator on the site
Hi Aaron,
The methods in the following articel may do you a favor. Please have a try.
How To Vlookup Across Multiple Sheets And Sum Results In Excel?
This comment was minimized by the moderator on the site
cant seem to find out how to command a cell from the drop down menu. E.G i have a simple yes or no drop down for a column and i want the cell if YES to increase the cost
by 10% and if no to keep the price the same
This comment was minimized by the moderator on the site
Hi NADIA,
You may need to attach a screenshot or a sample file to describe the problem you encountered more clearly.
This comment was minimized by the moderator on the site
The Sum Values Based On Selection Of Drop-Down List With Formula worked perfectly for what I needed. Thanks so much for posting this on here. You saved me hours of headaches!
This comment was minimized by the moderator on the site
I am trying to use sumifs with set of conditions. There is a project column with sprint numbers and test cases, etc.. I created a drop down list of the project names above the cell with the formula and referred that in the Sumif condition. Now based on my dropdown selection, the total of test cases created are resulted. This works absolutely fine. Now, if I have to select the dropdown to select all projects, how do I do it. I tried creating a list item as "<>" but that is not working. Any suggestions?
This comment was minimized by the moderator on the site
Trying using the wild card "*" so the last or first item in your list is just the *. I am working through a similar problem and that has worked most of the time.
This comment was minimized by the moderator on the site
Did you find a way to make this work?
This comment was minimized by the moderator on the site
Hi,
What do you mean of "to select the dropdown to select all projects"?
Would be nice if you could provide screenshot of what you are trying to do.
Thanks for your comment.
This comment was minimized by the moderator on the site
formula for 2 different categories
This comment was minimized by the moderator on the site
how to sum value all selected cell in sum total value ?
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations