Tuesday, 21 July 2015

Eight of the Worst Spreadsheet Blunders

Hello Excel-lent,

Following up on our last "Numerical Diarrhea" discussion, it is important that I share some publications with you, just to let you know how damaging a plus (+) or minus  (-) sign could be to your reports. As you read this, tens and hundreds of companies have suffered from this "Numerical Diarrhea" following wrong "simple" copy and paste errors made by employees, down to some "honest mistakes" in data manipulation. But for Fannie Mae, it resulted to a loss of $1.3Billion.

This publication is culled from http://www.cio.com/article/2438188/enterprise-software/eight-of-the-worst-spreadsheet-blunders.html

1. Fidelity's "Minus Sign Mistake"
Lesson learned: Be sure to differentiate your gains from your losses, and have another employee review the work. January 1995

"There was a big flap recently over Fidelity's Magellan fund estimating in November that they would make a $4.32/share distribution at the end of year, and then not doing so. A letter of explanation was sent to the shareholders...from J. Gary Burkhead, the President of Fidelity, including the following pertinent items: During the estimating process, a tax accountant is required to transcribe the net realized gain or loss from the fund's financial records (which were correct at all times) to a separate spreadsheet, where additional calculations are performed. The error occurred when the accountant omitted the minus sign on a net capital loss of $1.3 billion and incorrectly treated it as a net capital gain on this separate spreadsheet. This meant that the dividend estimate spreadsheet was off by $2.6 billion...

2. The $24 Million "Clerical Error" at TransAlta.
Lesson learned: Have another employee double-check the documentation. June 2003
A simple spreadsheet error cost a firm a whopping $24 million. The mistake led to TransAlta, a big Canadian power generator, buying more US power transmission hedging contracts in May at higher prices than it should have.
In a conference call, chief executive Steve Snyder said the snafu was "literally a cut-and-paste error in an Excel spreadsheet that we did not detect when we did our final sorting and ranking bids prior to submission," Reuters reports.
This looks like a career limiting move by the person who made the cock-up and the people who failed to spot it. Snyder said the company would "deal with the individuals in the appropriate fashion if there is anything found. At the end of the day it's a simple clerical error."
3. Fannie Mae Discovers $1.3 Billion "Honest" Mistake.
Lesson learned: When billions are at stake, it's best to have a financial peer review the documentation. October 2003
Fannie Mae, which finances home mortgages, stated in a news release of third-quarter financials that it had discovered a $1.136 billion error in total shareholder equity. Jayne Shontell, Fannie Mae senior vice president for investor relations, explained in a written statement, "There were honest mistakes made in a spreadsheet used in the implementation of a new accounting standard."
4. University of Toledo Loses $2.4 Million in Projected Revenue.
Lesson learned: Future-looking financial statements should have extra scrutiny and review. User training would also help prevent these formula-based errors. May 2004
Already facing significant state funding reductions for next year, UT officials have discovered an internal budgeting error that means they will have $2.4 million less to work with than anticipated. The mistake—a typo in a formula that led officials to overestimate projected revenue—was found Tuesday.... The budgeting error discovered this week was made in the institutional research office by an employee whom officials refused to identify. While official UT projections call for a 10 percent decline in graduate student enrollment, an increase mistakenly was shown in a spreadsheet formula that led officials to overestimate enrollment and therefore revenue, Mr. Decatur said.
[President Daniel] Johnson said no job action will be taken against the employee who made the mistake, who has a good performance record. Officials will, however, pursue systemic changes to provide more safeguards in the future.
"We have very competent people," Dr. Johnson said. "I do think that the continuing fiscal pressures on universities have forced us to a level of staff support where there is little or no redundance in the process."
5. RedEnvelope Skids on Loss Forecast and Budgeting Error.
Lesson learned: Quality control is king, especially when reporting to The Street. March 2005.
Shares of RedEnvelope Inc. lost more than a quarter of their value Tuesday after the company warned of a fourth-quarter loss due to weak Valentine's Day sales and a budgeting error that resulted in an overestimation of gross margins. [The company] said its chief financial officer, Eric Wong, had resigned.
"While the concurrent preannouncement and Wong's departure may suggest management believes Wong's replacement remedies the situation, we are not yet convinced the weaknesses are solely related to Wong," analyst Rebecca Jones Kujawa wrote in a research note.
News outlets reported that RedEnvelope spokeswoman Jordan Goldstein said the budgeting error was simply due to a number misrecorded in one cell of a spreadsheet that then threw off the cost forecast and was unrelated to the CFO change.
6. "Think-and-Do Tank" Flubs the Math.
Lesson learned: Have another employee double-check the work. May 2005
The Center for Regional Strategies recently confirmed that a researcher's errant cut-and-paste from a spreadsheet caused one measure of the region's level of educational attainment to appear a lot worse than it is. Specifically, in a study released in March by the Center for Regional Strategies, a self-described "think-and-do tank" housed at Virginia Tech, the center reported that a dismal 11 percent of the region's population older than 25 had bachelor's degrees or higher. That number should have been 20 percent.
"It was just a simple cut-and-paste error," said Stuart Mease, a spokesman for the Center for Regional Strategies. "I don't know how it happened, but it did. We apologize for our mistake and want to correct it."
7. Kodak Restates, Adds $9 million to Loss.
Lesson learned: Lack of data-quality controls can have a negative outcome. November 2005.
Robert Brust, Kodak's chief financial officer, said that the severance-related error stemmed from miscalculating severance pay accrued by just one employee, revealing what he called "an internal control deficiency that constitutes a material weakness that impacted the accounting for restructurings." Brust said the company expects to fix the problem by year-end.
Kodak spokesman Gerard Meuchner said the hefty $11 million severance error was traced to a faulty spreadsheet. "There were too many zeros added to the employee's accrued severance. But it was an accrual. There was never a payment," he said.
8. Westpac Jumps the Gun on Profit.
Lesson learned: You can never get enough spreadsheet and data-handling training. November 2005.
Westpac was forced to halt trading on its shares and deliver its annual profit briefing a day early after it accidentally sent its results by email to research analysts. Details of the $2.818 billion record profit result for the 12 months to September 30...were embedded in a template of last year's results and were accessible with minor manipulation of the spreadsheet. (Some news reports indicated an employee had thought that a black cell background fill would hide black text.)
Westpac CFO Philip Chronican said, "It is not just one error, it is a compounding of two or three errors.... We will obviously be conducting a full inquiry to make sure it doesn't happen again."
If you're sweating after reading this, first, take a deep breath, and second, initiate a conversation with your boss about what controls are in place to make sure these kinds of events don't happen to your company, then ask for a training.
Remain Excel-lent.
Oladapo Sorinola 
BB pin 52E9802D

07014282477, 07062932708


Friday, 17 July 2015

Do you have Numerica Diarrhea?

Dear Exce-lent,

First , let's wish ourselves a happy Eid-el-Fitr! 

If you have been close to the media space of recent, then "Numerica Diarrhea" is a word you should be familiar with by now.

Quoting from some of the media extracts on "Numerica Diarrhea",  “The allegation by Governor Adams Oshiomhole of Edo State that former Minister of Finance Dr Ngozi Okonjo-Iweala spent $1 billion out of the Excess Crude Account to fund the re-election bid of former President Jonathan is the kind of ludicrously false statement that has unfortunately become a trademark of the Governor in his public campaign of falsehood against Dr Okonjo-Iweala,” the statement said.

“The statement is just another example of the numerical diarrhea that seems to have afflicted His Excellency in recent times in his effort to damage the reputation of the former Minister.
“He has, within the last few months, asked Dr Okonjo-Iweala to explain all kinds of totally wild and unsubstantiated figures, ranging from $30 billion, $20 billion, $2.1 billion, N720 billion and now $1 billion.”

I have shared this piece not to discuss on political matters, but rather reflect on the underlying embarrassments your inconsistent data mindset can cause you. Imagine yourself, an MIS/team lead/data/transaction advisory personnel providing data information that management would take a business decision on after following your simple advice and just few moments later to discover that your figures were wrong and again wrong!
Today, people and organizations have suffered from losses arising out of human error on their use of excel rather than error from excel itself and in most of these cases, excel had been implicated. 

Risk Interest Groups have said this isn't about software defects within the applications, such as Microsoft Excel or OpenOffice. The problems associated with a spreadsheet ordinarily do not reside in the software program itself. It's those imperfect human beings who are using the applications: inputting data, copying and pasting numbers from row to row and column to column, and writing inaccurate formulae. "Research has repeatedly shown that an alarming proportion of corporate spreadsheet models are not tested to the extent necessary to support directors' fiduciary, reporting and compliance obligations," says the EuSpRIG website. 

We have all read about the Harvard economists Reinhart and Rogoff’s most famous finding that countries with a debt exceeding 90 per cent of their annual GDP experienced slower growth than their thriftier peers, being debunked by a 28-year-old student. Thomas Herndon, a graduate in the economics department at Amherst College in Massachusetts, found that they had made fundamental mathematical errors because of a botched Excel spreadsheet. More detail about this can be found here 

It would also be good to read Eight of the Worst Spreadsheet Blunders committed by humans who i will say were suffering from "Numerica Diarrhea" and see what spreadsheet typos and oversights caused them. 

I had once read a published Audited reports submitted by a topmost big 4 Nigerian Audit firm that contained the "#N/A" error boldly printed on one of the figure lines and knew the report wasn't just subjected for thorough review or was that just an oversight when it could have been suppressed by a simple "IFERROR" formula?
Whilst you think about this, i know of a truth, that all of these errors are avoidable! Excel is great as an application but are you an Excel-lent user or do you have Numerica Diarrhea?

Oladapo Sorinola 
BB pin 52E9802D

07014282477, 07062932708








Wednesday, 15 July 2015

Excel Keyboard Shortcuts, your way to better performance!

Hello Excel-lent,


Today, lets talk about Excel keyboard shortcuts as promised on Monday. As you can imagine, Excel has 100s of very useful and powerful keyboard shortcuts. Trying to learn and memorize all of them is not only futile, but also very difficult. Instead, if you focus on learning just 10 most important shortcuts, you will not only save a lot of time, but also get one step closer to Excel awesomeness. So which 10 shortcuts?

That is the tricky part. The 10 shortcuts you need depend on what do you use Excel for. For example, I use Excel primarily to analyze data & present results. So my shortcuts deal with writing faster formulas, formatting data and charts.

As a start, I suggest knowing and using these 13 shortcuts.

1. CTRL+1 - Format
Oh CTRL+1, I use this all the time, to format cells, charts, text boxes - you name it. An alternative to  CTRL+1 is ALT+O+E

2. CTRL+2 - Bold
When you press CTRL+2 on a selected cell, it darkens or "boldens" the content of the cell, which is similar to pressing CTRL+B. Try it now

3. CTRL+3 - Italics
Italicize your text with CTRL+3 which works as good as CTRL+I 

4. CTRL+F2 - Print
This combo of shortcut keys sets your document for print on Ms Excel. Imagine that your button "P" is bad and you couldn't press the normal CTRL+P which invokes your printer setup, why not press CTRL+ F2 to move on easily? 

5. CTRL+SHIFT+L - Turn on/off filters
Most of the time, I use filters to do ad-hoc analysis of my data. So, Once I set a couple of filters, If I want to revert back to full data, I find clearing each filter a pain. So I just turn-off and turn-on the filters, by pressing CTRL+SHIFT+L twice.

6. CTRL+Arrow keys - Navigate around the workbook
When it comes to dealing with data, navigate, you must. So I rely on CTRL+arrow key combinations all the time. Also, I use CTRL+SHIFT+arrow keys to select a group of cells


7. ALT+ES - Paste Special > Values
Copying and Pasting is another must if you deal with data. Often, I have to get data from other workbooks or clean the formatting of existing tables. So I use ALT+ES (press E then leave the key and press S) to paste special. Works like a charm! 

8. F4 - Change cell reference style while editing formulas
Excel runs a pretty tight mafia when it comes to cell references. You must pay it a couple of $s if you want to change the reference style from relative (A2) to absolute ($A$2). But who's got the time to carefully navigate between A and 2 and then type SHIFT+4? So I use F4 key and Excel changes the referencing style for me easily. Every man has got a price, even Excel!

9. F2 - Edit a cell
As simple as that.

10. F3 - Show Names
For simple workbooks I do not use names. But if I am making a dashboard or Excel model, I define several names and use them all the time. This is where F3 comes in handy. Just press F3, no matter where you are (formula editing, conditional formatting, data validation etc.) and you get a list of all the defined names. Pick one and press ok to add it to the formula etc. you are typing. But remember that the names would have been created ahead of time. You can do this under Formula>Name Manager as shown below;





11. CTRL+K - Add Hyperlink
Hyperlinks make your work book accessible & pretty. So I use them all the time, especially, if I have more than a couple of sheets. Select a cell or shape and press CTRL+K to launch hyperlink box. Type the destination URL or location and you are done.

12. CTRL+T - Insert Table
Ever since I learned how to use Tables feature, I have never looked back. Nowadays, anytime I need to use a bunch of data, I convert that to a table and then use. Tables are flexible, they can grow & shrink, they allow you to write readable formulas (structural references) and they are lovely. Just select any cell in a range of related data, and press CTRL+T to make it table.

13. CTRL+S - Save
There is no point making something elaborate in Excel if you forgot to save. So I press CTRL+S every now and then. You never know when BH strike! So that is all for now. Go ahead and press them shortcuts.

If you have any trouble getting these shortcuts, kindly post your comment or buzz me.

Stay awesomely Excel-lent.


Oladapo Sorinola 
BB pin 52E9802D
07014282477, 07062932708

Monday, 13 July 2015

Discover these 15 extremely powerful excel formulas and save a ton of time next time you open that spreadsheet-4

Hello Excel-lent,

Trust your weekend was good! 

First a joke. A guy calls up Microsoft help desk and says, "My computer says press any key to continue. But i can't find 'any' key on my keyboard."

Although none of our keyboards have 'any' key, they are filled with 100+ keys and when you press them right, you can zoom your way to awesomeness.

Tomorrow we'll talk about Excel keyboard shortcuts. As you can imagine, Excel has 100s of very useful and powerful keyboard shortcuts but trying to learn and memorize of all them is not only futile, but also very difficult. Instead, if you focus on learning just 10 most important shortcuts, you will not only save a lot of time, but also get one step closer to Excel awesomeness. 

Today, lets discuss about the remaining 4 of our 15 extremely powerful excel formulas..

12. Concatenate Formula

What's the use of Concatenate? What is does- adds a bunch of text to one another. 
Examples of Excel Concatenate formula:
concatenate("APC ","PDP ") = APCPDP, guess that's the name of the governing party now. Concatenate(A1,A2,A3) = adds the text values in cells A1,A2 and A3 but don't forget to activate your cell with the "=" sign first. 

13. Vlookup Formula

This formula is as important as Excel itself, it's one formula any data analyst would bless Microsoft for, for creating as it has made life interesting. It searches a list for a value you are looking for and returns a corresponding value.  
Example of Excel Vlookup formula:
vlookup("Okupe", list, 2, false) = finds where Okupe is in the list and returns the value in the 2nd column. This formula is very powerful and so we mustn't treat it as just a tissue paper. Expect more on this to ginger your data.



14. CountIf Formula

Counts of items in a list matching a condition. 
Examples of Excel Countif formula:
countif(A1:A20, 1) = counts how many cells have "1" 
countif(A1:A20, "<3") = counts how many cells have less than 3

For the records, there is a Count formula without the "if" but the "if" statement makes it conditional. Some other formulas like Sum, vlookup, hlookup, average etc lean on the "If" statement to carry out more conditional task. We will also discuss about these shortly.


15. CountIf Formula

The first time i mentioned "ABS" in a class, some Car freak guy responded with "Automatic Break System." I couldn't help but laugh, but in truth, ABS (Absolute) can help you break and manipulate any mathematical data if you use it well as it simply returns the absolute of a number.
Examples of Excel ABS formula:
ABS(-10) = return "10". Simple right? In a situation where you need to change the minus (-) sign of a data set to positive (+), you simply use ABS. 

With these, I challenge you to ABS(-your week) and have a POSITIVE and winning week ahead. 

Be Excel-lent!


Oladapo Sorinola 
BB pin 52E9802D
07014282477, 07062932708


Wednesday, 8 July 2015

Discover these 15 extremely powerful excel formulas and save a ton of time next time you open that spreadsheet-3


Hello Excel-lent,

Trust your day has been good. Please let us continue from were we stopped on Monday.  

8. Generate random number between any 2 given numbers

When you need a random number between any two numbers, try randbetween(), it is very useful in cases where you may need random numbers to simulate some behavior in your spreadsheets as shown below. If you continue pressing F9 on your worksheet, it is possible that you get 30,000.

9. What is this week’s number in the current year ?

Often you may need to find out if the current week is 25th week of this year. This is not so difficult to find as it may seem. Again, excel has the right function to do just that.  Example: Use WEEKNUM(TODAY()) will get 28 or =WEEKDAY(TODAY()) to get you 4 as the fourth day in the week. This can be used by MIS staff or key Excel users who administer reports on daily or weekly basis. i.e Stockbrokers, Insurance or Pension personnel.

10. Find out what is the date after 30 working days from today ?

Finding out a future date after 30 days from today is easy, just change the month. But what if you need to know the date thirty working days from now. Don’t use your fingers to do that counting, save them for typing a comment here and use the workday() excel function instead.  :)
Example: Use WORKDAY(TODAY(),30) tells that Wednesday, August 19, 2015 is 30 working days away from today. Try it! In the example below, the DAYS (sub of DAYS360 function) that we discussed earlier was used to get the Payment Overdue number of Days. This is a simple table you can adopt to manage just just receivables but deliverable from people as well. i.e Expect a feedback from colleagues of followups on Project Management. 



11. With so many functions, how to handle errors

Once you get to the powerful domain of excel functions to simplify your work, you are bound to have incorrect data, missing cells etc. that can make your formulas go kaput. If only there is a way to find out when a formula throws up error, you can handle it. Well, you know what, there is a way to find out if a cell has an error or a proper value. iserror() MS Excel function tells you when a cell has error.
Example: Use ISERROR(60/0) returns TRUE since 60 divided by zero throws divide by zero error.
Also try ISNA() to find out if a cell has NA error (Not applicable). Give these functions a try, simplify your work, enjoy and be Excel-lent :)

Oladapo Sorinola 
BB pin 52E9802D
07014282477, 07062932708

Monday, 6 July 2015

Discover these 15 extremely powerful excel formulas and save a ton of time next time you open that spreadsheet-2

Hello, hope you had a wonderful weekend and welcome to today's discussion. 

The news from major life-handlers and career coaches today is about the fact that the year is half spent and what have you achieved? A major career coach who i love and respect so much tagged one of his broadcast "6 months gone, 6 to go" and interpreting that in Excel's rows and columns, you can actually have a formula that will help you keep tab of the remaining days in the year without having to carry a calendar all along.


4. Days(360)

DAYS360 is our 4th formula and it calculates the number of days between two dates, based on a 360-day year. In cell A1 to C1, type the headers Today, Year-End and Left-Days and key into cells A2-B2 07/06/2015, 12/31/2015 but in cell C2, type in =DAYS360(A2,B2) which will give you 175 as shown below. Please note that the example below is in MM/DD/YYYY format, you can however change this to your preferred format by highlighting the A2-B2 and pressing ALT, O, E simultaneously, pick "Custom" and amend your date format to DD/MM/YYYY.

TODAY      YEAR-END   LEFT-DAYS
07/06/2015   12/31/2015        175

So that you don't have to change today's date everyday, you can replace the content of cell A2 with =today() and press enter. This function updates the cell with the current date any time you open the sheet. Why not try it out?

5. Find out current date, time with a snap (not snap drink please)

You have a list of customer debtors and you want to find out which ones are due for payment after today. The funny thing is you do this everyday. So instead of entering the date every single day you can use today()
Example: Use today() to get 07/06/2015 
Also try now() to get current time in date time format. Remember, you can always format these date and times to see them the way you like (for eg. July-05, July 05, 2015 instead of 07/05/2015)

6. Find out the data type of cell contents

type-formula-arguments-spreadsheetThis can be handy when you are working off the data that someone else has created. For example you may want to capitalize if the contents are text, make it 5 characters if its a number and leave it as it is otherwise for certain cell value. Type() does just that, it tells what type of data a cell is containing.
Example: Use TYPE("Obasanjo") to get 2  and TYPE("1000") to get

7. Round a number to nearest even, odd number

When you are working with data that has fractions / decimals, often you may need to find the nearest integer, even or odd number to the given decimal number. Thankfully excel has the right function for this.
Example: Use ODD(65.4) to get 67
Also try even() to nearest even number and int() to round given fraction to integer just below it.
Example: Use EVEN(62.4) to get 64
Use INT(63.99) to get 63
If you need to round off a given fraction to nearest integer you can use round(63.55,0) to get 64.
Thank you for your time and have an "Excel-lent" week ahead. 
Oladapo Sorinola
BB pin 52E9802D
07014282477, 07062932708

Discover these 15 extremely powerful excel formulas and save a ton of time next time you open that spreadsheet-1

Discover these 15 extremely powerful excel formulas and save a ton of time next time you open that spreadsheet. 

1. Change the case of cell contents – to UPPER, lower, Proper
Oga at the top wants a report of top 100 customers, thankfully you have the data, but the customer names are all in lower cases. Fret not, you can Proper Case cell contents with proper() formula.
Example: Use proper("godwin orubebe") to get Godwin Orubebe

Also try lower() and upper() as well to change excel cell value to lower and UPPER case

2. Clean up textual data with trim, remove trailing spaces
Often when you copy data from other sources, you are bound to get lots of empty spaces next to each cell value. You can clean up cell contents with trim() spreadsheet function.
Example: Use trim(" ambode lasgidi ") to get "ambode lasgidi"

3. Extract characters from left, right or center of a given text
Need the first 5 letters of that passport number or area code from that phone number? You can command excel to do that with left() function. 

Example: Use left("Hi Jonathan!",2) to get Hi
Also try right(text, no. of chars) and mid(text, start, no. of chars) to get rightmost or middle characters. 
Someone once lost her job 'cos she had a list of over 5k invitees names (all wrongly typed I.e Dapo as dApO) to format and cos of her no-no in Excel, she was retyping the names line by line which took her eternity. She lost steam + her job but Proper, lower,Upper could have earned her more respect. Aspire Excel-lence!