Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 661
Default convert text to columns

I want to be able to run a text to column function from a column within a
Pivot table, so that when the Pivot table is refreshed, the results of the
text to column function automatically update. Not sure if this is actually
possible. Any help would be appreciated. Many thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default convert text to columns

Hi Paul,

I don't know of a way to do this in a pivot table, and it would be a great
feature to add if it doesn't exist.

The following example is how to use worksheet functions to parse data from a
cell.

If A2 has the following text:
first column text;second column text; third column text

In B2:
=LEFT(A2,FIND(";",A2,1)-1)
will display as:
first column text

In C2:
=MID(A2,FIND(";",A2,1)+1,LEN(A2)-FIND("~",SUBSTITUTE(A2,";","~",2),1))
will display as:
second column text

In D2:
=RIGHT(A2,LEN(A2)-FIND("~",SUBSTITUTE(A2,";","~",2)))
will display as:
third column text

To find the 2nd instance of a semicolon ";" - the substitute function
replaces a character and allows specification of which instance. In this
example the tilde was used as a replacement character - however the
replacement character can be any character except a wild character such as an
asterisk * , and the replacement character must be unqiue within the cell.

--
If this post helps click Yes
---------------
Peggy Shepard


"Paul" wrote:

I want to be able to run a text to column function from a column within a
Pivot table, so that when the Pivot table is refreshed, the results of the
text to column function automatically update. Not sure if this is actually
possible. Any help would be appreciated. Many thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,104
Default convert text to columns

You cannot alter "part" of a pivot table
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Paul" wrote in message
...
I want to be able to run a text to column function from a column within a
Pivot table, so that when the Pivot table is refreshed, the results of the
text to column function automatically update. Not sure if this is actually
possible. Any help would be appreciated. Many thanks



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
convert text into columns aquaflow Excel Discussion (Misc queries) 3 September 26th 08 02:26 PM
Convert text to columns csm Excel Discussion (Misc queries) 4 September 17th 08 09:37 PM
Convert text to columns Krish Excel Worksheet Functions 1 June 5th 08 12:57 AM
Convert text to columns NWI Excel Discussion (Misc queries) 3 September 2nd 07 11:57 PM
convert text to columns Cindi Excel Discussion (Misc queries) 6 November 6th 06 09:14 PM


All times are GMT +1. The time now is 02:32 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"