15 Jul
Posted by Chandoo in Excel Tips, hacks, ideas, technology, visualization
I 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 incell column charts without using any add-ins or installing fonts. These charts can be fun to have on your project report or annual news letter or memos, they take as much time as munching a handful of M&Ms.
Download excel chart containing incell bar chart example
This is the simple step. For a sample data, we can use rept() excel function to repetitively print a symbol. Thus, by repetitively printing “|” (pipe) we can create incell bar charts.
REPT() example is shown below:
=rept("|",10)will print||||||||||
We can combine various incell charts using excel’s concatenate() function or & operator. Better still you can use the concat() UDF. The trick here is we will delimit each chart with an ENTER key code by using char(10) as the delimiter. When used along with “wrap text” cell format this key code will force cell contents to a newline where the char code 10 is inserted.

Just select the cell contents, hit ALT+1, and set the alignment formats so that the text is vertically aligned in the cell, and turn on wrap text.

That is all, you will now have an incell bar chart that is vertical like the one below:

Pretty cool eh?
11 Responses
Simon
July 16th, 2008 at 6:00 am
1Hey Chandoo,
I just came across your blog a few days back, and have been facinated by your blog, esp excel tips. Keep the good work going.
I am from IIMK 2007 batch.
Pankaj Verma
July 16th, 2008 at 7:28 am
2Hey Chandoo,
I have been visiting your blog quite frequently ever since I discovered this during a google search. I had read your tip on incell charts earlier and then applied the text orientation and created the similar type of charts and got ‘wows’ from my colleagues. I wanted to share that with you earlier and others but found no link to upload a file on your site. Am glad that you finally suggested the same thing in your post today.
Keep up the good work
Pankaj Verma
July 16th, 2008 at 7:28 am
3Hey Chandoo,
I have been visiting your blog quite frequently ever since I discovered this during a google search. I had read your tip on incell charts earlier and then applied the text orientation and created the similar type of charts and got ‘wows’ from my colleagues. I wanted to share that with you earlier and others but found no link to upload a file on your site. Am glad that you finally suggested the same thing in your post today.
Keep up the good work
Regards,
Pankaj Verma
Sukhbinder Singh
July 16th, 2008 at 8:27 am
4awesome!!!!!!!!!!!!!!!!!
Jon Peltier
July 16th, 2008 at 12:15 pm
5Nice charts.
To make a degree sign (°), hold ALT while typing 0176 on the numeric keypad. Nicer than superscripts, and the RSS feed is less likely to display it improperly.
Chandoo
July 16th, 2008 at 1:08 pm
6@Simon - welcome to PHD.. thanks for the comments..
@Pankaj - you can always share your ideas in comments… or drop me an email at chandoo dot d at gmail dot com. thanks for the comments
@Sukhbinder .. thank you
@Jon.. that is an excellent tip there… I will use it from now on…
Cheryl
July 16th, 2008 at 10:05 pm
7That’s really cool, but still not quite sparklines. Have you had any luck with making those?
Your site is really great, btw!
Chandoo
July 17th, 2008 at 10:35 pm
8@ Cheryl: Thanks for the comments, yeah still no luck with them.. may be this weekend
Greg
August 13th, 2008 at 7:06 pm
9Chandoo-
First time visitor, I will be back, your excel tips are great. Question about this worksheet. It is looking for an add-in in your c:drive for a “macros.xla”
Is this macros.xla a macro workbook which comes from installing one of the add-ins?
Greg
August 13th, 2008 at 7:35 pm
10Ahh, after spending time with your blog I found the May 28 post. I’ll download that and give it a try
Chandoo
August 13th, 2008 at 7:38 pm
11@Greg … welcome, thanks for the comments.
well, it is looking the addin for the concat udf which I used to create the incell chart. You can find out more about it : http://chandoo.org/wp/2008/05/28/how-to-add-a-range-of-cells-in-excel-concat/, I forgot include it the spreadsheet code as it was on my macros.xla add-in.
Let me know if you still have difficulty
RSS feed for comments on this post · TrackBack URI
Leave a reply
Welcome :)
Quick Facts
I am Chandoo, when I started this blog in 2004, the purpose was to post snapshots from hell to share my b-school life with world.
Today this blog has over 600 articles in topics like Excel, Business, Advertising, Technology, Photography and Life in Indian B-schools.
Interested? Know more or mail me at: chandoo [dot] d [at] gmail [dot] com
Recent Comments
Categories
Recently PHD wrote
Monthly Archives
Category-wise Archives
Blogroll
PHD Link Love
Hungry for Spam
Disclaimer
Add PHD to your news reader
Tag Cloud
advertising b-school blogging business chennai company cost engineering Excel Tips experience food Friends fun game Humor idea ideas IIM images India Indore information learning management marketing MBA microsoft money movie office photos presentation product project service story technology tips train travel tricks tv visualization web weekendPointy Haired Dilbert - Chandoo.org is proudly powered by WordPress - BloggingPro theme by: Design Disease