Monday, November 26, 2007

Inventory Management System

I have just created and inventory management system using Excel. In this system, there is no macro. The sytem allows users to
  1. capture the details of the proucts in and out of the store or warehouse.
  2. prepare a report that will show the quantities left over in the store by products at the end of each month.

For more details, please read Inventory Management System.

Thursday, October 18, 2007

The pains in budgeting

One of the pains in budgeting is in the consolidation of data, from departments to company level or from country level to regional level. It is a pain because people usually have to link the numbers to the consolidated worksheet. If there are only 3 to 4 files to link, it may not be so bad. Each cell would have only 4 cell references.

But imagine if you need to link 5 or more files together. You could take a lot of time, not to mentioned that there are a high chance that you might link the wrong cells together. And your user in one department may decide that the expenses should be in another row and amend the file to suit their needs and not yours. If this happens, you would start to do more checks on the file for fear that they have also done that to other rows. Or they decide to change the layout in between versions.

Some companies that sell budgeting solutions would therefore recommend that you use their solutions which will solve your problem but will set you back by hundreds of thousands of dollars. If you are in this situation, I have good news for you. By just using formulas and MSQuery (a tool given in MSOffice), you can easily consolidated the information you have into the main file even when they changes the rows in the template. There is no more fear about users changing the row layout, you need not waste any more time checking the layout and the formulas. With our proposed solution, you will be able to save time consolidating the details. What if I told you that you could even provide analysis that satisfy all your users without you have to spend hours or even days trying to prepare the report for them? If you are interested to find out how, drop us an email to keep you updated when our course is ready.

Recruitment

I met up with a potential client today and we spoke a little on recruitment. She told me, based on her past experience, it is important to respond to job applicant fast. If not, you will end up having to call identied/potential candidates only to find out that they have already find a job.

I shared with her the need to save cost in recruitment using data that exist from the previous recruitment (for the same position). I also shared with her how Excel could be used to create a form that can be used to captured data filled in by the job applicants. This will help her save the need to sieve thru the resumes and immediately go on to the selection process. Because sieving thru the resume takes time and if there are more than one position to recruit, there will not have enough time to sieve the resume for different position. And doing so means you can get your choice candidate before someone else.

And also save on advertising cost. Because if you advertise for a position and you are not able to fill it with the choice candidate, you will end up wasting advertising cost.

Thursday, June 21, 2007

Multiple Sources

It has recently occured to me that the reason why many people are still using Excel for their work despite the availability of powerful systems in their work place. It is because Excel provide a common platform for the systems to communicate with each other and the linking can be handled by any non-technical users. The interface for these system to export data in the csv and text format means Excel is able to format these files and place in an Excel worksheet. When this is done, they are able to link the files from mulitple sources together to create the report they want.

And these reports cannot be prepared during system planning stage because the need arises as the business environment changes. Or it could be due to budget constrains and/even system constrains.

Therefore, Excel comes in handy as a tool to merge the data from theses systems together.

Monday, June 18, 2007

Enter the currency symbols in a cell

You can enter the Currency symbols such as the £, ¥ or € by using the numeric keypad and ALT key.

To enter the ¥, press and hold on to the ALT key and press 0165 on the numeric keypad.
To enter the £, press and hold on to the ALT key and press 0163 on the numeric keypad.
To enter the €, press and hold on to the ALT key and press 0128 on the numeric keypad.


Note that the above method will only work with the numeric keypad (the number pad on the right side of the keyboard and the simulated number located near the right of the laptop, usually need to be activated for the laptop). It does not work with the number keys located on the top of the keyboard.

Format Numbers as Text

I just paste a list from another worksheet and found that I need a text format version of the numbers in the list. I format the cells into Text format and tried replace the numbers. I thought it would work. To my surprise, it didn't. I search and found another solution and it works. Here is how:

  1. Select the list of numbers you want to convert.
  2. Activate the Text to Column function.
  3. In the first step, select delimited.
  4. Click next until you are at the last step.
  5. Select the format as Text and click finished.
  6. The list of numbers has been converted to text format.
To do the reverse, i.e. to convert a list of text formated numbers to number format, here is how:
  1. Go to an empty cell and type in the number 1 (General format).
  2. Copy the cell.
  3. Highlight the list of text format numbers you want to convert to number format.
  4. Using Paste Special, select the option paste values and the mutiplication operations.
  5. Click OK and the list of numbers is now formated as numbers.

Monday, May 28, 2007

MSQuery

I finally found the solution to make MSQuery worked with the files in the same folder. What do I mean by that?

MSQuery is a tool that retrieve data from database, either to present the data in an Excel worksheet or to use it with Pivot Table. MSQuery is different from import file function in the way data are updated into the worksheet. Once set up, users just have to click the refresh button or even can allow automatic refresh when the fle is opened. Whereas for import file function, users have to manually activate the import function each time updated data is needed.

When using MSQuery with Excel file as a data source, the path or directory is hardcoded or fixed. This means that if the file is moved to another folder, the data source will remain at the old directory. This is no good for my consolidation as I would like to work with different versions of the data with each set stored in different folders. Therefore, I looked for a solution on the web and found that I could run a simple macro to change the data source path such that it will always refers to source files in the same folder as the consol file. No longer is there a need to change the path of the datasource when a new version is created.

Thursday, April 26, 2007

Allocation of Cost - TL project

I used to allocate cost based on revenue and number of units. This time round, I learnt something new. I can also allocate cost based on Cost of Goods Sold, COGS in short. This may be a better measure for allocation as the figures are controlled internally. The company or the department is not penalised just because they are selling the goods at a higher price. Having said that, the yard stick for cost allocation remained unchange. It has to be based on the acitivity the cost has a close relation to.

Friday, April 13, 2007

Financial Modelling Project

Currently, I just got another project in financial modelling. The company's name is TL in short. The model is pretty complex as they have a number of dimensions, Channels group, Channels, Product Group, products and not forgeting that we will always have to deal with a time period of 5 to 10 years.

In the old model built by somebody in the company, the channel and product are presented as a matrix. This takes up the 2 dimensions we all have to work with. For the years, the old model has to be presented in different tables.

And the revenue and expenses are presented in a sheet of its own. While this seems to be a good way to organise the data, it encounters problem when you have to consolidate the data from the different cuuntries into regions. The linking of the data is super complicated. In fact, after the links are established, you will start to wonder whether they are correctly linked.

In the new model, I recommend putting the channel and the product in one dimension, i.e. on the left hand side. In fact, in the new model, there are additional dimensions such as the revenue, COGS, etc also present at the side. I put everything in one worksheet but have them organised using the group and outline function in Excel. So I can collapse the details to give me a overview and it also allows me to drill into the details by clicking the numbers on the top left hand corner of the worksheet (which is automatically created by Excel when you use the group function).

To consolidate the data, I use another worksheet. I created a complicated formula that allows me to read the data from the input sheet. With this database, I can create a pivot table which can help me to analyze the numbers in 2 perspectives, by channels and by products. This is the wonder of pivot table. With that, I can show the budget numbers (group by products) to the product managers and to the channels managers group by channels. How much time would I need to do that, a few seconds. Why? Because the data has been organised in a worksheet, I just need to drag and drop the dimension accordingly. And the data worksheet can be the interface to consolidate the data into the regions, without links. Without links because i intent to use MSQuery to consol the data. The beauty of it? Excel will do the update for me automatically.

That's all for the time being.

Tuesday, April 03, 2007

Formating Pivot table items using VBA/Macro

In one of my projects, I need to format the rows in a pivot table so that I can differentiate the different values (e.g. Actual, Budget or Forecast) in a particular field (e.g Type_of_Sales) . I encountered an error when one of the values (e.g. Budget) is not available for the formatting. To resolve the problem, I have to add in a line of code to loop through the values (e.g. Actual, Budget or Forecast) in the field (e.g. Type_of_Sales). If records are found (i.e. pt_item.RecordCount <> 0), then do the formating. If recordcount returns zero, then skip formatting. The code is shown below:

For Each pt_item In .PivotTables("PivotTable1").PivotFields"Type_of_Sales").PivotItems
If pt_item = "Budget" And pt_item.RecordCount <> 0 Then 'do formatting
.PivotTables("PivotTable1").PivotSelect "Budget", xlDataAndLabel, True
Selection.Interior.ColorIndex = 36
Selection.Interior.Pattern = xlSolid
End If
If pt_item = "Fcst" And pt_item.RecordCount <> 0 Then 'do formatting
.PivotTables("PivotTable1").PivotSelect "Fcst", xlDataAndLabel, True
Selection.Interior.ColorIndex = 35
Selection.Interior.Pattern = xlSolid
End If
Next pt_item

Saturday, March 31, 2007

Excel Forms

Just Thursday, I sent out an email to my list sharing with them how to create an Excel form and save time in consolidating the results. Using the data collected, I analyse and presented how I did the analysis. I am surprised that the responses were exceptionally good with questions and people asking me how much the course course. In fact, I even get enquiries from past participants. Find out what this is all about by clicking here.

BTW, I also have a new blog called everydayExcel which I used to share about experiences in other areas. Do visit me regularly.

Wednesday, October 18, 2006

Excel Challenge

Here is an Excel Challenge I have created. Let me know how fast can you complete the task.

Thursday, October 12, 2006

How to use data validation

Data validation in Excel is used to restrict user from entering unwanted value or text into the cell.

It can also be used to create a simple dropdown box so that user can select the desired value from a list.

To know how to set up a cell with data validation, click here.

Friday, October 06, 2006

Excel for teachers

How you can use Excel is really up to your imagination. In one of my training course, somebody showed me a template which is used by their GM to monitor how well the team know about the product(s) and other key salient points necessary to carry out their responsibility. The template was very useful and I have since modified it so that it can be used to profile the class performance and make comparison between a student against the class (in the case of a school teacher) This will help to identify which topic is the class is in and also the student(s) that requires special attention. Would you like to share how you are using Excel in your profession?

Wednesday, October 04, 2006

Uses of Excel

Excel contains a lot of formulas that will help to simplify complicated calculations. By knowing these formulas, you can actually calculate depreciation in less than 5 rows. That's right less than 5 rows. I know some of you might be shock to hear that. I have spoken to many people and also know that they have been using Excel in an inefficient way. Why do I say that? Because they have been using an entire worksheet just to calculate depreciation. Isn't that a waste? Want to learn those formulas? Take a look at my website and see if you can figure out.

Tuesday, October 03, 2006

Uses of Excel

What can Excel use for? Is it only capable of storing name list? Or to perform summation or tedious calculations? That is what a lot of people thought. The truth is, Excel can do more powerful things than that. One of the interesting things that it can do very well is forms, e.g. survey forms, feedback forms, etc. We are not talking about forms with boxes but form with dropdown list, option buttons and/or with check boxes, something like the form given below:



It is useful to create forms in Excel because by putting the answers in one row through links, users just need to copy and paste the answers into a consolidated worksheet. Thus saving time on consolidation.

Sunday, September 10, 2006

Crystal Report

The first time I encountered crystal report was in the late 90s. It was very powerful in pulling out data from database servers. The activity on pulling out data from databses used to be the job of the IT department. Now, users can do it themselves. It was great because I can pull out the data as and when I needed it without the need to fill up IT request form. And I can get the data I want instantly. But after I learnt about pivot table and MS Query, I never looked back....more

Wednesday, August 30, 2006

Internal rate of return

Internal rate of return is a term used in the finance industry. The rate is derived based on the assumption that the net present value of a project is zero. At this rate (IRR), the decision to go ahead with the project is neutral. This means that the project will not add value to the portfolio, neither will it deduct any value from your existing investment. To calculate the IRR requires a financial calculator as it involves a lot of iterations to arrive at zero NPV. Alternatively, you can also use Excel to perform the calculation as a predefined worksheet formula has been developed for this purpose. Read more about how to calculate IRR using Excel here.

Monday, July 31, 2006

Net Present Value

One categories of formulas that is available in Excel is for calculating financial information. It includes Present Value, Future Value and most important of all, Net Present Value. Net Present Value is used to evaluate the viability of an investment. If the Net Present Value (NPV) is positive, it means that it is worthwhile to take up that investments. It also takes into account the risk appetite of the investor. This is achieved through the use of the discount rate. An investment can be pretty complicated to evaluate as it is likey to involve cash flows for a number of years. Also, this may include cash out flow during the terms of the investment other than that in the initial stage. To calculate NPV, we usually have to draw a time line to get a clearer picture. And Excel is one good tool that could help you draw this time line. What's more, there are formulas that are provided By Excel that will help you calculate the net present value of this investment. To find out how, click here to find out more.

Monday, July 17, 2006

What is present value and how to calculate PV in Excel

Present value is a financial term used to define the value of a certain amt of money today. The present value of $1 today is $1. It you put $100 in the bank, that $100 will become $105 in one year time at an interest rate of 5%. $105 is the FV of the $100 in the first year, i.e. Year 1. If you continue to put the money ($105) in the bank, it will earn another 5% interest. Your bank account will have $110.25. That is the future value of your $100 today in year 2. If you notice, the future value is dependent on the interest rate offered by the bank. If the interest rate is 10%, the FV of your $100 in year 2 is higher. The amount is $121($100*1.1*1.1). It is equal to your original sum of $100 plus the interest for 2 years. Don't forget that the interest you earn in the first year will also earn you interest in the second year too.

Assuming that you need to save $121 for some expenses two years from now, and you are interested to find out how much you would need to put into the bank today so that you will have $121 in the bank. As the bank is paying an interest rate of 10%, you know that you need to put in less today to obtain $121 in two years as a result of the interest your bank is paying you. That amount you are going to put in today is known as the present value and Excel is able to help you find out what is that amount with its present value formula.

Find out how with this link.