Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default A Pivot table issue

Hi everybody!

Is it possible to create a pivot table, but to use only a part of a field as
a row filed, not an entire field.
I have in the column 'Parts' thge following data
Parts Numbers
---------
Vehicle-Doors 1
Vehicle-Wheels 2

and I woulf like to create a pivot, but somehow to have Left(part,6), so I
will have grouping by Vehicle only.
I can manage this adding additoonal column to the sheet, but I think there
should be a way using some formula or so.

Thanks in advance

../Yakimo


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default A Pivot table issue

Hi,
You'll need to create a new column and place formula
like you have written, but use '=left(A1,Find("-",A1)-1)'.
You can then use this new column in your pivot table. You
need to give the column a name as well, like Part Group or
something, your choice.

regards
KM

-----Original Message-----
Hi everybody!

Is it possible to create a pivot table, but to use only a

part of a field as
a row filed, not an entire field.
I have in the column 'Parts' thge following data
Parts Numbers
---------
Vehicle-Doors 1
Vehicle-Wheels 2

and I woulf like to create a pivot, but somehow to have

Left(part,6), so I
will have grouping by Vehicle only.
I can manage this adding additoonal column to the sheet,

but I think there
should be a way using some formula or so.

Thanks in advance

../Yakimo


.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default A Pivot table issue

Thanks, Kevin.
With a new column it is clear how to do.
I was just wondering if there is a way without adding additional columns.
Does anyone now something?

Cheers,
Yakimoto

"Kevin McCartney" wrote in message
...
Hi,
You'll need to create a new column and place formula
like you have written, but use '=left(A1,Find("-",A1)-1)'.
You can then use this new column in your pivot table. You
need to give the column a name as well, like Part Group or
something, your choice.

regards
KM

-----Original Message-----
Hi everybody!

Is it possible to create a pivot table, but to use only a

part of a field as
a row filed, not an entire field.
I have in the column 'Parts' thge following data
Parts Numbers
---------
Vehicle-Doors 1
Vehicle-Wheels 2

and I woulf like to create a pivot, but somehow to have

Left(part,6), so I
will have grouping by Vehicle only.
I can manage this adding additoonal column to the sheet,

but I think there
should be a way using some formula or so.

Thanks in advance

../Yakimo


.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default A Pivot table issue

Hello Yakimoto

The simplest solution is to create a new field in your
data source. Insert a column to the right of the vechile-
number column. Then use the Text to Columns from the
Excel DATA drop down menu. With that command you can
parse the numbers into the new field. Once that is
finished you can form the pivot table you want.

This breakes the original field into two fields. If you
need to keep the original field intact then you could use
the Mid() function to copy only the desired portion of the
original field into the new field.

Mike
-----Original Message-----
Hi everybody!

Is it possible to create a pivot table, but to use only a

part of a field as
a row filed, not an entire field.
I have in the column 'Parts' thge following data
Parts Numbers
---------
Vehicle-Doors 1
Vehicle-Wheels 2

and I woulf like to create a pivot, but somehow to have

Left(part,6), so I
will have grouping by Vehicle only.
I can manage this adding additoonal column to the sheet,

but I think there
should be a way using some formula or so.

Thanks in advance

../Yakimo


.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default A Pivot table issue

Thanks Mike,
Is there any other solution without adding a new column? Is it posible to do
that using pivot table formulas (calculated fields, calculated items or
whatever) ?

"Mike Waldron" wrote in message
...
Hello Yakimoto

The simplest solution is to create a new field in your
data source. Insert a column to the right of the vechile-
number column. Then use the Text to Columns from the
Excel DATA drop down menu. With that command you can
parse the numbers into the new field. Once that is
finished you can form the pivot table you want.

This breakes the original field into two fields. If you
need to keep the original field intact then you could use
the Mid() function to copy only the desired portion of the
original field into the new field.

Mike
-----Original Message-----
Hi everybody!

Is it possible to create a pivot table, but to use only a

part of a field as
a row filed, not an entire field.
I have in the column 'Parts' thge following data
Parts Numbers
---------
Vehicle-Doors 1
Vehicle-Wheels 2

and I woulf like to create a pivot, but somehow to have

Left(part,6), so I
will have grouping by Vehicle only.
I can manage this adding additoonal column to the sheet,

but I think there
should be a way using some formula or so.

Thanks in advance

../Yakimo


.





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default A Pivot table issue

Insert a new column A and put in a formula like


=left(B2,6)

Put in an appropriate label/header in A1. Drag fill A2 down the column.

Now create you pivot table.

--
regards,
Tom Ogilvy

"Yakimoto" wrote in message
...
Hi everybody!

Is it possible to create a pivot table, but to use only a part of a field

as
a row filed, not an entire field.
I have in the column 'Parts' thge following data
Parts Numbers
---------
Vehicle-Doors 1
Vehicle-Wheels 2

and I woulf like to create a pivot, but somehow to have Left(part,6), so I
will have grouping by Vehicle only.
I can manage this adding additoonal column to the sheet, but I think there
should be a way using some formula or so.

Thanks in advance

./Yakimo




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
Issue with pivot table varsha12 Excel Discussion (Misc queries) 1 April 16th 10 02:51 PM
One pivot table cannot overlap another pivot issue. Avi Excel Discussion (Misc queries) 1 October 5th 09 02:29 PM
Pivot Table Issue PiB311 Excel Worksheet Functions 2 September 14th 09 08:59 PM
Pivot table sum issue Phil Smith Excel Discussion (Misc queries) 5 May 15th 08 03:18 AM
Pivot Table issue Mark Bigelow Excel Programming 1 August 30th 03 04:14 PM


All times are GMT +1. The time now is 03:57 AM.

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

About Us

"It's about Microsoft Excel"