見出し画像

#D-DX04 エクセルで頑張る (Excel helps)

(English follows)
DXとは何かという問いにはかなり多様性があるかもしれない。でも「デジタル化して仕事を楽にする」というのがその中の一つに入っているというのに反対する人はそんなにたくさんは居ないんじゃないだろうか(思い込み1)。そして多くの人にとってその最初に思い浮かぶものの一つはエクセル(EXCEL)だったりしないだろうか(思い込み2)。そんなことないですか?賛否両論ありますが、個人的には結構おすすめなんです。慣れてくればもっといろいろ便利なものもありますし、スキルアップできる部分はもちろんあります。何かを「個人」で始めたいときには簡単で便利、と思ったりします。どんな部分が便利かというと、思いつくままに、

  1. 会社のパソコンに入っていることが多い

  2. 簡単な計算、統計まで結構いろいろできる

  3. 結構な種類の自動化に対応している

  4. スクリプトを書けばかなり複雑なこともできる

というわけで、少なくとも少しExcelを触る機会がある方にはExcelスキルアップは結構おすすめです。なんでこんな事を突如話し始めたかというと。。。そう、久しぶりにExcelのツール作成?改定?をしたのです。Noteに記事を書き始めてからグラフを書く機会が増えました。そして結構いつも同じ形にするのが面倒くさかったのです。

Excelでグラフを書くと最初は左のようになり、大体最後には右のように直します。なので、自動的に右のようになるツールを作りました。グラフごとに形があるので、よく使うグラフの分を作ってリボン(?)に登録しました。

こんな感じです。ここに登録しておくと簡単に使えるので。ちなみにボタンを押すと下のような画面が出てきて色も指定できるようにしました。

作成に使ったのはVBAというプログラミング言語で、EXCELには標準でVisual Basic Editorというプログラムをするための便利ツールが付いています。関数とかに慣れてきて、もう一息頑張ってみるかという方にはちょっと古い言語ですがおすすめです。分析の仕事をしているときには何度となく助けられました。

Definition of DX could be different by each person. No doubt that "Improving productivity by digitalization" is one of it. Then I assume Excel is one of the tool which comes up to people's mind very often (No?). Personally Excel is one of the most convenience tool to improve your productivity in your work. Of course, there are many DX tools which could help you and you also have options to learn programing too. But if you want to improve your individual work, Excel is not too bad. The reasons why I think so are,

  1. Most likely it is installed in your company laptop

  2. It covers from simple math to complicated statistics

  3. It has many functions for automation

  4. It covers very complicated tasks if you can write VBA

So Excel is the good tool for those who regularly use it. The reason why I suddenly talk about this old tool is that I just have made few tool to make my regular task easier which is charting. Since I have starting writing this blog, I have to make charts more often than before and formatting charts are always a troublesome job.

Excel default chat is on the left and I normally change it like the one on the right. It is time consuming job. So I made a tool to change to it automatically and register them to ribbon(?) like below.

Once you register your tool here, it is easy to access those functions. By the way I added the form like below to change the color of the graph too. You can add forms once you get used to Excel programming.

Programming used for those are called VBA which is pre set in Excel and Excel has Visual Basic Editor to help your coding. Once you get used to "functions" and Macro. The next step would be Excel programming. VBA is a bit old style language but the compatibility to Excel is very good. I have been helped by it for long time when I did analysis Job.

この記事が気に入ったらサポートをしてみませんか?