Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Pivot Table arrangements.

$
0
0

Hi everybody,

I wasn't able to find the answer. I'm sorry, but maybe you can help.

This is what I'm trying to do:

I have a Sharepoint log file, where I tick check boxes and enter data. To make it simple, let's compare it to a market and fruits:

I would have the following values:

ID, automatically generated

Customer, entered manually
Product: Bananas, Apples, Oranges      important here is, these are multiple checkboxes because a customer might buy more than one product

Country, where is the customer from, only one value per customer

While I can view this data in the Sharepoint file quite good, once I export it to Excel I struggle. 

In Sharepoint I can filter for Bananas, and it will show me all customers who bought a banana independently if they bought something else too.

Once exported to Excel I only get customers that bought only Bananas, the others will be listed as Banana#;Apples or Banana#;Oranges or even Banana#;Apples#;Oranges.

Now I want to make a table with the countries and the Products, but obviously I only want 3 Product columns then instead of all combinations.

It would look something like this:

ID  Country   Product

1USBanana

2USApple

3UKBanana#;Apple

4UKBanana#;Orange

If I now try to make some nice looking tables to use for visualizing data, I can filter for countries:

US would look like 

Banana 1, Apple 1

However, UK would look like
Banana#;Apple 1
Banana#;Orange 1 

but I want 
Banana 2
Apple 1
Orange 1

I tried to work around that in the logging file, by changing the question "Product" from multiple check boxes into many questions:

"Banana yes/no"
"Apple yes/no"
"Oranges yes/no"

With that I can have a look at the products, to see which countries are most interested in them. 
However, if I select more than one product in the labels, it just refines the data by "what ID fulfills Bananas and Apples" or it gives me a TRUE/FALSE table, which isn't really helpfull either. 

Any idea guys? 

Thanks a lot!


Viewing all articles
Browse latest Browse all 11829

Trending Articles