Monday, November 19, 2018

How To Scrape Data From A Website Into Power BI (AbokiFX as an example)

Power BI is an amazing tool. I have used it to create amazing auto-updating dashboards for different reporting needs. You can view a couple that I made publicly available: and

Today, however, I will be showing you how to use Power BI to scrape data from a website and create a report/dashboard from the scrapped data. I will illustrate with data on parallel market FX rates for Nigeria. Effectively, you will be creating a report like the one below:

From an empty Power BI desktop file, do Get Data and pick from Web (under Other).

Follow through with providing the URL of the website to pick data from and selecting the table of data to pull into Power BI.

Do a couple of transformation on the data (except you are very lucky that the pulled data is already in a form that suits your report).

Create the report you want and publish.

You may also want to configure a scheduled refresh to make Power BI keep pulling new data from the website everyday.

Saturday, August 25, 2018

Comprehensive Financial Modelling and Financial Planning Training

Register for the upcoming hands-on Nigerian industry relevant Financial Modelling.

Just 10 slots available!

Our lead trainer has built financial models, investment portfolio risk models, stocks analysis models, automated financial reporting templates, loan schedules, FX tracker, market indices tracker and many other financial projects for corporate clients within and outside Nigeria. He is not going to share book knowledge with you but real world expertise and templates you can readily use. He is also one of the few Africans that have been vetted and accepted as a Financial Modelling and Valuation expert on TopTal whose client base span fortune 500 companies and other big companies across Europe, Americas, Australia and Asia. You can view his TopTal profile here

He is the sole developer of the only Nigerian financial markets analysis tool on Microsoft office store, developer of Nigerian stocks analysis dashboard and the brain behind the Nigeria Market Data platform.

He has also published an Amazon bestseller on Microsoft Excel: Microsoft Excel and Business Data Analysis for The Busy Professional and another bestseller on Power BI Power BI for the Busy Professional book. He is the type of all-rounder you would want to be trained by. 

This training is aimed at making you proficient in building Financial Models and carrying out Valuation for existing businesses, startups and capital projects. You will learn to create financial models from scratch using Microsoft Excel and build one during the training on a real Nigerian company. You will also learn how to apply them in real world situations so as to help friends with their business valuations, help your company with financial planning and advise clients on equity funding. The training is strictly targeting people with accounting background and basic knowledge of corporate finance.

You will get lunch, a branded DVD with training materials and templates, training notepad with pen, hardcopy comprehensive training reference materials, a training certificate from us (a registered Microsoft Partner), access to our online community and after training support.

Our different trainings have had participants from Guinness Nigeria, Nigerian Breweries, Schlumberger, Chevron, Periscope, Brains and Hammers, GfK, Palladium Group, First Bank, Citi Bank, Dalberg, PMI, EatNGO, NLNG, GSK, Promasidor, SaveTheChildren, Mobil, FMDQ, NSE, Biofem Pharmaceuticals, Total, Vodacom, Nestle, Nigerian Breweries, Delta Afrik, LATC Marine, Broll, Habanera (JTI), SABMiller, IBM, Airtel, Diamond Bank, ECOWAS, Ministry of Finance, Transmission Company of Nigeria, Nokia Siemens Networks and DDB.

Reach Michael on 0700ANALYTICS, 0808-938-2423, 0806-312-5227 and or Hannah on 0802-118-0874 and or Emmanuel on 0908-482-5064 and to register.

Date: Monday 17th September 2018 to Wednesday 19th September 2018.
Venue: Kristina Jade Learning Center, 70b Olorunlogbon street, Off Alade Lawal street, Anthony Village, Lagos.

For Kenya, Ghana, Cameroon, Togo and Benin: Kindly contact us on +1-941-312-2149 or email for details of training date. Thanks!

The training outline is:

1) Introduction to Financial Modelling and Valuation
a. Referesher on the fundamental accounting principles
b. Building a Trial Balance
c. Building the Income Statement from the Trial Balance
d. Building the Balance Sheet Statement from the Trial Balance
e. Building the Cash Flow Statement from the Trial Balance
f. Introduction to Financial Ratios

2) Different Types of Financial Models
a. Discounted Cash Flow (DCF) Model
b. Comparative Company Analysis (comps) Model
c. Sum-of-the-parts Model
d. Leveraged Buy Out (LBO) Model
e. Merger and Acquisition (M&A) Model
f. Book value Model
g. Dividend Discount Model

3) Building a Discounted Cash Flow Model from Scratch
a. Template Building from Scratch
i. Creating the Required Sheets and Having an Index Sheet
ii. General Model Structure Design
iii. Working Across Multiple Sheets at Once
iv. Linking Sheets
v. Absolute and Relative References
vi. Template Building Tricks
b. Required Excel Tools and Formulas
i. What-If-Analysis Tools: Goal Seek, Scenario Manager and Data Table
ii. Charts
iii. PivotTable and PowerPivot
iv. Power Excel Formulas

4) DCF Modelling Stages
a. DCF Modelling Stage One: Projection Ratios and Scenarios (Optimistic, Base and Pessimistic)
i. Income Statement Drivers Projections
ii. Balance Sheet Drivers Projections
b. DCF Modelling Stage Two: Financial Statements Forecasts
i. Income Statement Forecast
ii. Balance Sheet Forecast
iii. Cashflow Statement Forecast
c. DCF Modelling Stage Three: Valuation
i. Enterprise Value = Discounted Cashflow of Explicit Forecast Period + Discounted Terminal Value
ii. Calculation of WACC, CAPM and Cost of Debt
iii. Practical Reality of the Nigerian Economic Space
iv. Extracting The Equity Value from The Enterprise Value
v. Senitivity Analysis: WACC vs Perpetuity growth
d. Practical Use of The Results
i. Company Valaution: Sell-side, Buy-side and Advisory
ii. Business Unit or Subsidiary Valuation
iii. Capital Project Valuation

5) Financial Ratios
a. Liquidity Ratios
b. Asset Management Ratios
c. Leverage Ratios
d. Profitability Ratios
e. Valuation Ratios
f. Financial Project Planning Excel formulas

Reach Michael on 0700ANALYTICS, 0808-938-2423, 0806-312-5227 and or Hannah on 0802-118-0874 and or Emmanuel on 0908-482-5064 and to register.

Monday, August 20, 2018

Industry First (from UrBizEdge): Data Analysis As A Service. You’ll Love It!

We recently came up with this innovative solution for busy professionals. It is an industry first: DaaS. Data Analysis As A Service. A subscription based service. In fact, I'll share with you the very announcement letter/email I sent out to our customers/leads.

Make us your secret weapon!

Have you ever experienced the analyst's block (kinda like writer's block, when you just don't know how to make the report you want)?

Have you ever felt your report could be better?

Have you ever felt like you were not making the most of the data at your disposal? Like there is more you could be uncovering and tracking and reporting?

Have you ever felt you need experts you can call on any day and at any time but won't cost you an arm and leg?

Okay, maybe I lied about the not costing you an arm and leg. The good thing is that we have structured it flexibly so you can always get more value than the cost.

We have created an industry first: DaaS (Data Analysis as a Service).

Maybe you have tried training. Perhaps you have attended our in-depth high value training class. You have our video learning materials, our book and our practice files. We hope you remember everything we taught you. However, things are changing. You are changing. Your work is changing. The industry is changing. Excel is changing. Power BI is changing. Everything is changing. You already have a demanding job and can't be spending all day keeping abreast of what's new and applicable to you as regards making the most of your data and reports. We are offering to be your secret weapon.

So what's the DaaS structured as?

It is simple and straightforward as ABC.

A. You can reach us remotely (calls, Skype, emails, SMS etc) and at our office (70b Olorunlogbon street, after Banex hotel, Anthony Village, Lagos) for targeted help with your office work. Note: we won't come to your office or house.
B. There is fair usage policy (FUP). So you have to book not less than 24hrs prior and you are entitled to 24hrs/month (which is equivalent to 3 full days) consulting time (both remote and physical). Any length of time above that will attract some extra small charge/fee.
C. You have a dedicated resource (more like technical account manager). It is not Michael. He/she is your primary contact, handles all your work requests, communication, meetings and projects. There is a pool of internal resources (Michael inclusive) he/she will draw on, as appropriate, to satisfy all your relevant needs. We have full-time data analysts that are already handling consulting projects and training, so just as skilled as Michael and they are the ones designated as technical account managers.

So how much does this cost?

That's the best part: there are four flexi plans.
  1. N45,000/month. You can cancel anytime and restart anytime (no refunds, when you cancel it means you just don't pay when your subscription elapses).
  2. N90,000/quarter
  3. N150,000/half-year
  4. N200,000/year
And it's not negotiable. Why that funny pricing structure? That is the result of our own in-house data analytics on the pricing.

We already bill N100,000/day for one-on-one consulting (corporate clients rate is N250,000/day) and even when we are overpowered by the superior negotiating tactics of some of you, we only go as low as N70,000/day for individuals. And that is 8 hrs at a go which is never as effective as two separate 4 hrs, and way less than the 24 hrs spreadable over an entire month that we are offering you at N45,000/month and even less than N19,000/month when you take the year option.

We can only service 10 people at the same time. So if you need our service but delay too much, you will have to wait for an open slot if all 10 slots are taken. And just as we can't review the price downwards, so also will we not accept you doubling the fee so we can take you up.

What do you think?

If interested, get in touch as soon as you can and we will get in touch with you. Reach Michael on 0700ANALYTICS, 0808-938-2423, 0806-312-5227 and or Hannah on 0802-118-0874 and or Emmanuel on 0908-482-5064 and

Again, welcome to the world of DaaS!

To your Excel-ling!
Michael Olafusi

P.S. We have now fully launched our open class Financial Modelling and Financial Planning course, you can read up on the details and registration steps at We've spent three years perfecting the curriculum via doing on-request financial modelling training for companies, and building models for both foreign and local clients.

Tuesday, July 31, 2018

Join Us: Nigerian Excel Users 2018 Meetup on 1st September, 2018

Last year, we had a great time rubbing minds on the amazing things one could do with Microsoft Excel and had a presentation on other data analytics platforms. There were participants from all over Nigeria and the community has kept growing strong and sharing career growing knowledge.

This year, there will be a similar meetup/conference and you can RSVP at

Below is the agenda:

Nigerian Excel Users 2018 Meetup
The Zone Tech Park, Plot 9 Gbagada Industrial Scheme, UPS b/stop, Gbagada - Oshodi Expressway, Lagos.
1st September, 2018 (10:00am to 3:30pm)

Start Time: 10:00am

1) Introduction and networking (25 mins)

2) General Discussions pt 1(Your Excel Journey, career advantage, Excel pet peeves, ideas, the esoteric, 40 mins)

3) Presentation 1 (25 mins) + Q & A (10 mins)

4) Presentation 2 (25 mins) + Q & A (10 mins)

5) Break (10 mins)

6) Presentation 3 (25 mins) + Q & A (10 mins)

7) Presentation 4 (25 mins) Q & A (10 mins)

8) Break (10 mins)

9) Presentation 5 (25 mins) Q & A (10 mins)

10) Presentation 6 (25 mins) Q & A (10 mins)

11) General Discussions pt 2 (Your Excel Journey, career advantage, Excel pet peeves, ideas, the esoteric, 30 mins)

12) Close (5 mins)

End Time: 3:30pm (Networking continues)

There will be drinks and snacks.

Also, if you are interested in making a presentation, then you can fill the following Google form (link here)

Monday, July 16, 2018

SUMIF, SUMIFS, COUNTIF and COUNTIFS For Multiple Values of Interest At Once

In case you are not too familiar with SUMIF, SUMIFS, COUNTIF and COUNTIFS, they are a group of formula used to sum or count records that meet a specified criterion. 

Below are some easy to follow examples to help you fully grasp them. You can download the practice file here: 

I have a transaction database for a pizza restaurant and I am interested in total sales for Hot Veggie. With SUMIF I can get that done easily.

=SUMIF(B:B,"Hot Veggie",E:E)

What if we also want to consider other conditions beyond just the name of the pizza sold, say we want to find the sales amount for all the Hot Veggie sold after 8:30 am? 

That is what SUMIFS is for; it is the plural form of SUMIF, allowing you to chain as many conditions as you want.

=SUMIFS(E:E,B:B,"Hot Veggie",F:F,">8:30")

Maybe I am just interested in the number of transactions that are for Hot Veggie. Again, very easy. We just use COUNTIF.

=COUNTIF(B:B,"Hot Veggie")

How about count of transactions for Hot Veggie that happened after 8:30?

=COUNTIFS(B:B,"Hot Veggie",F:F,">8:30")

Now to the very interesting parts. What if I am interested in not just Hot Veggie, but also Meatzaa, Italiano and BBQ Chicken?

Q: Sum all the sales for Meatzaa, Hot Veggie, Italiano and BBQ Chicken
A: =SUM(SUMIF(B:B,{"Meatzaa","Hot Veggie","Italiano","BBQ Chicken"},E:E))

You might wonder why the {..} wrapping the list of pizzas. It is how Excel allows you to specify an array (a list, like we've done). Also, you might wonder why the SUM(...) around the SUMIF formula. It is what allows Excel to sum up all the different answers for each pizza type. See what I mean from the partially calculated formula screenshot below.

And you can use this same pattern for SUMIFS, COUNTIF and COUNTIFS.

Q: Sum all the sales for Meatzaa, Hot Veggie, Italiano and BBQ Chicken after 8:30 am
A: =SUM(SUMIFS(E:E,B:B,{"Meatzaa","Hot Veggie","Italiano","BBQ Chicken"},F:F,">8:30"))

Q: Count of all the transactions for Meatzaa, Hot Veggie, Italiano and BBQ Chicken
A: =SUM(COUNTIF(B:B,{"Meatzaa","Hot Veggie","Italiano","BBQ Chicken"}))

Q: Count of all the transactions for Meatzaa, Hot Veggie, Italiano and BBQ Chicken after 8:30 am
A: =SUM(COUNTIFS(B:B,{"Meatzaa","Hot Veggie","Italiano","BBQ Chicken"},F:F,">8:30"))

For more of these types of very useful tutorials you can check out and subscribe to my YouTube channel

Tuesday, July 10, 2018

Sales Forecasting Tools In Microsoft Excel


During our monthly training classes, I notice a strong interest in being able to make sales and transactions forecast by participants from retail industry and financial institutions. Their face lit up when I tell them that there are a couple of forecast tools in Microsoft Excel they can make good use of.

In today's post, I will be walking you through those forecast tools with a focus on using them to make sales forecast.

1. Forecast Sheet 

People are usually surprised when I show them this tool. It is one of the tools added to Excel 2016 and Office 365, and you will find it under Data menu. With it you can make very useful time series forecasts that takes into consideration trend and seasonality in your data.

Let's say you work for Cadbury and would like to forecast sales for the ever yummy Bournvita beverage; it is common sense to factor in the reality that sales always spike in some specific months of the year (Christmas hampers period etc.). That is what is beautifully handled by the seasonality component of the forecast sheet tool. And there is also trend (are sales generally trending upwards or downwards). What I most like about it is the flexibility Microsoft put into it: you can handle missing records, set confidence interval, and even let it automatically detect the seasonality.

2. Moving Average

This is the most common forecasting method I see business people use. Any time you are projecting the average growth for the last couple of months or years forward, you are doing plain vanilla Moving Average. Then whenever you take that average and add a magic number to it (like we do in coming up with optimistic case and pessimistic case in most financial modelling), you are still doing Moving Average -- the strawberry and lemon flavoured version of it. And whenever management says they want to double growth rate year on year for the next three years; that, again, is Moving Average.

So how do you do it in Microsoft Excel? If you are okay with typing a simple formula in Excel, then just doing =AVERAGE(last x periods) gets you there.

However, if you are not on friendly terms with Excel formulas, you can take advantage of Moving Average in Excel Data Analysis Toolpak.

Just remember to first activate Data Analysis Toolpak from File >> Options >> Add-ins >> Manage Excel Add-ins 

3. Regression

Let's say you work for Julius Berger Construction company. The company revenue depends on Federal Government budget, GDP growth rate, number of meetings with potential clients, which party is in power, PMI and FDI. Perhaps way more than which month of the year we are in or the previous years revenue. Then it would make better sense to do a forecast model that combines all those factors and give you some sense of what type of revenue figure to expect this year. And more importantly, show you which factors strongly influence your revenue and which are not very important, plus how much you need to do as regards the factors under your control in order to achieve a specific desired revenue goal. 

That forecast model is regression.

It requires a fairly good deal of statistics knowledge but is well worth the work. And Excel has a tool that takes away most of the computational headache. You just do a couple of clicks and read a blog post on how to interpret + use the regression tool results.

You'll find it under the Data Analysis Toolpak I earlier showed you how to activate.

And these are the common sales forecasting tools you should be conversant with in Microsoft Excel. If you look through the Data Analysis Toolpak, you'll find a couple more.

If you enjoyed this and would like to learn more useful analysis tools, you absolutely should subscribe to my YouTube channel and go through my humour filled tutorial video collections. :)

Monday, July 9, 2018

The Practical Value, In Life And Work, Of Knowing Microsoft Excel Enough To Do You Own Templates And Analysis

People are surprised when I tell them that my first (and only) degree is in Electrical and Electronics Engineering. And unlike many people, I had the chance to go back to the core Engineering role I studied for but I didn't, only asked my boss to keep the offer open in case I get bored with Microsoft Excel. Now I make my full-time living from Microsoft Excel.

So what are the practical value you get from being good at using Microsoft Excel?

Let's start with in general life, outside of work. Especially for people whose work won't need them using Microsoft Excel.

1. Non-work Use
What do you think I and many other people use for their personal finance planning and investment analysis? Well, it is Microsoft Excel. Even when you buy a personal finance book and additional resources are given you for practical application of what the book is teaching you, those resources often include Microsoft Excel templates.

What do you think people use to track the performance of their side business? Actually, people use all kinds of things to track their side hustle -- from paper + biro, word of mouth, intuition, Microsoft Excel, to sophisticated apps/software. Hope you noticed Microsoft Excel in the list. If you don't have money for sophisticated apps/software and don't want to use paper + pen, Microsoft Excel is more than enough.

What do people use to plan major events and major projects expenses? Microsoft Excel.

Having a good grasp of Microsoft Excel can make many tedious non-work (or even non-data related work) activities a breeze. Imagine an IT guy needing to create email accounts for 120 newly employed staff. With Excel, all he needs to do to reduce the number of keystrokes significantly is to copy their first name and last name into Excel in separate columns, then CONCATENATE (and LEFT if the company uses initials in the email format). 

There are many non-Excel and non-work related stuff I have used Excel for and see others use Excel for. One example I even created a template around for people not Excel savvy is the need to send bulk SMS to dozens or hundreds of people and not wanting to spend an hour on arranging the numbers in the format most bulk SMS platforms require. Another is sending personalized email to your group or community members without doing it one by one or using an email marketing app.

The knowledge of Excel is as good and versatile as the knowledge of basic mathematics. You will always find situations where it will save you time and even prevent you from making wrong decisions.

2. Work Use
The moment you aspire to be part of management, to rise to the level of a CEO or CMO or CFO or COO or CIO or CTO, that moment is your clue to knowing that you can't escape the use of Microsoft Excel in your career. At that top, everything falls on data-driven strategy. You can't sweet talk your fellow CxO and board into doing something you haven't done the Excel analysis around.

I constantly come across people who have risen in their career, following a very technical path, and then suddenly they are part of management or need to work very closely with management, and find that their low competence in using Excel and carrying out data-driven analysis is an embarrassing weakness.

Then there are programmers who just love to hate Excel. They represent a category of people who would like to use something complicated for everything. Then they start having issues with managers who want some type of reports that are best made in Excel. Occasionally, I see them spend time coding a program to do something one off, something very easy and fast to do in Excel. They still don't see the value of Excel until I do it for them in Excel and they go WOW! 

Lastly, if you are a sales analyst or finance manager or accountant or project manager or marketing manager or operations manager or human resource manger and you are not very proficient in the use of Microsoft Excel you might be jeopardizing your productivity. You are supposed to focus more on high level strategy and guiding the management than fighting with data. Being very good with Excel will mean more insightful reports, fast comprehensive analysis, better chart-backed presentations and better decision making based on data. 

If you feel convinced enough to want to up your Excel competence, you can take advantage of my company's free training resources or even take my Udemy course with a certificate for free using this coupon link (just 96 coupons available via that link).

All the best!