Citing Excerpts from Tables - reference

I am looking for the best and right way to cite a excerpt table from a larger, complete table. What is the right way of doing this? Do I just add a footer with a reference for the full table? or do I include any words in the rows and/or columns like "Years (Extract)".

Related

Excel:- Difference b/w pivot value col in multileveled table

My Raw table looks like this.
When I create a Pivot it looks like the below screenshot. I have filtered the type column and not actual and others. Now i want to subtract these two columns and create just one more additional column. Maybe some column will show 0 here as I have created dummy data, Sorry for that
Can somebody please help
You will need to create a calculated field/column
This is a very easy and simple guide to do so here: How to create a Calculated Field in Pivot Table
Because your data set is not complete, I am unable to replicate and provide results.
Please mark answer as 'accepted' if you have found this response meets your requirements.

Understanding Pivot Table Count

I was analyzing some data using Pivot Tables and noticed something strange.
I am attaching below the screenshots for details.
The first image if of the data, I have filtered it for a particular Brewery
The second image is of the rows and values selected in Pivot table
And the third image is of the analysis spit out by excel.
My question is shouldn't the count of category for '(512) Brewing Companybe4` which is the distinct values of category as seen from the second image?
If not then how come I can get the unique count of categories using the pivot table.?
Thanks
one way of doing it is to pull the category field just below Brewery one while keeping Category also in the values
This will help you to have the count you are looking for, one thing that may bother you are th subtotals that will appear for each Brewery, but this can be easy fixed by right clicking on them and select "Remove Subtotal..."
Hope this helps, if not let me know
Kind regards

Pivot table sorting by text string

It seems so silly, but I am trying to set up my pivot table, and it doesnt seem to be my strongest side.
The following picture demonstrates what I am after:
... so basically in the data there is a currency string, however it seems as if I cant get this string to be represented in the matix - only in either the row labels or columns labels, which makes the table very unstructured. Is there a way to match the security (row label) with its denominated currency ?
this part of my source table:
... where CCY is the currency column I would like within the pivot table and not as a pivot row or column label.
/ Phillip
Make the pivot as a classic pivot, you will see how the above person sees it.
Classic pivot is your answer of putting in text strings inside pivot. It somehow aligns better.
Right click on pivot --> Pivot table option --> Display --> Check the box which says "Classic Pivot table layout".
Take a backup of the excel copy before you switch to classic pivot. Some say it's irreversible
Include the currency-field in the Pivot table, like this:
This is exactly what I am after #MatsLind however this is what I receive when doing this:
so my question is why is our results different ?
Please let me know if I am totally off, but end goal should preferably be the following image:
.. however with this sorting (1.Security , 2.CCY) I am not allowed to sort the value within the pivot table. If I make the follwing sorting (1.CCY, 2.Security):
then I am allowed to sort the data within the pivot table, but I would prefer the former layout.
Can't add comments due to lack of reputation but this ain't an answer exactly.. Maybe..
From what I see in the below image, it looks like you have the row CCY on top and then security. If you want it like the top image, change the hierarchy.
Go to field list and under rows, drag and place the Security on top of CCY, youre pivot will look like above picture.
But you're speaking of sorting, it looks like the above picture has been sorted with the grand total column.. I didn't follow you completely on the sorting peice..
Edit: I understood the problem now, what values exactly are you trying to sort?

PivotTable Nested Columns

I am interested in grouping columns together by a common factor. Below is a basic example:
I'm interested in nesting the vehicle brands under the categories Luxury and Frugal. Thus making them collapsible like the rows can be. This is a basic example whereas the data I'm planning to work with this has thousands of rows of data similar to a layout as these rows and possibly 50-100 columns that could be collapsible into 5-10. Any guidance would be appreciated.
As has been suggested, adding Luxury/Frugal as a column in your source data would achieve what you require. However that would require substantial rearrangement, make your source data occupy a much larger range and not give an ideal result because adding just the one column, while allowing filtering by column in the PivotTable, each filter view would still show all columns (though mostly blank).
So completely "flattening" the source data may be a better choice, if to rearrange the source data at all:
The fields arranged like so:

Find position from row and tag with another table?

I have table where one of my field is 40 char long and the values are coming like this
00A000GB000C000000000F000000D0000000000E
now I need to find out the position for each character populated and join with another table, another table has field call position. For Example
from the field above, A is 3rd position, G is 7th position, B is 8
so I have to find the position for the fields populated(<>0) and then join with another table.
Please let me know how can I resolve this.
I think the community will need some more information to help with this question.
A couple questions I have when looking at this is:
What type of database are you using?
Are you looking to actually JOIN a table with another or are you talking about populating another table with data? If it is a join what type of data are you using to link the 2 tables?
Are you wanting to do this with SQL?
What programming language are you working with?
It sounds to me like you are going to need to do some programming to handle this one. Not knowing the answers to the above questions I am taking a stab at things and would recommend extracting the data from the database, processing the data to find the position, then select from the second table based on your processed data.

Resources