I had a query on my sumproduct tutorial that was effectively asking if I could work backwards from an excel crosstab or data table to get back to the simple flat list.
Converting a table like this:
Back to the data sheet like this:
If you didn’t have to do this sort of task very often you...
Read more »
Posts Tagged ‘ excel ’
Excel CrossTab Table to Flat List
Macros to Consolidate Worksheets
I’ve got a spreadsheet with tabs for each individual directorate. Within the tabs are tables with the same layout but different sizes (number of rows).
I want to group together all the used data on each tab and create a single consolidated sheet of continuous data.
Obviously I need a macro to copy and paste my...
Read more »
Vlookup Errors – The Third Way
I’ve just published a post detailing a method of removing the errors returned by vlookup or hlookup utilising conditional formatting.
I had previously been using the double vlookup method to replace errors with blanks or zeros but then discovered that these excessive lookup functions had a tendency to bloat my spreadsheets.
While the conditional format method...
Read more »
Spreadsheet Efficiency: VLookup and Conditional Formatting to Remove Errors
I’ve started working at a new hospital and it seems to be plagued by unwieldy spreadsheets that have a tendency to crawl through saves and then sometimes refuse to open. They are riddled with links and lookups to external spreadsheets and the whole thing feels fairly precarious.
I’ve been reading a bit about good spreadsheet...
Read more »
Adding an Image to the Header or Footer of Every Sheet
From Excel 2002 onwards you can enter an image, probably a logo, into the header or footer of your worksheet. This code enables you to create a macro that will automate the addition of the logo to every sheet in your workbook.
Sub MultipleHeader()
‘created 10/01/2008 by Angela Wolff
Application.ScreenUpdating = False ‘ stops the flashing
...
Read more »
Scroll Bar Chart
This is a very neat advanced Microsoft Excel technique that enables the spreadsheet user to alter the visible range displayed. This can be achieved by defining the start point within the spreadsheet data series and also the number of data points to display in the Excel spreadsheet chart.
All the examples are available to examine...
Read more »
Dynamic Chart
This Microsoft Excel tutorial, shows an example of how to create a dynamic chart by moving the charting range as data is added to the spreadsheet.
Here we start with monthly data for Retailer A, showing Petcare sales complete up to July.
A standard Excel line chart of this data would be shown thus:
To reduce the...
Read more »
Sumproduct
All the worksheets (and some extras) shown in the microsoft excel tutorial below are included in the example spreadsheet, available to download Sumproduct.xls
This is quite a special excel spreadsheet function but the online help available from microsoft is unfortunately pretty poor.
It works as an advanced form of the SUMIF formula where you can sum...
Read more »
Named Ranges and the SUMIF Function
Named ranges are useful in Excel as their use can make formulas much more understandable. You can name:
areas of the spreadsheet, such as your data
columns and rows
or individual cells that may act as constants, for example the VAT value
I’ve used the following named ranges in the SUMIF example below:
As usual with Excel, there are...
Read more »
Sub Totals and Pivot Table Reports
Removing sub totals from pivot table reports
When you add detail to pivot table rows, Excel will automatically add a subtotal row. This can very quickly litter your pivot table with nnecessary detail.
I remove the unwanted subtotals by right clicking on one of the totals and selecting “Hide”.
Adding sub totals to pivot table reports
Having removed...
Read more »










