Best of Chandoo.org – 2012

Share

Facebook
Twitter
LinkedIn

This year has been the busiest year since the inception of Chandoo.org. We had 161 posts, 8,900+ comments, 33,500+ forum posts. We have trained more than 2,500 students thru training programs like Excel School & VBA Classes this year alone.

More than 6.5 million people visited our site this year (up 82%),  consuming a whopping total of 17.8 million pages (up 69%). Each of these visitors spent an average of 2min 15 seconds on our site becoming awesome in Excel. There are 1.6 mn people who spend at least 15 minutes or more on our site.

We have also added 20,000 members to our newsletter / RSS readership this year, closing at 55,000 mark by end of 2012. It has been a hectic year.

Best of Chandoo.org - best articles, tips & pages - 2012

Top 10 posts written in 2012

Speeding up Excel – 75 tips [Visitors: 36,157 ]
Using Excel as your database [ 32,455 ]
Comprehensive guide to VLOOKUP [ 23,745 ]
66 Dashboards visualizing Excel salary survey data [ 26,148 ]
Interactive Sales chart in Excel [ 21,444 ]
Compare 2 Excel sheets – howto? [ 21,820 ]
Send mails using Excel VBA & Outlook [ 22,294 ]
Customer Service Dashboard in Excel [ 18,136 ]
Making your dashboards interactive [ 15,294 ]
Extract numbers from text in Excel [ 18,490 ]

Honorable mentions

Formula Forensics – the series [ 75,000+ ]
12 ways to learn Excel [ 17,242 ]
Consolidate data from different Excel files using VBA [ 16,637 ]
Optimizing & speeding up Excel formulas [ 14,291 ]

 

Top 10 pages on Chandoo.org in 2012

Chandoo.org main page [Visitors: 500,833 ]
Excel Pivot Tables – Tutorial [ 422,298 ]
Excel Dashboards [ 311,199 ]
Excel Templates [ 304,777 ]
Project Management using Excel [ 196,489 ]
Gantt Chart Template [ 209,660 ]
Chandoo.org Forums Main Page [ 101,907 ]
Excel Quotation Template [ 158,482 ]
How to delete blank rows in Excel? [ 176,659 ]
Excel School page [ 154,175 ]

Honorable mentions

Project Management Templates in Excel [ 136,957 ]
Project Status Dashboard [ 113,127 ]
Excel Formulas not working…? [ 148,756 ]
Between formula in Excel [ 140,858 ]
VLOOKUP formula in Excel [ 135,220 ]

My personal favorites – top 3

While the above pages are what scored most attention and visits, I have immensely enjoyed writing below 3 articles.

  1. Usain Bolt vs. rest – Visualization
  2. Interactive pivot table calendar
  3. Analyzing 20,000 comments

Key trends this year

This year, I have spent quite a bit of time spreading Chandoo.org message in by conducting reader meets & live trainings. We have also emphasized on below areas,

Which posts did you enjoy most this year?

I hope you had a busy and fruitful year. Go ahead and tell us which posts, tips & articles you enjoyed most in 2012 using comments. And oh yea, wishing you a happy new year!

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.

6 Responses to “Make VBA String Comparisons Case In-sensitive [Quick Tip]”

  1. Rick Rothstein (MVP - Excel) says:

    Another way to test if Target.Value equal a string constant without regard to letter casing is to use the StrCmp function...

    If StrComp("yes", Target.Value, vbTextCompare) = 0 Then
    ' Do something
    End If

    • Fares Al-Dhabbi says:

      That's a cool way to compare. i just converted my values to strings and used the above code to compare. worked nicely

      Thanks!

  2. Tim says:

    In case that option just needs to be used for a single comparison, you could use

    If InStr(1, "yes", Target.Value, vbTextCompare) Then
    'do something
    End If

    as well.

  3. Luke M says:

    Nice tip, thanks! I never even thought to think there might be an easier way.

  4. Cyril Z. says:

    Regarding Chronology of VB in general, the Option Compare pragma appears at the very beginning of VB, way before classes and objects arrive (with VB6 - around 2000).

    Today StrComp() and InStr() function offers a more local way to compare, fully object, thus more consistent with object programming (even if VB is still interpreted).

    My only question here is : "what if you want to binary compare locally with re-entering functions or concurrency (with events) ?". This will lead to a real nightmare and probably a big nasty mess to debug.

    By the way, congrats for you Millions/month visits 🙂

  5. Bhavik says:

    This is nice article.
    I used these examples to help my understanding. Even Instr is similar to Find but it can be case sensitive and also case insensitive.
    Hope the examples below help.

    Public Sub CaseSensitive2()

    If InStr(1, "Look in this string", "look", vbBinaryCompare) = 0 Then
    MsgBox "woops, no match"
    Else
    MsgBox "at least one match"
    End If

    End Sub

    Public Sub CaseSensitive()

    If InStr("Look in this string", "look") = 0 Then
    MsgBox "woops, no match"
    Else
    MsgBox "at least one match"
    End If

    End Sub
    Public Sub NotCaseSensitive()
    'doing alot of case insensitive searching and whatnot, you can put Option Compare Text
    If InStr(1, "Look in this string", "look", vbTextCompare) = 0 Then
    MsgBox "woops, no match"
    Else
    MsgBox "at least one match"
    End If

    End Sub

Leave a Reply