メインコンテンツへスキップ

Excelに新しいデータを入力した後にグラフを自動更新するにはどうすればよいですか?

ブック内のさまざまなデータに基づいてXNUMX日の売上を追跡するグラフを作成したとします。 ただし、毎日データの数を変更または編集する必要があります。この場合、新しいデータが含まれるようにグラフを手動で更新する必要があります。 Excelの既存のグラフ範囲に新しいデータを追加するときにグラフを自動更新するのに役立つ簡単なトリックはありますか?

テーブルを作成して新しいデータを入力した後、チャートを自動更新します

動的数式で新しいデータを入力した後、グラフを自動更新します


矢印青い右バブル テーブルを作成して新しいデータを入力した後、チャートを自動更新します

次の範囲のデータと縦棒グラフがある場合、新しい情報を入力するとグラフが自動的に更新されるようにします。 Excel 2007、2010、または2013では、データ範囲を拡張するためのテーブルを作成でき、グラフは自動的に更新されます。 このようにしてください:

ドキュメント更新-チャート1

1。 データ範囲を選択して、インセット タブ、スクリーンショットを参照してください:

ドキュメント更新-チャート2

2。 の中に テーブルの作成 ダイアログボックス、データにヘッダーがある場合は、チェックしてください 私のテーブルにはヘッダーがあります オプションをクリックしてから OK。 スクリーンショットを参照してください:

ドキュメント更新-チャート3

3。 また、データ範囲はテーブルとしてフォーマットされています。スクリーンショットを参照してください。

ドキュメント更新-チャート4

4。 これで、XNUMX月の値を追加すると、グラフが自動的に更新されます。 スクリーンショットを参照してください:

ドキュメント更新-チャート5

注意:

1.新しく入力するデータは、上記のデータに隣接している必要があります。つまり、新しいデータと既存のデータの間に空白の行または列がないことを意味します。

2.テーブルでは、既存の値の間にデータを挿入できます。


矢印青い右バブル 動的数式で新しいデータを入力した後、グラフを自動更新します

ただし、範囲をテーブルに変更したくない場合があり、上記の方法はExcel2003以前のバージョンでは使用できません。 ここでは、複雑な動的式の方法を紹介します。 たとえば、次のデータとグラフを見てください。

ドキュメント更新-チャート6

1。 まず、列ごとに定義済みの名前と動的な数式を作成する必要があります。 クリック > 名前を定義する.

2。 の中に 新しい名前 ダイアログボックスで、 日付お名前 ボックスをクリックし、現在のワークシート名をから選択します 対象領域 ドロップダウンリストを入力して、 = OFFSET($ A $ 2,0,0、COUNTA($ A:$ A)-1) 式に を参照する ボックス、スクリーンショットを参照してください:

ドキュメント更新-チャート7

3に設定します。 OK をクリックします。 OK、次に上記のXNUMXつの手順を繰り返すと、次の範囲名と式を使用して、各シリーズのダイナミックレンジを作成できます。

  • 列B:Ruby:= OFFSET($ B $ 2,0,0、COUNTA($ B:$ B)-1);
  • 列C:ジェームズ:= OFFSET($ C $ 2,0,0、COUNTA($ C:$ C)-1);
  • 列D:フレダ:= OFFSET($ D $ 2,0,0、COUNTA($ D:$ D)-1)

Note:上記の式では、 OFFSET 関数は最初のデータポイントを参照し、 COUNTA データの列全体を指します。

4。 各列データの名前と式を定義したら、グラフの任意の列を右クリックして、[ データの選択、スクリーンショットを参照してください:

ドキュメント更新-チャート8

5。 の中に データソースを選択 ダイアログボックス、から 凡例エントリ(シリーズ) セクションをクリックします。 ルビー を選び 編集 ボタン、飛び出した シリーズの編集 ダイアログ、入力 = Sheet3!Rubyシリーズ値 セクション、スクリーンショットを参照してください:

ドキュメント更新-チャート9
-1
ドキュメント更新-チャート10

6. そして、 OK に戻る データソースを選択 ダイアログで、手順5を繰り返して、ダイナミックレンジを反映するように残りのシリーズを更新します。

  • ジェームズ:シリーズ値:= Sheet3!ジェームズ;
  • フレダ:シリーズ値:= Sheet3!フレダ

7。 左のデータを設定したら、クリックする必要があります 編集 下のボタン 水平(カテゴリ)軸ラベル このオプションを設定するには、スクリーンショットを参照してください。

ドキュメント更新-チャート11
-1
ドキュメント更新-チャート12

8。 次に、をクリックします OK > OK を閉じる データソースを選択 ダイアログで、これらの手順を完了した後、ワークシートに新しいデータを追加すると、グラフが自動的に更新されることがわかります。

ドキュメント更新-チャート13

注意:

  • 1.新しいデータを連続して入力する必要があります。行をスキップすると、この方法は期待どおりに機能しません。
  • 2.新しい列データを入力した場合、この方法は有効になりません。

ヒント。範囲の内容をシートからグラフィックにすばやくエクスポートする場合は、Kutools forExcelを使用してみてください。 範囲をグラフィックとしてエクスポート 次のスクリーンショットに示すように。 [モジュール745}日で制限なしに完全に機能します。 今すぐダウンロードして無料トライアルをお試しください。

グラフィック(画像/チャート/形状/すべてのタイプ)をワークブックからGif / Tif / PNG / JPEGとしてフォルダーにエクスポートします

ブックに複数の種類のグラフィックがあり、ワークシート全体のすべてのグラフを他の種類の画像のgifとしてフォルダーにエクスポートする場合は、Kutools forExcelの[グラフィックのエクスポート]ユーティリティを使用できます。これを処理するのに必要な手順は3つだけです。仕事。 クリックすると、全機能を備えた 30 日間の無料トライアルが可能です。
ドキュメントエクスポートグラフィック
 
Kutools for Excel:300を超える便利なExcelアドインがあり、30日以内に制限なしで無料で試すことができます。

関連記事:

Excelのグラフに水平平均線を追加するにはどうすればよいですか?

Excelで組み合わせグラフを作成してそのXNUMX次軸を追加するにはどうすればよいですか?

最高のオフィス生産性向上ツール

🤖 Kutools AI アシスタント: 以下に基づいてデータ分析に革命をもたらします。 インテリジェントな実行   |  コードを生成  |  カスタム数式の作成  |  データを分析してグラフを生成する  |  Kutools関数を呼び出す...
人気の機能: 重複を検索、強調表示、または識別する   |  空白行を削除する   |  データを失わずに列またはセルを結合する   |   数式なしのラウンド ...
スーパールックアップ: 複数の基準の VLookup    複数の値の VLookup  |   複数のシートにわたる VLookup   |   ファジールックアップ ....
詳細ドロップダウン リスト: ドロップダウンリストを素早く作成する   |  依存関係のドロップダウン リスト   |  複数選択のドロップダウンリスト ....
列マネージャー: 特定の数の列を追加する  |  列の移動  |  Toggle 非表示列の表示ステータス  |  範囲と列の比較 ...
注目の機能: グリッドフォーカス   |  デザインビュー   |   ビッグフォーミュラバー    ワークブックとシートマネージャー   |  リソースライブラリ (自動テキスト)   |  日付ピッカー   |  ワークシートを組み合わせる   |  セルの暗号化/復号化    リストごとにメールを送信する   |  スーパーフィルター   |   特殊フィルター (太字/斜体/取り消し線をフィルター...) ...
上位 15 のツールセット12 テキスト ツール (テキストを追加, 文字を削除する、...)   |   50+ チャート 種類 (ガントチャート、...)   |   40+ 実用的 (誕生日に基づいて年齢を計算する、...)   |   19 挿入 ツール (QRコードを挿入, パスから画像を挿入、...)   |   12 変換 ツール (数字から言葉へ, 通貨の換算、...)   |   7 マージ&スプリット ツール (高度な結合行, 分割セル、...)   |   ... もっと

Kutools for Excel で Excel スキルを強化し、これまでにない効率を体験してください。 Kutools for Excelは、生産性を向上させ、時間を節約するための300以上の高度な機能を提供します。  最も必要な機能を入手するにはここをクリックしてください...

説明


Officeタブは、タブ付きのインターフェイスをOfficeにもたらし、作​​業をはるかに簡単にします

  • Word、Excel、PowerPointでタブ付きの編集と読み取りを有効にする、パブリッシャー、アクセス、Visioおよびプロジェクト。
  • 新しいウィンドウではなく、同じウィンドウの新しいタブで複数のドキュメントを開いて作成します。
  • 生産性を 50% 向上させ、毎日何百回もマウス クリックを減らすことができます!
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