#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default occurance, pivot

Hi,

I have a data as per below

Customer Invoice Charge Type

Adidas 851245 Basic
Adidas 851245 documentation
Adidas 851245 transportation
Adidas 851244 Basic
Adidas 851244 documentation
Adidas 851244 transportation
Nike 851243 Basic
Nike 851243 documentation
Nike 851243 transportation
Nike 851242 Basic
Nike 851242 documentation
Nike 851242 transportation

When i did pivot table i get below result,
Customer (count of) Invoice
Adidas 6
Nike 6

Please is there any way to get a pivot analysis as per below,

Customer Invoice
Adidas 2
Nike 2

--
Sincerely Yours
Haviv
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default occurance, pivot

You can add a field to the source data, and use it to calculate the
unique count in the pivot table. There's an example he

http://www.contextures.com/xlPivot07.html#Unique

For your example, you could use the formula:

=IF(COUNTIF($A$1:A2,A2)1,0,1)


haviv wrote:
Hi,

I have a data as per below

Customer Invoice Charge Type

Adidas 851245 Basic
Adidas 851245 documentation
Adidas 851245 transportation
Adidas 851244 Basic
Adidas 851244 documentation
Adidas 851244 transportation
Nike 851243 Basic
Nike 851243 documentation
Nike 851243 transportation
Nike 851242 Basic
Nike 851242 documentation
Nike 851242 transportation

When i did pivot table i get below result,
Customer (count of) Invoice
Adidas 6
Nike 6

Please is there any way to get a pivot analysis as per below,

Customer Invoice
Adidas 2
Nike 2



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default occurance, pivot

thanks its works
--
Sincerely Yours
Haviv


"Debra Dalgleish" wrote:

You can add a field to the source data, and use it to calculate the
unique count in the pivot table. There's an example he

http://www.contextures.com/xlPivot07.html#Unique

For your example, you could use the formula:

=IF(COUNTIF($A$1:A2,A2)1,0,1)


haviv wrote:
Hi,

I have a data as per below

Customer Invoice Charge Type

Adidas 851245 Basic
Adidas 851245 documentation
Adidas 851245 transportation
Adidas 851244 Basic
Adidas 851244 documentation
Adidas 851244 transportation
Nike 851243 Basic
Nike 851243 documentation
Nike 851243 transportation
Nike 851242 Basic
Nike 851242 documentation
Nike 851242 transportation

When i did pivot table i get below result,
Customer (count of) Invoice
Adidas 6
Nike 6

Please is there any way to get a pivot analysis as per below,

Customer Invoice
Adidas 2
Nike 2



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html


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
Find next occurance Jambruins Excel Discussion (Misc queries) 5 August 10th 06 04:48 PM
Occurance Counting Rusty Excel Worksheet Functions 6 August 6th 06 01:16 PM
Occurance Number Within a String JohnnyBGood Excel Discussion (Misc queries) 4 December 20th 05 04:59 PM
Need Formula for Last Occurance Reignman Excel Worksheet Functions 2 July 17th 05 08:51 AM
frequency for each occurance bjg Excel Worksheet Functions 3 November 24th 04 02:13 PM


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