
Last week I announced Reader Awesomeness Week to celebrate the passion, attitude and knowledge of our little community here. I got 9 interesting and beautiful entries from our readers. In this post you can see 9 tips & downloads submitted by our readers. Click on the below links to jump any one or read all of them.
- VLOOKUP to the left – using OFFSET and MATCH by Michael Pennington
- FREE Ebook on Making Better Charts by Vivek Singh
- Remove Blanks using this Macro by Arti A
- Dynamic Charts using OFFSET Formula by Jon
- Format Filter Alternative for Excel 2003 by Lucasini
- FREE Project Plan, Dashboard Template by Cyril ZEKSER
- Show Dynamic Messages based on Select Cells (Macro) by Tom
- Create Maps with Excel & Google Earth by Drew Kesler
- PowerPoint Dashboards by Erin
plus, these 3 were already shared with you last week.
- Immigrants in Denmark – Excel Info-graphic by Faheem
- Travel Site Dashboard – Review & Download by Francis
- 12 Rules for Making Better Spreadsheets by Larry
VLOOKUP to the left – using OFFSET and MATCH
by Michael Pennington
It is really just a tip that I picked up somewhere in the last few years and I use it all the time to do Vlookups that can go to the left instead of just the right. Simply an offset and match combined for the purposes of replicating a left looking vlookup. I used a nice add in to create sample data and linked to the add in within my workbook. I find myself using this instead of always reworking data sets that I receive. Feel free to use the workbook however you want, if you want to present it in another fashion or know a better way, I look forward to your input. Thanks for running such a brilliant blog.
Download Links:
Related Info:
FREE Ebook on Making Better Charts
by Vivek Singh [URL]
Creating charts in excel is a skill but presenting it is also a skill. A lot of hard work that goes into making a chart will get wasted if your chart looks bad or confuses others. I have written a small e-book which can help a lot of people make the most of charts they have prepared. It contains 14 tips explained in simple language.
Download Links:
making-better-charts-14-tips-ebook | Mirror Download Link
Related Info:
Select right chart based on your data | Chandoo.org Charting Pages
Remove Blanks using this Macro
by Arti A
If you are into data crunching the way I am, you are probably running queries on databases and copy-pasting the results back into your spreadsheet. The annoying part is when there are blank spaces in a table, making it difficult to use the ctrl+up/down shortcuts to get around the table or ctrl+shift+up/down to make selections. Here’s a simple macro to take care of it. All you have to do is this, 1) Insert a new module in your Personal.xlsb file and copy-paste the macro below 2) Select several rows/columns of data containing a few blank cells 3) On your keyboard, press the following key combination – “Ctrl+Shift+E’. The blank cells in your selection should now contain zeros. Note: You can replace the blank cells with any character you want, for example a “N/A” or “-” for text-heavy tables.
Sub ReplaceZeros()
' ReplaceZeros Macro
' Keyboard Shortcut: Ctrl+Shift+E
With Selection.Cells
.SpecialCells(xlCellTypeBlanks) = 0
End With
End Sub
Related Info:
Dynamic Charts using OFFSET Formula
by Jon
We have a large group of people that we collate information around and run numerous graphs on. It was once “death by graphs” until=OFFSET(Data!C5,VLOOKUP($B$2,$A$63:$B$67,2,FALSE),’Graph Data’!$A$1)Where the vlookup looks at a table that gives exact number of rows to move down based on the selection. Result, graph is now interactive and the big cheese’s only see what they want.
Related Info:
Format Filter Alternative for Excel 2003
by Lucasini [URL]
Format Filter Technique without VBA – All Excel versions!!!!
Who said that you can’t color filter in Excel 2003 without using VBA???? In fact, you can do more than that; you can filter by font format, number format, border type, fill color, and so on with the Search and Replace Format Filter Technique. This is a fairly simple operation that can save you hours of work.
How it works? –Simple, just make a copy of the column that you want to format filter and paste it as an additional column in your data. Then, select the new column and do a Search and Replace with the Format Options activated. Type the text you want to search (special search characters allowed “?” “*”), select the format of the cell you want to search (all cell format attributes are supported) and replace the contents with some text that Excel can actually filter with the autofilter feature. Next, select autofilter and filter by that column using the replaced text.
Wow!!! A Format Filter Technique without VBA for ALL Excel versions with all cell format attributes available.Using this approach you have all the cell format parameters to play with, border styles, font styles, number styles, cell colors, even alignment and protection options.
Hope this helps you, greetings from Panamá.
SE HABLA ESPAÑOL!!! Y EXCEL TAMBIÉN!!!!
Download Links:
word doc with screenshots of this technique
Related Info:
FREE Project Plan, Dashboard Template
by Cyril ZEKSER
Here is my submission. This is a Gantt Tasks planner, including tracking of days spent on tasks.
I use it on my everyday job, and I build it using a lot of your techniques as well as Fernando’s (for the gantt planning)… So many thanks for this (end of compliments)It comes with a Dashboard, a Tasks tab and a remaining tab. All others tabs are either calculations or not really used. To use It you have to follow the steps:
Initialization and planning :
1. Fill the tab TASKS.(lines 1 to 23) – Enter the description and the targets (lots, versions…) in the orange cells – Enter the milestones and the versions.
2. Enter the tasks. (lines below 25). – fill field from column A to O. – fill header manually on line 25 from column P (be sure to match start date of project in I3) – Only DEV tasks are tracked in the burn down chart – add a number in column A only if you wish to follow the task in the dashboard.
3. Fill the theoretical production capacity of the team in tab CALCULOUS, line 10, from column C, in days. This is the reference of the burn down
DURING PROJECT :
4. In the dashboard, enter the reference date (mostly CTRL+; )
5. Enter the days spent on each task in the appropriate column of tab TASKS
6. If a task is done before the normal day, or need more days, adjust remaining of this task on Tab REMAININGS
7. Follow the dashboard.If you need any information, don’t hesitate to drop me a line.
PS : works only in 2007+ macros. Lots of conditional formats.
Download Links:
project-plan-and-dashboard.xlsm
Related Info:
FREE Gantt Chart Template | Excel Project Management – Information & Resources
Show Dynamic Messages based on Select Cells (Macro)
by Tom
My tip is a “tip”-sheet. Based on the selected cell some help is offered to the user. In a way a more flexible way than the classic ‘input message’ in the data validation option of excel.
Download Links:
Create Maps with Excel & Google Earth
by Drew Kesler [URL]
Excel has allowed me to create powerful maps which make my analysis much more visual and user-friendly for upper management. When I first began using Excel for mapping, I was skeptical, as I thought the value of a map was just a pushpin in a wall. But by creating some tools to convert spreadsheet data into Google Earth maps, I began to see how powerful this analysis can be.As you can see in my workbook, Excel allows me to categorize my locations by certain characteristics. In my workbook, I have categorized In-N-Out Burger locations by year-over-year sales. I can categorize these locations into different folders so that I can narrow my view to “only locations with a year-over-year increase between 0 and 10 percent.”I can also assign my locations to different color icons. In my workbook, I assigned the In-N-Out Burger locations with Red, Orange, Yellow, and Green, according to their year-over-year sales results. When looking at my map, it is simple to pick out the high performing locations vs. other sites.The last way I have used Excel in creating this visual analysis is to embed my data into the map. In Google Earth, when you click on a location, a bubble will appear. You can embed any data you like into this bubble. So, I can not only embed the address information, but I can also add location-specific phone numbers, hours, or any other data points I have, such as sales. You can see that I have embedded all this data into my map using Excel.
In building this map, I have used a few key functions in Excel:VLookup, Concatenating or Joining Cells, If-Then Statements
Thanks to a respected William H. Gates for transforming our world with Excel! Once the Excel Template Gizmo is complete, you can upload it at TotallyAwesomeMapping.com to create your map.
Download Links:
excel-map-creation-template | upload map here
Related Info:
PowerPoint Dashboards
by Erin
Here are two PPT presentations I’ve setup as shows so that when a user clicks on the files it opens them up in full screen format. The charts are somewhat old and are kind of lame, but I haven’t seen anything on your site re: this technique for dashboarding.
The less elaborate show I created from scratch, the more elaborate one I used a template from DDMat (I think) and just modified it with some additional animation, slides, etc.
Download Links:
powerpoint-dashboard-1 | powerpoint-dashboard-2
Related Info:
Thanks Everyone
Thank you each and everyone of you for making this a success. I have learned a great deal of excel and charting stuff over the last week and I am sure you too would have benefited some. Please drop a note of thank you if you have enjoyed any of these tips.














23 Responses to “Displaying Text Values in Pivot Tables without VBA”
Its possible to display up to 4 text values.
Have a look at the screen shot of an example that I had posted way back at the EHA and figure out how its done !
http://tinypic.com/r/muzywk/6
With Excel 2010 you can use Conditional Formatting to apply custom number formats which can display text. (In older versions you can only modify text color and cell background color, but not number formats.) Using CF allows for an even larger number of different display values.
[...] Display text values in Pivot Tables without VBA [...]
Hey,
Thanks, this helps. But how do you do it for multiple values where there is a huge amount of non repeating text?
@Soumya
The only way to do more than 4 values is to make the Pivot Table manually with formulas, of course then it isn't a Pivot table
You can of course do it with VBA
You may want to have a look at this description of how to do it here: http://www.clearlyandsimply.com/clearly_and_simply/2011/06/emulate-excel-pivot-tables-with-texts-in-the-value-area-using-vba.html
@Soumya
The only way to do more than 4 values is to make the Pivot Table manually with formulas, of course then it isn’t a Pivot table
You can of course do it with VBA
You may want to have a look at this description of how to do it here: http://www.clearlyandsimply.com/clearly_and_simply/2011/06/emulate-excel-pivot-tables-with-texts-in-the-value-area-using-vba.html
[...] Pivot Tables take tables of data and allow the user to summarise and consolidate the data at the same time. This is a great and very fast method of analysis but is restricted to handling mathematical functions on the value field resulting in numerical summaries. – read more [...]
[…] Read more here: Displaying Text Values in Pivot Tables without VBA […]
There is a very good way actually for handling text inside values area.
First you create a special column on the very left side and call it ID, and put unique ID (numbers only), and then create a pivot table with:
Row Labels and Column labels as you like, and in the Values labels use the unique ID number.
Move the unique ID number (copy paste) somewhere to the right and use vlookup to load the data you need using the ID as reference.
It is a bit longer way but for me it works perfectly to combine values as you like in any moment.
hope helps.
Regards,
Jon
Thank you! I finally understand pivot tables thanks to your clear, concise explanations and examples.
Good Day. This is exactly what i have been looking for. However when i try it on my pivot table or even when i try to recreate this exercise using the sample worksheet, i get this error:
"Microsoft Excel cannot use the number format you typed. Try using one of the built-in number formats."
Same thing here, Excel quite did not like the format in my PowerPivot. Any clues as to what may be going on? Thanks.
I have the same thing happening on my end. I'm running a normal pivot table on a .xlsm file.
@Danzi
What format did you use?
can you post the file ?
pls. help in table there is name, pan. amount. i have to make pivot table for example
NAME PAN AMOUNT
MR.X AAAAC1254T 500.00
MR.Y AAABR1258C
MR.A CFVDE2458T
MR.Z AAVCR12548C
MR.X AAAAC1254T
MR.Z AADCD245T
pls. help in table there is name, pan. amount. i have to make pivot table for example
NAME PAN AMOUNT
MR.X AAAAC1254T 500.00
MR.Y AAABR1258C 1000
MR.A CFVDE2458T 2000
MR.Z AAVCR12548C 5451
MR.X AAAAC1254T 45564
MR.Z AADCD245T 4500
how to get pivot tabe so i get PAN no. against Name.
I found an easy way to get text values in pivot table.
I create an other worksheet in wich each cell has a formula that copy the pivot table. The trick is that the formula does a lookup for the numbers in the pivot table.
The formula looks like that:
=IF(ISNUMBER(table!A1);VLOOKUP(table!A1;Code!$A$1:$B$65;2);IF(ISBLANK(table!A1);" ";table!A1))
Code is a worksheet where there is a liste of text /numbers correspondance.
As a bonus The new sheet is easier to format
Additional trick:
In my case, i encoded differents codeid with a power(2, codeId-1) so that summing then is equivalent to concatenate them.
1-A
2-B
4-C
8-D
yields :
5 - AC
14 - BCD
Hi
I want to ask if pivot can display dates in pivot field. As in a column i have customers and in row different items i want to know there last purchase date. anyone help in this??
Hello Guys, Need your help
I am doing some analysis of the cycle time of the product i.e how much time a product takes from manufacturing to the central warehouse.
I have batch numbers for the product and against them i have to pull out the diff. dates
Like the base date is from where the manufacturing start. So i have the batch number,against it's manuf. date. Now i have to pull out the date when it was quality released.
I have the quality released data but the data have duplicates, like i will have two dates or may be three for the same batch. So my main objective is to pull out the date which is latest among them.
BATCH NO. DATE of Mfg. DATE of Quality release
A1 12/4/2014 (HERE I HAVE TO PULL value)
Next Sheet
BATCH NO. DATE of Quality Release
A1 14/5/2014
a2 23/5/2016
A1 12/5/2014
A1 13/6/2014
From this sheet i have to pull up the latest date format of date here is dd/mm/yyy
TIA
[…] needed to present text instead of counts in a pivot table value column. Here is an excellent resource for Excel manipulation, in addition to an overview of pivot […]
This is great thank you.
Wow!!! Excellent!! It helped me a lot.
I am developing training tracking sheet for 200 employees with training completed date. Each employee will be attending 25 courses. How to indicate actual dates in pivot table value field.