Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Pivot Table - replace numbers with a text

Hi,

I have a Pivot table with some numbers in it. Is there a way to
replace the numbers with a text?

For example: replace all numbers 1 with "yes" . Is this possible? If
not whats the best way to achieve this?


Regards,

Vinstream


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 464
Default Pivot Table - replace numbers with a text

Only by changing your data source. Eg.

Sub Test()
Dim rCell As Range

For Each rCell In Range("DataSource").Columns _
(2).SpecialCells(xlCellTypeConstants, xlNumbers).Cells
If rCell 1 Then rCell = "yes"
Next rCell
End Sub


"vinstream" wrote in message
...
Hi,

I have a Pivot table with some numbers in it. Is there a way to
replace the numbers with a text?

For example: replace all numbers 1 with "yes" . Is this possible? If
not whats the best way to achieve this?


Regards,

Vinstream



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot table treating numbers as text in value field Rune Wentzel Helms Excel Worksheet Functions 2 July 3rd 09 09:15 AM
Pivot Table with Data replace error Vinod[_2_] Excel Discussion (Misc queries) 1 January 25th 08 06:22 PM
Displaying Text, not numbers, in Pivot Table Longtime listener first time caller New Users to Excel 2 March 8th 07 09:44 AM
Making Text into Numbers, for Pivot Table Cubes traceye Excel Worksheet Functions 0 January 31st 07 11:04 AM
Pivot Table keep apart cells text that I've formatted as numbers Paulo Bevervanso Excel Worksheet Functions 2 September 21st 05 08:45 PM


All times are GMT +1. The time now is 07:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"