Recently, I ran a contest asking you to analyze a bunch of sales data and present your results in charts. We received a total of 78 charts from 45 people. The contest entries had a mind-boggling variety of excel charts, techniques and ideas. It took me a while to go thru all the files and compile the results. Thanks for your patience. In this post, you can find all the charts along with my comments & links to download files.
How to read this article?
This is a very big page. So let me help you out.
- Each of the 45 contestant’s entries are shown in one box. The box shows one of the charts the contestant has made.
- If the contestant has made more than 1 chart, then thumbnails of remaining charts are shown beneath. You can click on thumbnails to enlarge the images.
- For some charts, I have added my comments.
- You can download the file(s) for each contestant’s charts by clicking download links below the image
- If you want to learn how a particular chart is constructed, refer to Related Articles section
- I really liked some of the entries. You can see “Chandoo’s pick” icon on top of such charts.
- This article is big. So get a cup of coffee and enjoy it sip by sip.
Winner of this contest will be announced tomorrow.
[01] Line chart by Aditya

| My comments | Downloads | Related Articles | » Smart chart labels » Good color choices, well contrasted |
• Download file | ♥ Smart chart labels |
[02] Column chart by Al

| My comments | Downloads | Related Articles | » Interesting presentation » Use of shapes to highlight the message |
• Download file | ♥ Smart chart labels ♥ How to make charts when you have too much data |
[04] Column chart by Ameya

| My comments | Downloads | Related Articles | » Interactive charts » Revenue Trend lines |
• Download file • Download file 2 • Download file 3 |
♥ Using form controls ♥ Dynamic Charts with Check Boxes |
[06] Column chart by Anachalee

| My comments | Downloads | Related Articles | » Interactive charts » Revenue Trend lines |
• Download file | ♥ Using form controls |
Excel School Online Training Program by Chandoo
| My comments | Downloads | Related Articles | » Learn Excel Step by Step » Analyze data like a pro » Become Awesome! |
• Download Excel School Brochure | ♥ Excel School Demos ♥ Excel School FAQS ♥ Excel School Pricing & Signup |
[08] Column chart by Arpita

| My comments | Downloads | Related Articles | » Interesting presentation » Not made in Excel |
• Download file | ♥ Using form controls |
[09] Panel chart by Ben

| My comments | Downloads | Related Articles | » Panel chart » Average line |
• Download file | ♥ Panel charts |
[11] Panel chart by E

| My comments | Downloads | Related Articles | » Panel chart » Very well constructed » Good color choice, well contrasted |
• Download file | ♥ Panel charts |
[12] Dashboard by Ezequiel

| My comments | Downloads | Related Articles | » Interactive charts » Multiple types of analysis possible |
• Download file | ♥ Using form controls ♥ Display on-demand details in excel charts ♥ Panel charts |
[13] Line charts by Fredrick

| My comments | Downloads | Related Articles | » Good observations » Trend line |
• Download file |
[15] Dashboard by Harshad

| My comments | Downloads | Related Articles | » Good structuring of charts » Interactive charts » Interesting observations |
• Download file | ♥ Using form controls ♥ Comparison charts ♥ Donut bar chart |
[16] Panel chart by Jay

| My comments | Downloads | Related Articles | » Panel chart » Totals vs. monthly product-wise breakup |
• Download file | ♥ Panel charts |
Excel School Online Training Program by Chandoo
| My comments | Downloads | Related Articles | » Learn Excel Step by Step » Analyze data like a pro » Become Awesome! |
• Download Excel School Brochure | ♥ Excel School Demos ♥ Excel School FAQS ♥ Excel School Pricing & Signup |
[17] Panel chart by Jeff

| My comments | Downloads | Related Articles | » Good color choices » Panel chart |
• Download file | ♥ Panel charts |
[18] Column chart by Jennifer

| My comments | Downloads | Related Articles | » Interesting legend | • Download file | ♥ Smart chart labels |
[19] Column chart by Jochen

| My comments | Downloads | Related Articles | » Interactive chart » Lots of analysis possible |
• Download file | ♥ Using form controls ♥ Dynamic Charts with Check Boxes |
[22] Panel chart by Laksiri

| My comments | Downloads | Related Articles | » Panel chart » Monthly panels along with overall panel » Good colors |
• Download file | ♥ Panel charts |
[23] Column chart by Lu

| My comments | Downloads | Related Articles | » Incell chart | • Download file | ♥ Incell Charts |
[24] Column chart by Lukas

| My comments | Downloads | Related Articles | » Very good colors » Interesting chart construction » Table to support additional analysis |
• Download file |
[25] Area chart by Mat

| My comments | Downloads | Related Articles | » totals in second series as a line » Well contrasted labels » Grouping |
• Download file |
[26] Panel chart by Matt

| My comments | Downloads | Related Articles | • Download file • Download file 2 |
♥ Panel charts |
[28] Column chart by Michael

| My comments | Downloads | Related Articles | » Multiple charts for different types of analysis | • Download file |
[29] Column chart by Michael

| My comments | Downloads | Related Articles | » Interactive charts » Interesting presentation, lots of analysis possible » Indicator arrows for selected series (clever) |
• Download file | ♥ Using form controls ♥ Display on-demand details in excel charts ♥ Smart chart labels |
[30] Panel chart by Mohammed

| My comments | Downloads | Related Articles | » Interesting panel chart construction » Good color choices, well contrasted |
• Download file | ♥ Panel charts |
[31] Column chart by Nadeem

| My comments | Downloads | Related Articles | » Interactive charts » Very well constructed, lots of analysis possible » Good colors |
• Download file | ♥ Using form controls ♥ Comparison charts |
[32] Column chart by Noah

| My comments | Downloads | Related Articles | » Grouping of data » Good color choices, well contrasted |
• Download file |
[33] Column chart by Nuruddin

| My comments | Downloads | Related Articles | » Interactive chart » Lots of analysis possible |
• Download file | ♥ Using form controls ♥ Display on-demand details in excel charts ♥ Dynamic Charts with Check Boxes |
[40] Column chart by Shellie

| My comments | Downloads | Related Articles | » Interactive charts » Lots of analysis possible » Well contrasted colors |
• Download file | ♥ Using form controls ♥ Dynamic Charts with Check Boxes |
[41] Column chart by Simon

| My comments | Downloads | Related Articles | » Very well constructed interactive chart (requires macros) » On demand details, lots of analysis possible » Good colors |
• Download file | ♥ Using form controls ♥ Display on-demand details in excel charts ♥ Comparison charts |
[43] Panel chart by Tom

| My comments | Downloads | Related Articles | » Good color choices » Panel chart » Lots of chart options |
• Download file | ♥ Panel charts |
[44] Column chart by Utami

| My comments | Downloads | Related Articles | » Interactive chart | • Download file | ♥ Using form controls |
[45] Column chart by M

| My comments | Downloads | Related Articles | » Simple and effective colors » Well contrasted labels |
• Download file |
Excel School Online Training Program by Chandoo
| My comments | Downloads | Related Articles | » Learn Excel Step by Step » Analyze data like a pro » Become Awesome! |
• Download Excel School Brochure | ♥ Excel School Demos ♥ Excel School FAQS ♥ Excel School Pricing & Signup |
Thanks to Everyone
Many thanks to all the participants of this contest. I have really enjoyed going thru your files and understand the charting techniques you have employed. I learned a lot of interesting techniques too, which I will share on this blog during next few weeks.
Special thanks to Ravindra, my assistant, who helped me in compiling all the results and taking screenshots of the charts.
Also, thanks to Hui, for giving his feedback and suggesting few more picks.
Which charts did you like?
As you can see, there are several excellent charts. I liked the about 14 different entries and marked them all with Chandoo’s pick
What about you? Which charts did you like? Please tell us using comments.
Who is the winner?
I will be announcing the winner of this contest by tomorrow (1st of July).
Related Articles
If you want to learn how many of these charts are constructed, then you must go thru these articles.
- Using form controls
- Display on-demand details in excel charts
- Panel charts
- Comparison charts
- Donut bar chart
- Smart chart labels
- How to make charts when you have too much data
- Dynamic Charts with Check Boxes
- Incell Charts
- Sales Dashboards using Excel
- Excel Dashboards – Information, templates & tutorials
- Dynamic & Interactive Charts in Excel
- Excel Charting Examples & Templates






























































26 Responses to “Get busy this weekend, with OR XOR AND [Excel Homework]”
first solution for AND
The two numbers are in A1 and B1
= SUBSTITUTE (SUBSTITUTE (A1+B1*9*9, 9, 1), 8, 0)
regards
Stef@n
next solution for OR
=1*SUBSTITUTE (A1+A2;2;1)
regards
Stef@n
last solution for XOR
=1*SUBSTITUTE (A1+A2;2;0)
regards
Stef@n
Or you could make use of the VBA logical operators!
Define the following as custom functions
Public Function BITXOR(x As Long, y As Long)
BITXOR = x Xor y
End Function
Public Function BITAND(x As Long, y As Long)
BITAND = x And y
End Function
Public Function BITOR(x As Long, y As Long)
BITOR = x Or y
End Function
and then use them such:
A B =BITOR(A,B) =BITAND(A,B) =BITXOR(A,B)
0101 0100 0101 0100 0001
an another solution for AND
=1*SUBSTITUTE (SUBSTITUTE (A1+A2;1;0);2;1)
note:
the binary numbers are in A1 and A2 !
regards
Stef@n
I was obviously playing hooky at the beach during the bit-wise math lesson – you lost me at “Understanding bit-wise operations” 🙂
After looking at the above solutions, I find my solution silly, but still:
For the following formulae,
Row 1: headers,
Row 2: OR
Row 3: AND
Row 4: XOR
Column 1: Input 1
Column 2: Input 2
Column 3: Result
OR
{=SUM(IF(MID(A2,ROW(OFFSET($A$1,0,0,LEN(A2),1)),1)+MID(B2,ROW(OFFSET($A$1,0,0,LEN(B2),1)),1)>0,1,0)*10^(LEN(A2)-ROW(OFFSET($A$1,0,0,LEN(B2),1))))}
AND
{=SUM(IF(MID(A3,ROW(OFFSET($A$1,0,0,LEN(A3),1)),1)+MID(B3,ROW(OFFSET($A$1,0,0,LEN(B3),1)),1)=2,1,0)*10^(LEN(A3)-ROW(OFFSET($A$1,0,0,LEN(B3),1))))}
XOR
{=SUM(IF(MID(A4,ROW(OFFSET($A$1,0,0,LEN(A4),1)),1)+MID(B4,ROW(OFFSET($A$1,0,0,LEN(B4),1)),1)=1,1,0)*10^(LEN(A4)-ROW(OFFSET($A$1,0,0,LEN(B4),1))))}
@Anup
Please don't consider your solution silly
Firstly, You are the 3rd person to submit an answer
Secondly, The best formula/function is the one that you know and understand.
I think I have a very tedious solution, which people won't have the patience to do except in small numbers.
I used the same problem setup as "Anup Agarwal"
AND =IF(AND(MID(B2,1,1)="1",MID(C2,1,1)="1"),1,0)&IF(AND(MID(B2,2,1)="1",MID(C2,2,1)="1"),1,0)&IF(AND(MID(B2,3,1)="1",MID(C2,3,1)="1"),1,0)&IF(AND(MID(B2,4,1)="1",MID(C2,4,1)="1"),1,0)
OR =IF(OR(MID(B3,1,1)="1",MID(C3,1,1)="1"),1,0)&IF(OR(MID(B3,2,1)="1",MID(C3,2,1)="1"),1,0)&IF(OR(MID(B3,3,1)="1",MID(C3,3,1)="1"),1,0)&IF(OR(MID(B3,4,1)="1",MID(C3,4,1)="1"),1,0)
=IF(OR(AND(MID(B4,1,1)="1",MID(C4,1,1)="0"),AND(MID(B4,1,1)="0",MID(C4,1,1)="1")),1,0)&IF(OR(AND(MID(B4,2,1)="1",MID(C4,2,1)="0"),AND(MID(B4,2,1)="0",MID(C4,2,1)="1")),1,0)&IF(OR(AND(MID(B4,3,1)="1",MID(C4,3,1)="0"),AND(MID(B4,3,1)="0",MID(C4,3,1)="1")),1,0)&IF(OR(AND(MID(B4,4,1)="1",MID(C4,4,1)="0"),AND(MID(B4,4,1)="0",MID(C4,4,1)="1")),1,0)
Sorry my last post was totally messed up
AND
=IF(AND(MID(B2,1,1)="1",MID(C2,1,1)="1"),1,0)&IF(AND(MID(B2,2,1)="1",MID(C2,2,1)="1"),1,0)&IF(AND(MID(B2,3,1)="1",MID(C2,3,1)="1"),1,0)&IF(AND(MID(B2,4,1)="1",MID(C2,4,1)="1"),1,0)
OR
=IF(OR(MID(B3,1,1)="1",MID(C3,1,1)="1"),1,0)&IF(OR(MID(B3,2,1)="1",MID(C3,2,1)="1"),1,0)&IF(OR(MID(B3,3,1)="1",MID(C3,3,1)="1"),1,0)&IF(OR(MID(B3,4,1)="1",MID(C3,4,1)="1"),1,0)
XOR
=IF(OR(AND(MID(B4,1,1)="1",MID(C4,1,1)="0"),AND(MID(B4,1,1)="0",MID(C4,1,1)="1")),1,0)&IF(OR(AND(MID(B4,2,1)="1",MID(C4,2,1)="0"),AND(MID(B4,2,1)="0",MID(C4,2,1)="1")),1,0)&IF(OR(AND(MID(B4,3,1)="1",MID(C4,3,1)="0"),AND(MID(B4,3,1)="0",MID(C4,3,1)="1")),1,0)&IF(OR(AND(MID(B4,4,1)="1",MID(C4,4,1)="0"),AND(MID(B4,4,1)="0",MID(C4,4,1)="1")),1,0)
@stefan,
I just couldn't get your solutions to work.
01010101010 + 01010101110 = 02020210120
what am i doing wrong?
@anup
...I got yours to work!
@Stephen - I get the same, but Stef@an's second solution for AND does work (at least for the test cases I used)
@ Stephen / Rich
yes , you are right ! - only this works:
OR
=1*SUBSTITUTE (A1+A2;2;1)
XOR
=1*SUBSTITUTE (A1+A2;2;0)
AND
=1*SUBSTITUTE (SUBSTITUTE (A1+A2;1;0);2;1)
@Stef@n - You're answer is really smart, I never knew about the substitute function before. Great Work!
Thx Michael 🙂
yes - it is simply easy 😉
if you add 1 and 1 - excel calculate 2
and then you have to substitute the 2 - new = 0 respectively 1
Here is a good resource for people wanting to learn binary and hexadecimal.
http://justwebware.com/bitwise/bitwise.html
Three that weren't asked for:
NOT
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1+A2,0,3),1,0),3,1)
EQV
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1+A2,0,3),2,3),1,0),3,1)
IMP
=SUBSTITUTE(SUBSTITUTE(A1+SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2,0,3),1,0),3,1),0,1),2,0)
(was using Daniel Ferry's bitwise file to verify against)
@ Kyle
Not only takes one parameter and inverts 0 -1 and 1-0
Took out the +A2
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,0,3),1,0),3,1)
Great solutions!
I'll add two:
NAND =1*SUBSTITUTE (A1+A2,2,0)
NOR=1*SUBSTITUTE(SUBSTITUTE (SUBSTITUTE(A1+A2,0,2),1,0),2,1)
This will work for binary numbers of any size (although the text format mask will have to have as many zeroes as there are digits in the longest addend)
Assume binary #s are in C35 & C36, then add and format as text in C37:
=TEXT(C36+C35,"000000000000")
-sum- = 101112211112
AND - SUBSTITUTE 0s for 1s in -sum-, then sub 1s for 2s
=SUBSTITUTE(SUBSTITUTE(C37,"1","0"),"2","1")
OR - sub 1s for 2s in -sum-
=SUBSTITUTE(C37,"2","1")
XOR - sub 0s for 2s in -sum-
=SUBSTITUTE(C37,"2","0")
Just wandered by:
AND:
=SUBSTITUTE(A1+A2,1,0)/2
Clever, Shane. I like that.
[…] post http://www.excelhero.com/blog/2010/01/5-and-3-is-1.html for examples using Sumproduct, and http://chandoo.org/wp/2011/07/29/bitwise-operations-in-excel/ for examples using Text […]
Hi Chandoo,
I am not (yet) really into bitwise calculation, but I am looking for a way to speed up my vba calculation with very big numbers. Would is ben convenient to use bitwise notation for this?
Best regards,
Ronald (the Netherlands)
p.s. love your country!
@Ronald
I'd suggest asking this in the Chandoo.org Forums
https://chandoo.org/forum/
Attach a sample file with an example of some data and describe what you want to achieve