Get busy this weekend, with OR XOR AND [Excel Homework]

Share

Facebook
Twitter
LinkedIn

Some of you have heard my neighbor’s dog bark in a video or two that I recorded. While I was busy explaining how to do something awesome in Excel, this dog would decide to bark, adding her own two cents to the lesson. Quite a few of my VBA class students have grown used to it. So much that they complain when a lesson doesn’t have a couple of woofs. But I digress.

So coming back, one of the dogs (probably stray) has decided that she should bring her infant puppies and hide them under our terrace stair case. So, now we have 2 cute little puppies barking day long (and very late in to the night) just outside my office window. We have tried hard to get rid of them, but they somehow sneak back in and start barking or crying. So, I will be busy this weekend trying to move them out.

But that doesn’t mean, you have to live Excel-less for a few days. So I have a homework.

OR XOR AND, Get busy this weekend!

Don’t worry. I am not speaking elvish or something. OR, XOR & AND stand for bit-wise operations.

Binary?!? What binary?

As the saying goes, “There are 10 types of people in this world. Those who understand binary and those who don’t.”

If you understand the quotation, then you probably know what bit-wise operations are. If not, then I guess you were too busy during high-school math lessons.

We are pretty comfortable dealing with regular numbers, those that have base 10.

Binary numbers are in base 2. That means, everything is a zero or one. So 5 becomes 101 (that is 1x22+0x21+1x20 = 5)

So what are bit-wise operations?

Just as you have plus, minus, multiplication etc. there are few operations in binary world. See this illustration to understand what some of the basic bit-wise operations mean:

Understanding Bit-wise Operations in Excel

What is the homework then?

Very simple, assuming 2 cells A1 & A2 have binary numbers in them,

What formulas you would write to produce the AND, OR & XOR of the numbers?

Notes:

  • How would you write formulas if your numbers are less than 512?
  • How would you write if the numbers are less than 65536?
  • What would you do if the numbers are very very large?

Bitwise Operators & Bitwise Formulas in Excel - Howto

Go ahead and post your answers

This is no ordinary exercise. But probably it will be easier than getting unwanted puppies out of your house. So go ahead and give this a try. And post your answers using comments. I am waiting.

Some Tips

That is all. I wish you a pleasant weekend then. Mine is going to be noisy for sure.

Facebook
Twitter
LinkedIn

Share this tip with your colleagues

Excel and Power BI tips - Chandoo.org Newsletter

Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

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 storyFREE Excel tips book

Overall I learned a lot and I thought you did a great job of explaining how to do things. This will definitely elevate my reporting in the future.
Rebekah S
Reporting Analyst
Excel formula list - 100+ examples and howto guide for you

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

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

Advanced Pivot Table tricks

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

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.

3 Responses to “How-to create an elegant, fun & useful Excel Tracker – Step by Step Tutorial”

  1. Malani says:

    Hi Chandoo,
    I am responsible for tracking when church reports are submitted on time or not and the variations from the due date for submission.
    Here is the Scenario;
    The due date for the submission of monthly reports is on the 5th of each month. and I would like to know how many reports have been submitted on time (i.e, those that have been submitted on or before the due date) I would also want to track those reports that have been submitted after the due date has passed.
    How can I create such a tracker?

  2. Carl says:

    Hi Chandoo,
    I am a member of your excel school.
    I was trying to create SOP Tracker I follow all your steps but I keep this error below.

    The list source must be a delimited list, or a reference to a single row or cell.

    I try looking on YouTube for answer but no luck.

    can you help on this?

    thanks
    Carl.

  3. Rakesh says:

    Dear Mr. Chando,

    Rakesh, I'm working in a private company in the UAE. Recently, I'm struggling to get more details about the staff sick, annual, unpaid, and leaves. I would like to get a tracker in excel. Could you please help me in this situation?

    I also watching your videos in YouTube. i hope you can help me on this situation.

Leave a Reply