"Pivot Table or Filter"

Marwan69

Board Regular
Joined
Mar 14, 2018
Messages
80
Hello everyone,

Hope this finds you all well!

I have a long sheet but I'm not sure which sorting feature to use most for my analysis: Pivot table or Filter!
The problem for PV is that it does not give me the value (as is) in the original sheet. It does sum them or count...etc.
On the other hand, the filtering also isn't working properly for me because my data is sorted vertically and headings are below each other, example:

Cost of Resipe Final-PV.xlsx
ABCDE
1Pistachio Waffle - MediumQuantityamountCostSales
2Waffle Mix90gm0.7181.5893
3Banana95gm0.5671.2544
4Strawberry20gm1.5403.4069
5Kiwi20gm0.2400.5309
6Belgium Pistachio Roasted(Nuts)30gm4.56010.088
7Soft Sugar(Icing Sugar)2mg0.0060.0133
8Brwon Kraft Paper Box with Hinged Lid 25oz1pcs0.1380.3053
9Brown Paper Napkin2pcs0.0700.1549
10LeDari Black Fork1pcs0.0710.1571
11LeDari Black Knife1pcs0.0710.1571
12Brown Paper Bag with Flat Handle1pcs0.1550.3429
13Pistachio Waffle - LargeQuantityamountCostSales
14waffle mix180gm1.443.2637
15Banana95gm0.5671.2879
16Strawberry35gm2.6956.1216
17Kiwi40gm0.4801.0903
18Belgium Pistachio Roasted(Nuts)55gm8.36018.989
19Soft Sugar(Icing Sugar)3mg0.0090.0204
20Brwon Kraft Paper Box with Hinged Lid 40oz1pcs0.1730.393
21Brown Paper Napkin2pcs0.0700.159
22LeDari Black Fork1pcs0.0710.1613
23LeDari Black Knife1pcs0.0710.1613
24Brown Paper Bag with Flat Handle1pcs0.1550.3521
25Belgium Chocolate Waffle - MediumQuantityamountCostSales
26waffle mix90gm0.722.6905
27Banana95gm0.5672.1234
28Strawberry20gm1.5405.7673
29Kiwi20gm0.2400.8988
30Belgium Brown Chocolate20gm0.8603.2207
31Belgium Dark Chocolate0gm0.0000
32Belgium White Chocolate10gm0.3701.3856
33Soft Sugar(Icing Sugar)2mg0.0060.0225
34Brwon Kraft Paper Box with Hinged Lid 25oz1pcs0.1380.5168
35Brown Paper Napkin2pcs0.0700.2621
36LeDari Black Fork1pcs0.0710.2659
37LeDari Black Knife1pcs0.0710.2659
38Brown Paper Bag with Flat Handle1pcs0.1550.5805
Cost of Resipe Final(2)
Cell Formulas
RangeFormula
B3,B27,B15B3=189/2
B31B31=10*0


So, any idea to choose which is most appropriate for me and how to fix the above issues?

Many Thanks,
Marwan
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Hi Marwan,

Pivot tables are designed to group data; whereas, filters do not. If you want to add totals, you can either do so at the end of a table or have another table to one side that uses formulas to display totals.
In general, if you just want to see certain data ranges or focus on specific dates etc., it's better to add a dynamic table to encapsulate the full dataset and then apply filters to the data (i.e., not just the Filter on the Data Tab). In your case, I suggest you add another column to the left of col A, and put your headers e.g., pistasio waffle large etc in the new column

Pistachio Waffle - MediumWaffle Mix
Pistachio Waffle - MediumBanana
Pistachio Waffle - MediumStrawberry

etc

Pivot tables are more useful when the purpose is to e.g., combine all the consignment costs of one purchase order number (where one number is on many lines, and you want the sum of cost).
The below link takes you to a YouTube video introducing Pivot Tables. The weblinks on that video are an excellent resource to familiarize yourself with what they can do.
Introduction to Pivot tables

Kind regards,

Doug.
 
Upvote 0

Forum statistics

Threads
1,214,790
Messages
6,121,608
Members
449,038
Latest member
apwr

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top