chandoo.org Open in urlscan Pro
67.222.17.217  Public Scan

URL: https://chandoo.org/wp/creating-in-cell-bar-charts-histograms-in-excel/
Submission: On July 17 via manual from US — Scanned from DE

Form analysis 3 forms found in the DOM

GET https://chandoo.org/wp

<form class="elementor-search-form" action="https://chandoo.org/wp" method="get" role="search">
  <div class="elementor-search-form__toggle" tabindex="0" role="button">
    <i aria-hidden="true" class="fas fa-search"></i> <span class="elementor-screen-only">Search</span>
  </div>
  <div class="elementor-search-form__container">
    <label class="elementor-screen-only" for="elementor-search-form-67857459">Search</label>
    <input id="elementor-search-form-67857459" placeholder="Search..." class="elementor-search-form__input" type="search" name="s" value="">
    <div class="dialog-lightbox-close-button dialog-close-button" role="button" tabindex="0">
      <i aria-hidden="true" class="eicon-close"></i> <span class="elementor-screen-only">Close this search box.</span>
    </div>
  </div>
</form>

POST https://app.convertkit.com/forms/1055607/subscriptions

<form action="https://app.convertkit.com/forms/1055607/subscriptions" class="seva-form formkit-form" method="post" data-sv-form="1055607" data-uid="8bc636d501" data-format="inline" data-version="5" min-width="400 500 600 700 800">
  <div data-style="clean">
    <ul class="formkit-alert formkit-alert-error" data-element="errors" data-group="alert"></ul>
    <div data-element="fields" data-stacked="true" class="seva-fields formkit-fields">
      <div class="formkit-field"><input type="text" class="formkit-input" aria-label="Your first name" style="border-color:#e3e3e3;border-radius:4px;color:#000;font-weight:400" name="fields[first_name]" placeholder="Your first name"></div>
      <div class="formkit-field"><input type="text" class="formkit-input" name="email_address" style="border-color:#e3e3e3;border-radius:4px;color:#000;font-weight:400" placeholder="Your email address" required=""></div>
      <div class="formkit-field">
        <fieldset data-group="checkboxes" class="formkit-9127" type="Custom" order="2" save_as="Tag" group="field"></fieldset>
      </div>
      <div class="formkit-field">
        <fieldset data-group="checkboxes" class="formkit-681" type="Custom" order="3" save_as="Tag" group="field">
          <legend style="color:#000;font-weight:400">You want to learn</legend>
          <div class="formkit-checkboxes" data-element="tags-checkboxes" data-group="checkbox" style="border-color:#e3e3e3;border-radius:4px;color:#000;font-weight:400"><input type="checkbox" class="formkit-checkbox" id="tag-1740694-1093939"
              name="tags[]" value="1093939"><label for="tag-1740694-1093939">Excel</label></div>
          <div class="formkit-checkboxes" data-element="tags-checkboxes" data-group="checkbox" style="border-color:#e3e3e3;border-radius:4px;color:#000;font-weight:400"><input type="checkbox" class="formkit-checkbox" id="tag-1740694-1093941"
              name="tags[]" value="1093941"><label for="tag-1740694-1093941">Power BI</label></div>
        </fieldset>
      </div><button data-element="submit" class="formkit-submit formkit-submit" style="background-color:#009603;border-radius:5px;color:#fff;font-weight:700">
        <div class="formkit-spinner">
          <div></div>
          <div></div>
          <div></div>
        </div><span>Subscribe</span>
      </button>
    </div>
  </div>
  <style>
    .formkit-form[data-uid="8bc636d501"] * {
      font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
      box-sizing: border-box;
    }

    .formkit-form[data-uid="8bc636d501"] {
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    .formkit-form[data-uid="8bc636d501"] legend {
      border: none;
      font-size: inherit;
      margin-bottom: 10px;
      padding: 0;
      position: relative;
      display: table;
    }

    .formkit-form[data-uid="8bc636d501"] fieldset {
      border: 0;
      padding: 0.01em 0 0 0;
      margin: 0;
      min-width: 0;
    }

    .formkit-form[data-uid="8bc636d501"] body:not(:-moz-handler-blocked) fieldset {
      display: table-cell;
    }

    .formkit-form[data-uid="8bc636d501"] h1,
    .formkit-form[data-uid="8bc636d501"] h2,
    .formkit-form[data-uid="8bc636d501"] h3,
    .formkit-form[data-uid="8bc636d501"] h4,
    .formkit-form[data-uid="8bc636d501"] h5,
    .formkit-form[data-uid="8bc636d501"] h6 {
      color: inherit;
      font-size: inherit;
      font-weight: inherit;
    }

    .formkit-form[data-uid="8bc636d501"] p {
      color: inherit;
      font-size: inherit;
      font-weight: inherit;
    }

    .formkit-form[data-uid="8bc636d501"][data-format="modal"] {
      display: none;
    }

    .formkit-form[data-uid="8bc636d501"][data-format="slide in"] {
      display: none;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-input,
    .formkit-form[data-uid="8bc636d501"] .formkit-select,
    .formkit-form[data-uid="8bc636d501"] .formkit-checkboxes {
      width: 100%;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-button,
    .formkit-form[data-uid="8bc636d501"] .formkit-submit {
      border: 0;
      border-radius: 5px;
      color: #ffffff;
      cursor: pointer;
      display: inline-block;
      text-align: center;
      font-size: 15px;
      font-weight: 500;
      cursor: pointer;
      margin-bottom: 15px;
      overflow: hidden;
      padding: 0;
      position: relative;
      vertical-align: middle;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-button:hover,
    .formkit-form[data-uid="8bc636d501"] .formkit-submit:hover,
    .formkit-form[data-uid="8bc636d501"] .formkit-button:focus,
    .formkit-form[data-uid="8bc636d501"] .formkit-submit:focus {
      outline: none;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-button:hover>span,
    .formkit-form[data-uid="8bc636d501"] .formkit-submit:hover>span,
    .formkit-form[data-uid="8bc636d501"] .formkit-button:focus>span,
    .formkit-form[data-uid="8bc636d501"] .formkit-submit:focus>span {
      background-color: rgba(0, 0, 0, 0.1);
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-button>span,
    .formkit-form[data-uid="8bc636d501"] .formkit-submit>span {
      display: block;
      -webkit-transition: all 300ms ease-in-out;
      transition: all 300ms ease-in-out;
      padding: 12px 24px;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-input {
      background: #ffffff;
      font-size: 15px;
      padding: 12px;
      border: 1px solid #e3e3e3;
      -webkit-flex: 1 0 auto;
      -ms-flex: 1 0 auto;
      flex: 1 0 auto;
      line-height: 1.4;
      margin: 0;
      -webkit-transition: border-color ease-out 300ms;
      transition: border-color ease-out 300ms;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-input:focus {
      outline: none;
      border-color: #1677be;
      -webkit-transition: border-color ease 300ms;
      transition: border-color ease 300ms;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-input::-webkit-input-placeholder {
      color: inherit;
      opacity: 0.8;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-input::-moz-placeholder {
      color: inherit;
      opacity: 0.8;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-input:-ms-input-placeholder {
      color: inherit;
      opacity: 0.8;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-input::placeholder {
      color: inherit;
      opacity: 0.8;
    }

    .formkit-form[data-uid="8bc636d501"] [data-group="dropdown"] {
      position: relative;
      display: inline-block;
      width: 100%;
    }

    .formkit-form[data-uid="8bc636d501"] [data-group="dropdown"]::before {
      content: "";
      top: calc(50% - 2.5px);
      right: 10px;
      position: absolute;
      pointer-events: none;
      border-color: #4f4f4f transparent transparent transparent;
      border-style: solid;
      border-width: 6px 6px 0 6px;
      height: 0;
      width: 0;
      z-index: 999;
    }

    .formkit-form[data-uid="8bc636d501"] [data-group="dropdown"] select {
      height: auto;
      width: 100%;
      cursor: pointer;
      color: #333333;
      line-height: 1.4;
      margin-bottom: 0;
      padding: 0 6px;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      font-size: 15px;
      padding: 12px;
      padding-right: 25px;
      border: 1px solid #e3e3e3;
      background: #ffffff;
    }

    .formkit-form[data-uid="8bc636d501"] [data-group="dropdown"] select:focus {
      outline: none;
    }

    .formkit-form[data-uid="8bc636d501"] [data-group="checkboxes"] {
      text-align: left;
      margin: 0;
    }

    .formkit-form[data-uid="8bc636d501"] [data-group="checkboxes"] [data-group="checkbox"] {
      margin-bottom: 10px;
    }

    .formkit-form[data-uid="8bc636d501"] [data-group="checkboxes"] [data-group="checkbox"] * {
      cursor: pointer;
    }

    .formkit-form[data-uid="8bc636d501"] [data-group="checkboxes"] [data-group="checkbox"]:last-of-type {
      margin-bottom: 0;
    }

    .formkit-form[data-uid="8bc636d501"] [data-group="checkboxes"] [data-group="checkbox"] input[type="checkbox"] {
      display: none;
    }

    .formkit-form[data-uid="8bc636d501"] [data-group="checkboxes"] [data-group="checkbox"] input[type="checkbox"]+label::after {
      content: none;
    }

    .formkit-form[data-uid="8bc636d501"] [data-group="checkboxes"] [data-group="checkbox"] input[type="checkbox"]:checked+label::after {
      border-color: #ffffff;
      content: "";
    }

    .formkit-form[data-uid="8bc636d501"] [data-group="checkboxes"] [data-group="checkbox"] input[type="checkbox"]:checked+label::before {
      background: #10bf7a;
      border-color: #10bf7a;
    }

    .formkit-form[data-uid="8bc636d501"] [data-group="checkboxes"] [data-group="checkbox"] label {
      position: relative;
      display: inline-block;
      padding-left: 28px;
    }

    .formkit-form[data-uid="8bc636d501"] [data-group="checkboxes"] [data-group="checkbox"] label::before,
    .formkit-form[data-uid="8bc636d501"] [data-group="checkboxes"] [data-group="checkbox"] label::after {
      position: absolute;
      content: "";
      display: inline-block;
    }

    .formkit-form[data-uid="8bc636d501"] [data-group="checkboxes"] [data-group="checkbox"] label::before {
      height: 16px;
      width: 16px;
      border: 1px solid #e3e3e3;
      background: #ffffff;
      left: 0px;
      top: 3px;
    }

    .formkit-form[data-uid="8bc636d501"] [data-group="checkboxes"] [data-group="checkbox"] label::after {
      height: 4px;
      width: 8px;
      border-left: 2px solid #4d4d4d;
      border-bottom: 2px solid #4d4d4d;
      -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
      transform: rotate(-45deg);
      left: 4px;
      top: 8px;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-alert {
      background: #f9fafb;
      border: 1px solid #e3e3e3;
      border-radius: 5px;
      -webkit-flex: 1 0 auto;
      -ms-flex: 1 0 auto;
      flex: 1 0 auto;
      list-style: none;
      margin: 25px auto;
      padding: 12px;
      text-align: center;
      width: 100%;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-alert:empty {
      display: none;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-alert-success {
      background: #d3fbeb;
      border-color: #10bf7a;
      color: #0c905c;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-alert-error {
      background: #fde8e2;
      border-color: #f2643b;
      color: #ea4110;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-spinner {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      height: 0px;
      width: 0px;
      margin: 0 auto;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      width: 0px;
      overflow: hidden;
      text-align: center;
      -webkit-transition: all 300ms ease-in-out;
      transition: all 300ms ease-in-out;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-spinner>div {
      margin: auto;
      width: 12px;
      height: 12px;
      background-color: #fff;
      opacity: 0.3;
      border-radius: 100%;
      display: inline-block;
      -webkit-animation: formkit-bouncedelay-formkit-form-data-uid-8bc636d501- 1.4s infinite ease-in-out both;
      animation: formkit-bouncedelay-formkit-form-data-uid-8bc636d501- 1.4s infinite ease-in-out both;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-spinner>div:nth-child(1) {
      -webkit-animation-delay: -0.32s;
      animation-delay: -0.32s;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-spinner>div:nth-child(2) {
      -webkit-animation-delay: -0.16s;
      animation-delay: -0.16s;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-submit[data-active] .formkit-spinner {
      opacity: 1;
      height: 100%;
      width: 50px;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-submit[data-active] .formkit-spinner~span {
      opacity: 0;
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-powered-by[data-active="false"] {
      opacity: 0.35;
    }

    @-webkit-keyframes formkit-bouncedelay-formkit-form-data-uid-8bc636d501- {

      0%,
      80%,
      100% {
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
      }

      40% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
      }
    }

    @keyframes formkit-bouncedelay-formkit-form-data-uid-8bc636d501- {

      0%,
      80%,
      100% {
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
      }

      40% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
      }
    }

    .formkit-form[data-uid="8bc636d501"] .formkit-submit {
      width: 100% !important;
      margin: 10px 0;
    }
  </style>
</form>

POST https://chandoo.org/wp/wp-comments-post.php

<form action="https://chandoo.org/wp/wp-comments-post.php" method="post" id="commentform">
  <p><input class="TextField" style="width: 210px;" type="text" name="author" id="author" value="" size="22" tabindex="1" aria-required="true">
    <label for="author"><small>Name (required)</small></label>
  </p>
  <p><input class="TextField" style="width: 210px;" type="text" name="email" id="email" value="" size="22" tabindex="2" aria-required="true">
    <label for="email"><small>Mail (will not be published) (required)</small></label>
  </p>
  <p><input class="TextField" style="width: 210px;" type="text" name="url" id="url" value="" size="22" tabindex="3">
    <label for="url"><small>Website</small></label>
  </p>
  <!--<p><small><strong>XHTML:</strong> You can use these tags: <code>&lt;a href=&quot;&quot; title=&quot;&quot;&gt; &lt;abbr title=&quot;&quot;&gt; &lt;acronym title=&quot;&quot;&gt; &lt;b&gt; &lt;blockquote cite=&quot;&quot;&gt; &lt;cite&gt; &lt;code&gt; &lt;del datetime=&quot;&quot;&gt; &lt;em&gt; &lt;i&gt; &lt;q cite=&quot;&quot;&gt; &lt;s&gt; &lt;strike&gt; &lt;strong&gt; </code></small></p>-->
  <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4" class="Textarea" style="border: 1px solid #000000; width: 450px;"></textarea></p>
  <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" class="Cbutton">
    <input type="hidden" name="comment_post_ID" value="712" id="comment_post_ID">
    <input type="hidden" name="comment_parent" id="comment_parent" value="0">
  </p>
  <p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="bae1560a54"></p>
  <p style="clear: both;" class="subscribe-to-comments">
    <input type="checkbox" name="subscribe" id="subscribe" value="subscribe" style="width: auto;">
    <label for="subscribe">Notify me of when new comments are posted via e-mail</label>
  </p>
  <p style="display: none !important;"><label>Δ<textarea name="ak_hp_textarea" cols="45" rows="8" maxlength="100"></textarea></label><input type="hidden" id="ak_js_1" name="ak_js" value="1689611798862">
    <script>
      document.getElementById("ak_js_1").setAttribute("value", (new Date()).getTime());
    </script>
  </p>
</form>

Text Content

 * Home
 * About
 * All posts
 * Contact
 * Ask a question

 * Home
 * About
 * All posts
 * Contact
 * Ask a question

Login to online classes
 * Start Here
 * Blog
 * Classes
   * Excel School
   * VBA Classes – Learn VBA Macros today
   * Power BI Play Date
   * 50 Ways to Analyze your Data
   * Mini-Courses
   * Power BI Remote Training Options
 * Videos
   * Intro to Excel
   * Writing Formulas
   * … more
 * Topics
   * Excel Basics
   * Advanced Excel Skills
   * Learn Power BI
   * Power Query Tutorial
   * Excel Pivot Tables – Full guide
   * Project Management using Excel
 * Formulas
   * Tables & Structural Refs
   * IF
   * CHOOSE
   * XLOOKUP
   * SUMIFS
   * SUBTOTAL
   * INDEX
   * VLOOKUP & other lookups
   * 100+ Formula Examples
   * Multi-condition lookups
   * Array formulas
   * Top 10 formulas
 * Dashboards
   * What are they, how to make one?
   * Dynamic Dashboard in Excel
   * Customer Service Dashboard
   * 200+ Examples
   * Dashboard Training Course
 * Charts
 * VBA
   * 40+ Examples
   * More on VBA
 * Resources
   * 100s of FREE Excel Templates
   * Resources for Freelancers
   * Mini-Courses

Menu
 * Start Here
 * Blog
 * Classes
   * Excel School
   * VBA Classes – Learn VBA Macros today
   * Power BI Play Date
   * 50 Ways to Analyze your Data
   * Mini-Courses
   * Power BI Remote Training Options
 * Videos
   * Intro to Excel
   * Writing Formulas
   * … more
 * Topics
   * Excel Basics
   * Advanced Excel Skills
   * Learn Power BI
   * Power Query Tutorial
   * Excel Pivot Tables – Full guide
   * Project Management using Excel
 * Formulas
   * Tables & Structural Refs
   * IF
   * CHOOSE
   * XLOOKUP
   * SUMIFS
   * SUBTOTAL
   * INDEX
   * VLOOKUP & other lookups
   * 100+ Formula Examples
   * Multi-condition lookups
   * Array formulas
   * Top 10 formulas
 * Dashboards
   * What are they, how to make one?
   * Dynamic Dashboard in Excel
   * Customer Service Dashboard
   * 200+ Examples
   * Dashboard Training Course
 * Charts
 * VBA
   * 40+ Examples
   * More on VBA
 * Resources
   * 100s of FREE Excel Templates
   * Resources for Freelancers
   * Mini-Courses

Search
Search
Close this search box.
 * Charts and Graphs, hacks, ideas, Learn Excel, technology


CREATING IN-CELL BAR CHARTS / HISTOGRAMS IN EXCEL

 * Last updated on May 13, 2008

CHANDOO



Share

Facebook
Twitter
LinkedIn

Ever since writing the create in-cell pie charts in excel, I have been itching
to find a simple enough method to do incell bar graphs. An in-cell bar would
probably be more useful and cuter than an in-cell pie as it can instantly
provide trending details. What more, these would probably look gorgeous when
printed out.

My first challenge was that there was no font readily available for bar graphs.
Thankfully this is when I noticed Font Struct, an online font creator / editor.
I quickly created a bar graph font using their wonderful editor. When you use
bargraph font, 0 through 9 will show bars of increasing heights, as shown below.



You should download bargraph font if you want to use incell bar graphing
technique mentioned here.

Once you have downloaded the font, the rest is simple process. For this example,
lets use fictitious sales data of various beverages over the last 12 months. The
initial data table is something like this:




 1. First we will insert a column next to the total sales column and call it
    “last 12 months”. We will use this column to fill up the in-cell bar graph
    for the last 12 month sales.
 2. Next we need to normalize the sales values for each month to a value between
    0 to 9. I have used linear normalization, ie the maximum value across the 12
    months would be 9 and everything else will be normalized according this. The
    formula for one month looked something like this:
    =ROUND(jan_sales/MAX(all_sales)*9,0). Remember, we need to round the data
    make it one digit instead of a decimal.
 3. Once we have normalized values for each of 12 sales figures for each row, we
    just need to concatenate them to create a 12 character long string of
    numbers and place this values in our newly inserted column
 4. Finally, we will change the font of this column to “bargraph” (just select
    all the cells under the “last 12 months” and change the font)
    
    When we are finally done, our table should look something like this:
    

 5. Thats all, we now have a charming data table with cute little incell bar
    graphs to insert your project report / sales memo or news letter.

--------------------------------------------------------------------------------

Feel free to download example excel sheet I have created and learn how to do
in-cell bar graphs



--------------------------------------------------------------------------------

Remember, you need to have the bargraph font installed first.

Do you like this? share your feedback.


Facebook
Twitter
LinkedIn

Share this tip with your colleagues




GET FREE EXCEL + POWER BI TIPS

Simple, fun and useful emails, once per week.

Learn & be awesome.

You want to learn
Excel
Power BI

Subscribe

 * 56 Comments
 * Ask a question or say something...
 * Tagged under Charts and Graphs, cool, howto, ideas, in-cell charting, Learn
   Excel, microsoft, MS, technology, tips, tricks
 * Category: Charts and Graphs, hacks, ideas, Learn Excel, technology

PrevPreviousShootout @ Hocking hills state park

NextMPDNext




WELCOME TO CHANDOO.ORG

Thank you so much for visiting. My aim is to make you awesome in Excel & Power
BI. I do this by sharing videos, tips, examples and downloads on this website.
There are more than 1,000 pages with all things Excel, Power BI, Dashboards &
VBA here. Go ahead and spend few minutes to be AWESOME.

Read my story • FREE Excel tips book




Want an AWESOME
Excel Class?


Excel School made me great at work.
 5/5

– Brenda



FREE Goodies for you...

100 Excel Formulas List

From simple to complex, there is a formula for every occasion. Check out the
list now.

20 Excel Templates

Calendars, invoices, trackers and much more. All free, fun and fantastic.

13 Advanced Pivot Table Skills

Power Query, Data model, DAX, Filters, Slicers, Conditional formats and
beautiful charts. It's all here.

Get started with Power BI

Still on fence about Power BI? In this getting started guide, learn what is
Power BI, how to get it and how to create your first report from scratch.


Recent Articles on Chandoo.org


TOP 5 EXCEL SKILLS YOU NEED TO BE A SUCCESSFUL DATA ANALYST IN 2023 (PODCAST)

Audio Player
https://traffic.libsyn.com/chandoo/CP101.mp3

00:00
00:00
00:00

Use Up/Down Arrow keys to increase or decrease volume.


Podcast: Play in new window | Download

Subscribe: RSS

Ladies & gentlemen… I have an exciting announcement. I am relaunching my
podcast!!!

It only took me 7 years, but Chandoo.org podcast is now BACK! I am planning to
make regular episodes on Excel, Power BI, SQL & Data Analytics.

In the 1st episode of Season 2 of Chandoo.org podcast I talk about, Top 5 Excel
Skills you need to be a Successful Data Analyst in 2023.


WHEN & HOW TO USE THE 30+ CHART TYPES IN POWER BI?


MAKE AN IMPRESSIVE INTERACTIVE MAP CHART IN EXCEL


HOW TO CREATE A DYNAMIC EXCEL DASHBOARD IN JUST 5 STEPS


SPEED UP YOUR EXCEL FORMULAS [10 PRACTICAL TIPS]

Best of the lot
 * Excel for beginners
 * Advanced Excel Skills
 * Excel Dashboards
 * Complete guide to Pivot Tables
 * Top 10 Excel Formulas
 * Excel Shortcuts
 * #Awesome Budget vs. Actual Chart
 * 40+ VBA Examples


RELATED TIPS

Charts and Graphs


MAKE AN IMPRESSIVE INTERACTIVE MAP CHART IN EXCEL

Charts and Graphs


HOW TO CREATE A DYNAMIC EXCEL DASHBOARD IN JUST 5 STEPS

Excel Howtos


SPEED UP YOUR EXCEL FORMULAS [10 PRACTICAL TIPS]

Formula Forensics


A CLEVER TECHNIQUE TO SIMPLIFY YOUR LONG, NESTED IF FORMULAS

Learn Excel


CREATE A BEAUTIFUL, ELEGANT & INTERACTIVE TO-DO LIST WITH EXCEL (FREE TEMPLATE +
TUTORIAL)

Automation


SEND EMAIL FROM EXCEL WITH OFFICE SCRIPTS & POWER AUTOMATE


56 RESPONSES TO “CREATING IN-CELL BAR CHARTS / HISTOGRAMS IN EXCEL”


 1.  Hypnos says:
     May 14, 2008 at 7:14 am
     
     Ay jhakkas!!!
     
     Man, you're on a roll. A true-blue Excel innovator. What you're writing
     makes me think - why didn't anyone else think of this before?
     
     Now that I've showered all the praises on you, it won't hurt to have a few
     comments on my blaag
     
     PS. I meant the innovator part.
     
     Reply
     
 2.  Chandoo says:
     May 14, 2008 at 2:30 pm
     
     @Amit ... thanks, I was also curious why this one was not explored, but
     again, I havent really searched a lot to ensure that I am posting the same
     ideas again. My intent is to make few people to benefit from this, if that
     happens I would be happy...
     
     btw, posted a comment on your blaag... hope you are happy now
     
     Reply
     
 3.  Hypnos says:
     May 15, 2008 at 8:52 am
     
     Don't worry about repeating the ideas in the online world. As long as you
     are not copying it off anyone else and it is helpful for the readers, it's
     fine.
     
     PS. the comment does not count.
     
     Reply
     
 4.  Andreas Lipphardt says:
     May 29, 2008 at 6:08 am
     
     The idea actually is not a new one :).
     
     Check out MicroCharts
     http://www.bonavistasystems.com/
     to see how far you can get with font based in-cell charting
     
     Reply
     
 5.  Incell Bar charts - Revisited | Pointy Haired Dilbert - Chandoo.org says:
     July 15, 2008 at 9:29 pm
     
     [...] can never get tired of in-cell charts, whenever I get sometime, I try
     to experiment something on them. Here is an idea to design true [...]
     
     Reply
     
 6.  What is the best micro charting tool for Excel? - 7 Alternatives Reviewed |
     Pointy Haired Dilbert - Chandoo.org says:
     September 5, 2008 at 1:35 pm
     
     [...] Since we can insert any character in to a cell using formula, by
     installing a custom bar chart / pie font in our computer we can create
     incell graphs in excel with ease. Click here to see example pie chart, line
     chart. [...]
     
     Reply
     
 7.  Mrayo84 says:
     October 19, 2008 at 6:03 am
     
     Where is the file? I can't seem to locate it. I want to donwload it. Thanks
     Chandoo!
     
     Reply
     
 8.  Mrayo84 says:
     October 19, 2008 at 6:05 am
     
     Found it.
     
     Reply
     
 9.  mahqooi says:
     November 22, 2008 at 11:43 pm
     
     Great job, Chandoo. Love the site - and the fact that you provide downloads
     to help us (me) learn your secrets faster. I downloaded the font but can't
     figure out how to add it to my font library... Any hints? Thanks! Keep up
     the fantastic work.
     
     Reply
     
 10. Chandoo says:
     November 23, 2008 at 8:29 pm
     
     @Mahqooi: Thank you and welcome to PHD
     
     This is how you can install a font in a windows machine:
     unzip the font files (if needed)
     select and copy the font file to clip board by pressing ctrl+c
     go to control panel > fonts
     paste the file by pressing ctrl +v
     repeat this procedure for other font files if any
     
     if you are using mac, just right click on the font file and select install
     option.
     
     let me know if you have some issues with this.
     
     Reply
     
 11. cybpsych says:
     April 9, 2009 at 5:54 am
     
     Hi Chandoo,
     
     is there any mirrors for the bargraph font?
     
     it seems that fontstruct.com is down for maintenance.
     
     thanks!
     
     Reply
     * Chandoo says:
       April 14, 2009 at 4:08 am
       
       @Cybsych: I am not sure if they have any mirrors. I will look in to my
       backup to see if a copy of the font can be located and ping you back.
       Thanks.
       
       Reply
       
     
 12. cybpsych says:
     April 15, 2009 at 1:20 am
     
     hi Chandoo, fontstruct is back online
     
     BTW, I am wondering about this in-cell chart.
     
     How do I apply an automated conditional formatting to only a bar/point?
     
     For example, the first image in this post, whereby RED = highest,
     BLUE=lowest.
     
     Reply
     
 13. Pedro says:
     May 6, 2009 at 10:19 pm
     
     Chandoo,
     I guess this bars only work with positive numbers? so if you a list of
     costs per month, but one month you have negative cost meaning income due to
     let's say vendor credits. This incell bar could despict the month with a
     negative digit. or could it?
     
     Reply
     
 14. cybpsych says:
     May 12, 2009 at 8:26 am
     
     hi Chandoo, guess that you missed out my query
     
     is there a way to highlight the MAX and MIN bar based on the actual data
     (not the normalized)?
     
     Reply
     
 15. Chandoo says:
     May 13, 2009 at 7:29 pm
     
     @Pedro, for that you need to have another set of characters (may be A-J for
     0-9 and K-S for -1 to -9 and then use them to show the bars. It is a bit
     tricky, but achievable.
     
     @Cybpsych: The highlighting was done manually (As you can see, there is
     probably no easy way to highlight / change colors of a portion of cell
     using Conditional formatting etc.). I am sorry, but you need to use
     someother sparkline technique to achieve this (or, write your own macro)
     http://chandoo.org/wp/2008/09/05/microcharting-excel-howto/
     
     Reply
     
 16. cybpsych says:
     May 14, 2009 at 4:35 am
     
     thanks chandoo!
     
     Reply
     
 17. Jason says:
     May 14, 2009 at 1:04 pm
     
     I love this simple and quick way of visualization results. I would like to
     learn more about normalizing values (i.e. the use of linear normalization).
     Can someone kindly point me in a good direction for this beginner? Much
     thanks to everyone (especially Chandoo) for the wealth of information
     provided. Long live the internet age!
     
     Reply
     * Chandoo says:
       May 17, 2009 at 9:53 am
       
       @Jason: you can use simple excel formulas to normalize a set of values.
       If the list of values is in say a1: a10 and you want them to be
       normalized from 1 to 100, you can do that with a formula like:
       =A1/max($A$1:$A$10) * 100. Also, you can use the RANK formula to
       calculate the percentile of any value in the list.
       
       Reply
       
     
 18. Create Excel Dot Plots (in-cell) - Tutorial and Downloadable Template |
     Pointy Haired Dilbert: Charting & Excel Tips - Chandoo.org says:
     June 10, 2009 at 9:32 am
     
     [...] Bar | Sparklines | Pie charts | Bullet Graphs | w/ Conditional [...]
     
     Reply
     
 19. Matt A. says:
     July 17, 2009 at 2:24 pm
     
     Nifty way to normalize the data....I'll have to take that into account when
     working with my charts.
     
     One thing I'd like to add, you can eliminate the need for custom fonts with
     the bar charts by using a REPT function and using a small "g" set to the
     Webdings font. It's more likely anybody opening the file will have access
     to that font than the custom one you've provided. (More portability is a
     good thing )
     
     Reply
     
 20. Pedro says:
     July 21, 2009 at 5:52 pm
     
     Portability is great.
     I don't quite see how the REPT formula and the webding fonts can combine to
     solve the portability issue.
     Mind you, i see that +REPT("g",1) will give you a bar, but we would need
     several bars of unequal lenght.
     
     Can you elaborate?
     Thank you
     
     Reply
     
 21. Chandoo says:
     July 21, 2009 at 5:59 pm
     
     @Matt: I almost forgot about this comment. Thanks to Pedro for the bump.
     
     As he points, portability is a good idea, but we will not be able to get
     bars of variable height using webdings font.
     
     We can ofcourse use that along with text rotation and char(10) to create a
     pseudo incell bars. Here is a tutorial:
     http://chandoo.org/wp/2008/07/15/incell-bar-charts-revisited/
     
     Reply
     
 22. Matt A. says:
     July 21, 2009 at 6:14 pm
     
     @Chandoo: Yep, that's exactly what I meant, use your text rotation and
     char(10) trick with REPT("G",) (then set the font to Webdings) to get your
     string of bars with variable height.
     
     @Pedro: REPT("g",1) will give you one "g" (or in Webdings a bar of 1
     height).
     
     REPT("g",B2) will repeat for the value in B2... Use that with Chandoo's
     take on linear normalizing, and yer all set.
     
     Wingdings with an "n" character would be even more portable, but just
     doesn't look quite as cool...but pretty much everybody has that font, so
     it'd be portable.
     
     You may have to adjust the font size in order to get all the bars to show
     correctly, perhaps some sizing of the row heights as well...
     
     You can fake an incell line chart by using:
     REPT(" ",B2-1)&REPT("n",B2)
     where B2 is the value in the cell you want as a data point.
     
     Reply
     
 23. Matt A. says:
     July 21, 2009 at 6:20 pm
     
     Wow, the formatting was horrid, let's elaborate a bit more...
     
     REPT("",-1)&REPT("n",) - would give you a line graph, where could be a
     reference to each cell you'd like as a data point.
     
     REPT just repeats a text string a number of times, it can be either a hard
     number (like Pedro's example), or a reference to a value in another cell
     (more handy). I believe Webdings is a common font in the MS Office suites
     I'm familiar with (2000 thru 2003), but I'm not sure of 2007's suite.
     
     Reply
     
 24. Chandoo says:
     July 22, 2009 at 8:09 am
     
     @Matt A: I am sorry for the formatting mishap. I am afraid of using too
     many plug ins, but I guess a simple HTML based comment box seems like a
     good idea now that lot more commenters are typing formulas and vba code in
     the comment box.
     
     Coming to the formula.. thanks for sharing it. And yes, you are right,
     webdings is common to Office 2007 too. But even better solution would be to
     use good old pipe | symbol. When the font is Arial, the pipe character
     spacing looks optimum and subtle enough to look like an incell histogram /
     column chart.
     
     Reply
     
 25. Matt A. says:
     July 22, 2009 at 11:26 am
     
     After some searching through the character maps in Arial I noticed that
     there's a box symbol --> ? (created by holding ALT then typing 5595 on the
     numpad) that would work perfectly as another character to use for column
     charts. It looks just like the Webdings "g" character.
     
     Reply
     
 26. Ben says:
     September 15, 2009 at 3:06 pm
     
     Is there a way to change the colour of the bars based upon the data. eg.
     1-5 = red, 6-7 = amber, 8-10 = Green
     
     Reply
     
 27. Chandoo says:
     September 16, 2009 at 11:10 am
     
     @Ben... you can change the color of all bars in a cell using conditional
     formatting. But selectively changing color of bars inside cell is not
     possible unless you do it manually or through VBA.
     
     Reply
     
 28. DogSolitude » Blog Archive » Creating in-cell bar charts in excel says:
     September 25, 2009 at 3:21 pm
     
     [...] Creating in-cell bar charts / histograms in excel @ Pointy Haired
     Dilbert Filed under: Stuff [...]
     
     Reply
     
 29. Vinu says:
     May 3, 2010 at 10:33 am
     
     Is this work only for the numbers or will it work for % data also. I tried
     to do the same for % data, but i didnt get. Pls let me know the formula for
     % data.
     
     Reply
     
 30. How to Visualize Survey Results using Incell Panel Charts [case study] |
     Chandoo.org - Learn Microsoft Excel Online says:
     May 28, 2010 at 8:59 am
     
     [...] trick is to use Incell Charts. [...]
     
     Reply
     
 31. prb says:
     February 16, 2011 at 1:50 am
     
     Hello Chandoo,
     
     I really like this, but I have Office for Mac 2011 and for the life of me I
     cannot figure out how to see the bargraph as an available font.
     
     I have followed all the instructions for adding a font, but it does not
     appear. Do you have any suggestions?
     
     Thanks
     
     prb
     
     Reply
     
 32. Ekta says:
     March 25, 2011 at 6:24 am
     
     Thanks. This one was cool and helpful. Can we experiment the same with "in
     cell" line graph as well?
     
     Reply
     
 33. Lawrence says:
     September 11, 2011 at 9:10 pm
     
     Chandoo,
     
     How do you "manually" change the color of the last bar in the series?
     
     Lawrence
     
     Reply
     
 34. Hui... says:
     September 11, 2011 at 10:58 pm
     
     @Lawrence
     Select the chart
     Select the series
     Select the last point/column of the series
     Ctrl 1 or right click Format Point
     Select a color
     
     Reply
     
 35. Lawrence says:
     September 12, 2011 at 1:41 am
     
     Hui,
     
     Thanks!
     
     I should have been more descriptive. What I meant to ask was about the
     in-cell bar graph created with the REPT function described above. How do I
     get the last REPT (the last bar) to be a different color than the rest?
     
     Lawrence
     
     Reply
     
 36. Hui... says:
     September 12, 2011 at 3:37 am
     
     @Lawrence
     You cannot change colors in a cell using formula
     You can use either VBA code or do it manually
     Select the cell
     Copy and paste it as values
     Edit the cell F2
     using the arrows move to the character you want to color
     Shift and select the cell by arrow keying over it
     with the characyer selected
     Ctrl 1 (Format Cells)
     Change the Font Color to suit
     
     Reply
     
 37. Matt A. says:
     September 13, 2011 at 1:19 pm
     
     It won't be a color change per se...but you can set an IF statement in your
     REPT formulas for different characters to show as the bars. The characters
     "c" and "g" in Webdings are both boxes, one is a solid block, the other an
     outline.
     
     For example, say I wanted to highlight the highest bar in my REPT
     formulas...my formula to translate the numeric cells A2:A15 to characters
     would be:
     IF(A7=MAX($A$2:$A15),REPT("c",B7),REPT("g",B7))
     
     so if the cell I'm checking (here it happened to be A7), is the highest
     number...its bar would display differently further along down in the
     concatenations...
     
     Reply
     
 38. Lawrence says:
     September 13, 2011 at 2:58 pm
     
     @Hui...THANKS!
     
     @ Matt A... Very cool idea. What formatting do you recommend for the cell?
     The Webdings "c" hollow box is very faded and hard to read even if bolded
     and bigger font size is used. If I could just punch it up a bit it would be
     perfect with 5 "c" columns followed by a single solid "g" column...as in
     showing the trend in the trailing 6 months of data.
     
     Lawrence
     
     Reply
     
 39. Matt A. says:
     September 13, 2011 at 3:07 pm
     
     @ Lawrence
     
     Good question...lately I've been using ? (which you get from holding ALT
     then typing 5595 on the numeric keypad) for most of my bars. Unfortunately
     the character map doesn't lead me to a differently "shaded" box of the same
     size. Reason I use this nowadays...it's part of arial font...just a special
     char map character I can rapidly input w/o any formatting nonsense.
     
     I'll check to see if I can replicate another box of same size that may have
     different shading using the same method...no luck as of yet.
     
     Reply
     
 40. Leepy says:
     July 20, 2012 at 2:08 pm
     
     I've just built the in cell bargraph and was trying to create a pop up
     window which would display the Monthly Sales for Last 12 months when they
     click on any of the bargraph cells
     
     Reply
     
 41. How to insert incell bar charts in Excel 2007 « BONNIE CHEN's Blog says:
     September 16, 2012 at 5:45 pm
     
     [...]
     Reference: http://chandoo.org/wp/2008/05/13/creating-in-cell-bar-charts-histograms-in-excel/
     Like this:LikeBe the first to like this. [...]
     
     Reply
     
 42. How to Solve 20 Situations Using Excel Formulas | BizNet Software Blog
     says:
     November 15, 2012 at 10:18 pm
     
     [...] To quickly insert an in cell micro-chart, use REPT() function… Get
     Full Tip [...]
     
     Reply
     
 43. captainentropy says:
     April 6, 2013 at 2:39 am
     
     Hi, there is a problem with the Bargraph font. On my win7 machine it works
     perfectly but when I try to install it on my boss's mac it returns an error
     called " 'Name' Table Structure"
     
     I tried to install on two different macs and the same error resulted. As a
     result the font does not show up as an option in any program.
      
     Just an FYI. I don't use macs but I know some people do.
     
     Reply
     
 44. Marc Frutos says:
     May 17, 2013 at 6:27 am
     
     Whats up! I just wish to give a huge thumbs up for the good info you might
     have right here on this post. I can be coming back to your weblog for extra
     soon.
     
     Reply
     
 45. 25 Very Useful Keyboard Shortcuts | Khazanah Keilmuan Mesin, Umum dan Islam
     says:
     May 22, 2013 at 4:06 am
     
     [...] like .docx, .htaccess etc.) 43. To quickly insert an in cell
     micro-chart, use REPT() function… Get Full Tip 44. COUNT() only counts
     number of cells with numbers in them, if you want to count number of cells
     [...]
     
     Reply
     
 46. Sarah says:
     December 27, 2013 at 4:25 pm
     
     Thanks Chandoo for the font!! It works great once installed on my machine,
     but is there any way (besides printing and scanning the doc) that I can get
     the graphs to show up on other peoples' machines without going through the
     font install process? My file has to be sent out to clients that don't have
     that font installed.
     
     Reply
     
 47. captainentropy says:
     January 2, 2014 at 8:20 pm
     
     Sarah, Excel doesn't allow embedding of fonts (aside from a workaround
     using a macro). The font will need to be sent to all who want to view the
     file. I went through the same question with my boss. I ultimately just
     installed the font on her computer.
     
     If the data is only to be viewed, and not modified, moved, etc. you can
     save the file as a pdf. The font can be viewed that way.
     
     Reply
     
 48. joesali says:
     February 8, 2014 at 8:19 am
     
     Hello every one there is a problem I need auto update summary formula from
     other sheets data pick please give me sample file and also auto up grate
     summary sheet format.................
     
     Reply
     * Hui... says:
       February 8, 2014 at 9:28 am
       
       @Joesali
       
       I'd suggest asking this type of question at the Chandoo.org Forums
       I'd suggest uploading a sample file also
       
       Reply
       
     
 49. nikhi says:
     May 21, 2014 at 11:52 pm
     
     Hi chandu,
     Apart from excel, i need the formula to find bar graph height dynamically
     when using with log scale, for example for linear graph i would take the
     maximum value to height of the panel as
     (value divided by maxvalue) * height.
     Now , i am using a logarithimic graph can you tell me the right formula
     which fits perfectly.
     Thanks in advance
     
     Reply
     
 50. Robert Marco says:
     January 14, 2016 at 1:24 am
     
     Nice info... Thanks... very hepfull...
     
     Reply
     
 51. Amber Cleveland says:
     March 15, 2016 at 3:16 pm
     
     The font does not seem to be available at fontshop. Is there somewhere else
     to download the bargraph font?
     
     Reply
     * Hui... says:
       March 16, 2016 at 2:11 am
       
       @Amber
       
       Try doing a Google search for Bargraph Font
       it returns several possibilities
       
       Reply
       
     
 52. Swapna says:
     September 20, 2018 at 10:07 am
     
     Is there a way to do this without using bar graph font? We have a financial
     report to be published to stakeholders and they will not have this font
     installed, so probably will not be able to view the bar chart as well.
     
     Reply
     




LEAVE A REPLY

Click here to cancel reply.

Name (required)

Mail (will not be published) (required)

Website







Notify me of when new comments are posted via e-mail

Δ




GET FREE EXCEL & POWER-BI NEWSLETTER

One email per week with Excel and Power BI goodness. Join 100,000+ others and
get it free. 

Yes, sign me up

GET STARTED

 * Excel Basics
 * Advanced Excel
 * 100+ Formulas
 * Free Crash Course
 * Pivot Tables
 * Power BI

ONLINE CLASSES

 * Excel School
 * VBA Classes
 * Power BI Classes
 * 50 ways to analyze data
 * Mini Courses

ABOUT

 * My Story
 * Welcome Message
 * Contact
 * Forum & Community

DOWNLOADS

 * 20+ Excel Templates
 * 200+ Dashboards
 * 40+ VBA Code samples
 * Ebooks & More

Twitter Facebook-f Youtube Linkedin-in

© All rights reserved.


Chandoo.org
Data and Cookie Consent
In order to provide a more personal user experience, we and our partners use
technology such as cookies to store and/or access device information.
By clicking “Accept” you consent to these technologies which will allow us and
our partners
to process non-sensitive data such as IP address, unique ID, and browsing data
for the purposes of serving personalized ads and content, ad and content
measurement, audience insights, and to develop and improve products.
Your choices on this site will be applied only for this site. You can change
your settings at any time, including withdrawing your consent, by going to the
Privacy Policy
page of this site.
Manage Settings
Accept

Update Privacy Settings