Skip i'r prif gynnwys

Sut i ddiweddaru siart ar ôl mewnbynnu data newydd yn Excel?

Gan dybio eich bod wedi creu siart i olrhain y gwerthiannau dyddiol yn seiliedig ar ystod o ddata yn eich llyfr gwaith. Ond mae angen i chi newid neu olygu rhif y data bob dydd, yn yr achos hwn, mae'n rhaid i chi ddiweddaru'r siart â llaw fel ei fod yn cynnwys y data newydd. A oes unrhyw driciau cyflym i'ch helpu chi i ddiweddaru siart pan fyddwch chi'n ychwanegu data newydd at ystod siart sy'n bodoli eisoes yn Excel?

Diweddarwch siart yn awtomatig ar ôl mewnbynnu data newydd gyda chreu tabl

Diweddarwch siart yn awtomatig ar ôl mewnbynnu data newydd gyda fformiwla ddeinamig


swigen dde glas saeth Diweddarwch siart yn awtomatig ar ôl mewnbynnu data newydd gyda chreu tabl

Os oes gennych yr ystod ganlynol o ddata a siart colofn, nawr rydych chi am i'r diweddariad siart gael ei ddiweddaru'n awtomatig pan fyddwch chi'n nodi gwybodaeth newydd. Yn Excel 2007, 2010 neu 2013, gallwch greu tabl i ehangu'r ystod ddata, a bydd y siart yn diweddaru'n awtomatig. Gwnewch fel hyn:

doc-update-siart1

1. Dewiswch yr ystod ddata a chlicio Tabl dan Mewnosod tab, gweler y screenshot:

doc-update-siart2

2. Yn y Creu Tabl blwch deialog, os oes penawdau i'ch data, gwiriwch Mae penawdau ar fy mwrdd opsiwn, yna cliciwch OK. Gweler y screenshot:

doc-update-siart3

3. Ac mae'r ystod ddata wedi'i fformatio fel tabl, gweler y screenshot:

doc-update-siart4

4. Nawr, pan fyddwch chi'n ychwanegu gwerthoedd ar gyfer mis Mehefin, a bydd y siart yn cael ei diweddaru'n awtomatig. Gweler y screenshot:

doc-update-siart5

Nodiadau:

1. Rhaid i'ch data mewnbynnu newydd fod yn gyfagos i'r data uchod, mae'n golygu nad oes rhesi na cholofnau gwag rhwng y data newydd a'r data presennol.

2. Yn y tabl, gallwch fewnosod data rhwng y gwerthoedd presennol.


swigen dde glas saeth Diweddarwch siart yn awtomatig ar ôl mewnbynnu data newydd gyda fformiwla ddeinamig

Ond weithiau, nid ydych chi am newid yr ystod i dabl, ac nid yw'r dull uchod ar gael yn Excel 2003 na fersiwn gynharach. Yma gallaf gyflwyno dull fformiwla ddeinamig cymhleth i chi. Cymerwch y data a'r siart a ganlyn er enghraifft:

doc-update-siart6

1. Yn gyntaf, mae angen i chi greu enw diffiniedig a fformiwla ddeinamig ar gyfer pob colofn. Cliciwch Fformiwlâu > Diffinio Enw.

2. Yn y Enw Newydd blwch deialog, nodwch dyddiad i mewn i'r Enw blwch, a dewis enw'r daflen waith gyfredol o Cwmpas rhestr ostwng, ac yna nodwch = OFFSET ($ A $ 2,0,0, COUNTA ($ A: $ A) -1) fformiwla i mewn i'r Yn cyfeirio at blwch, gweler y screenshot:

doc-update-siart7

3. Cliciwch OK, ac yna ailadrodd y ddau gam uchod, gallwch greu ystod ddeinamig ar gyfer pob cyfres gan ddefnyddio'r enwau a'r fformwlâu amrediad canlynol:

  • Colofn B: Ruby: = OFFSET ($ B $ 2,0,0, COUNTA ($ B: $ B) -1);
  • Colofn C: James: = OFFSET ($ C $ 2,0,0, COUNTA ($ C: $ C) -1);
  • Colofn D: Freda: = OFFSET ($ D $ 2,0,0, COUNTA ($ D: $ D) -1)

Nodyn: Yn y fformwlâu uchod, mae'r IAWN swyddogaeth yn cyfeirio at y pwynt data cyntaf, ac mae'r COUNTA yn cyfeirio at y golofn gyfan o ddata.

4. Ar ôl diffinio'r enwau a'r fformwlâu ar gyfer pob data colofn, yna cliciwch ar y dde ar unrhyw golofn yn eich siart, a dewis Dewis Data, gweler y screenshot:

doc-update-siart8

5. Yn y Dewiswch Ffynhonnell Data blwch deialog, o Cofrestriadau Chwedlau (Cyfres) adran, cliciwch Ruby ac yna cliciwch y golygu botwm, yn y popped allan Cyfres Golygu deialog, nodwch = Taflen3! Ruby dan Gwerthoedd cyfres adran, gweler sgrinluniau:

doc-update-siart9
-1
doc-update-siart10

6. Ac yna cliciwch OK i ddychwelyd i'r Dewiswch Ffynhonnell Data deialog, ailadroddwch y cam 5 i ddiweddaru'r gyfres sy'n weddill i adlewyrchu eu hystodau deinamig:

  • Iago: Gwerthoedd cyfres: = Taflen3! Iago;
  • Freda: Gwerthoedd cyfres: = Taflen3! Freda

7. Ar ôl gosod y data chwith, nawr mae angen i chi glicio golygu botwm o dan Labeli Echel Llorweddol (Categori) i osod yr opsiwn hwn, gweler sgrinluniau:

doc-update-siart11
-1
doc-update-siart12

8. Yna cliciwch OK > OK i gau'r Dewiswch Ffynhonnell Data deialog, ar ôl gorffen y camau hyn, fe welwch fod y siart yn diweddaru'n awtomatig pan fyddwch chi'n ychwanegu data newydd at y daflen waith.

doc-update-siart13

Nodiadau:

  • 1. Rhaid i chi fewnbynnu data newydd mewn modd cyffiniol, os ydych chi'n sgipio rhesi, ni fydd y dull hwn yn gweithio yn ôl y disgwyl.
  • 2. Os byddwch yn mewnbynnu data colofn newydd, ni fydd y dull hwn yn dod i rym.

Awgrym.Os ydych chi am allforio cynnwys ystod yn gyflym o ddalen i graffig, ceisiwch ddefnyddio'r Kutools ar gyfer Excel's Ystod Allforio fel Graffig fel y dangosir yn y screenshot canlynol. Mae'n swyddogaeth lawn heb gyfyngiad mewn [modiwl 745} diwrnod, lawrlwythwch a chael treial am ddim nawr.

Allforio graffeg (Lluniau / Siartiau / Siapiau / Pob Math) o'r llyfr gwaith i ffolder fel Gif / Tif / PNG / JPEG

Os oes yna fathau lluosog o graffeg mewn llyfr gwaith, a'ch bod chi eisiau allforio pob siart ar draws taflen waith i ffolder fel gif o fath arall o lun, gallwch chi ddefnyddio Kutools ar gyfer Excel's Cyfleustodau Graffeg Allforio, sydd ond angen 3 cham i drin hyn swydd. Cliciwch ar gyfer treial llawn sylw 30 diwrnod am ddim!
graffeg allforio doc
 
Kutools ar gyfer Excel: gyda mwy na 300 o ychwanegion Excel defnyddiol, am ddim i geisio heb unrhyw gyfyngiad mewn 30 diwrnod.

Erthyglau cysylltiedig:

Sut i ychwanegu llinell gyfartalog lorweddol i siartio yn Excel?

Sut i greu siartiau cyfuniad ac ychwanegu echel eilaidd ar ei gyfer 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 (21)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Good afternoon, I have a table for calculating points, on another sheet. is needed on another sheet so that there is an automatic sorting of commands by place
This comment was minimized by the moderator on the site
What if the months were in the columns and you had data series in the rows, how would you do the formula then?
This comment was minimized by the moderator on the site
Doesnt work or not applicable. My chart already refers to the correct data automatically... data is directed to table columns. The problem is the GRAPH wont update.
This comment was minimized by the moderator on the site
HI,
This trick doesnt work if you want to add new columns. This trick is for fixed columns. What if there is a data yearwise in columns and every year a new year column is added so how will it get added to the chart ??

Any idea you can suggest ??

Cheers,

Mufaddal
This comment was minimized by the moderator on the site
when I type in cell any no. like - 210 it reflect as = 2.10 , no formula is taking place why? any no. shows devide by 100 as I mentioned , decimal comes automatically how to resolve this ?
This comment was minimized by the moderator on the site
It works well! Thank you! One question: what if my drop down list is not on the same sheet with the "table" where i have datas? how can I modify the function?
This comment was minimized by the moderator on the site
Thanks for the message. But I do not get your question clearly, why don't you upload a screenshot of your problem for me to understand easily? More description, easier to understand. Thank u.
This comment was minimized by the moderator on the site
did you manage to solve this issue? having same issue at the moment
This comment was minimized by the moderator on the site
Airtel mobile Bill Payment
This comment was minimized by the moderator on the site
A chart's ranges can depend on names or not. If a chart range depends on, say A1:E5, and you insert a row at row 3, and a column at column C, the chart will automatically depend on A1:F6. Similarly, if you have a name defined as A1:E5, whether you use it as a chart's range or not, and you insert a column and row at C3, the name's definition will expand to A1:F6. But in either case, if you insert a column and A or E (the endpoints), or a row at 1 or 5, the behavior isn't so well defined: maybe the chart range or name's definition will expand; maybe it won't. To answer Melissa, you'd have to insert rows or columns before or to the left of the chart range. I think it's better to use names, because names can be defined using formulas that involve OFFSET, COUNT, INDEX, MATCH, whatever else. So the better answer to Melissa is to define a name for one cell, namely the last of the eight columns or rows, then define the name in term of an OFFSET from that cell: OFFSET(cell,-8,-8,8,8) to go back and up eight cells and use an 8x8 range.
This comment was minimized by the moderator on the site
Great reminder as I don't do these kind of chart functions that often. As an improvement you could mention how to edit defined names in the name manager but I'm not sure if the editing actually enables the function of the adding rows to work completely
This comment was minimized by the moderator on the site
You can define chart ranges with names or not -- in either case if you physically insert rows or columns in the middle of a range, it automatically expands. I think it's best to use names for charts and lots of other things, because you can define names as formulas, not just straight ranges. You must use OFFSET (which resizes too), because that returns a range, but its parameters, which are numbers, can be specified with formulas that use INDEX, MATCH, COUNT, SUM, VLOOKUP, any crazy formula you want. Melissa, that's the best way to handle your situation: give a name to one bookmark cell, then define another name to be offset from that -8 rows or columns, and resize it 8 rows or columns.
This comment was minimized by the moderator on the site
Hi there, thank you so much for this tutorial. I am just wondering, how to apply this method to the data that updated in the column not in the row? is there any additional changes that I need to do besides offset formula? thank you.
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