Excel two-dimensional data table quickly becomes one-dimensional table dimensionality reduction methods

       PivotTable as a very powerful analytical tools, while its data also have certain requirements, if the data does not meet the requirements, not only reach the expected results, the statistical error may also occur. The following describes a simple method for processing data. Following effects can make a two-dimensional data table by this method into a simple one-dimensional data list, to use a PivotTable statistical analysis.

This method is the use of "PivotTable and PivotChart Wizard" tool to achieve this, you first need to find this tool in excel

A method shown in Figure :( I and II, Figure III), after adding good just click on the dialog box (Figure III wizard may pop up)

Method Two: is the use of shortcut keys ALT + D + P sequentially press the three buttons which can immediately call up (Figure 4)

       Once you have the tool can begin, choose Multiple consolidation area in Figure III, and click Next Figure V pop-up dialog box, select just two of a can not affect the results, as to discuss their differences temporarily to do here and then click Next

       Dialog box appears in FIG 6, the input data range in the selected area (can use the mouse to select a data table or data table means optionally pressed to ctrl + A), choose a good press Add  button to add it to the following the list. Pop-up and click Finish Figure 7, select New or existing worksheet can be, here is a new sheet

 

 When you click Finish, find and double-click the lowest total (Figure 8) position, then will form a new table (Fig. 9)

Page 1 of Figure 9 can be directly removed, the left one of the time values ​​is obviously incorrect, set the cell format, the format in the unit - the custom setting, and change a column name field, 10, 11 - Digital shown

Selected in FIG. 11 of GDP field columns (i.e., column C), press F5 or CTRL + G  pop <Location> dialog box, clicking target  selected null value last determined point ( as shown in FIG. 12) 

Then moving the mouse right column C row select Delete table (FIG XI), results shown in Figure 13, This is done when the amount of data to consider when cells can not manually delete process null

A columns A and B to adjust the position of the data table in ascending or descending a provincial arrayed

 Copy Paste is true table "value and digital formats" to a position of the data can be used.

Note: This step is the best choice to select Paste "value and digital formats," If you select Paste is a number, then the date will become the corresponding digital format, of course, if you count the first column is not a date, then it can be directly attached to a value of . Results in Figure 15:

Published 39 original articles · won praise 8 · views 9169

Guess you like

Origin blog.csdn.net/cxd3341/article/details/104907039