Create Pivot

nasir

Board Regular
Joined
Apr 7, 2006
Messages
124
Hello
I have below data and would like to create a pivot.

Excel Workbook
ABCDEFGHIJKLMN
1AgencyFundAmount0301-FUEL AUTOMOTIVE0302-FUEL - HEATING0303-FUEL - OTHER0304-GAS0305-ELECTRICITY0306-STEAM0307-WATER0309-RENTALS - LAND AND STRUCTURES0430-JANITORIAL SERVICES0440-SECURITY SERVICES0310-OCCUPANCY FIXED COSTS
2AC0-OFFICE OF THE D.C. AUDITOR0100-LOCAL FUND********307,113.40*31,629.82*
3AD0-OFFICE OF THE INSPECTOR GENERAL0200-FEDERAL GRANT FUND*529.00******229,162.00**1,487.52
4AM0-DEPARTMENT OF REAL ESTATE SERVICES0600-SPECIAL PURPOSE REVENUE FUNDS****3,368.00114,047.00*15,444.00**82,320.00*
5CB0-OFFICE OF THE ATTORNEY GENERAL0100-LOCAL FUND*18,626.00141.00*1,084.001,154,140.08*48,841.89583,595.00262,332.68249,577.13361,184.45
6CB0-OFFICE OF THE ATTORNEY GENERAL0200-FEDERAL GRANT FUND*****78,954.62*5,313.24*58,459.3077,103.87117,451.52
7CF0-DEPARTMENT OF EMPLOYMENT SERVICES0200-FEDERAL GRANT FUND*8,542.00**18,761.00170,174.00*34,909.001,736,170.00*112,315.00156,286.00
8CF0-DEPARTMENT OF EMPLOYMENT SERVICES0600-SPECIAL PURPOSE REVENUE FUNDS*6,766.00***38,425.00**2,868,766.00*285,729.00*
9CT0-OFFICE OF CABLE TV0600-SPECIAL PURPOSE REVENUE FUNDS*13,299.67******1,448,278.43***
10DB0-DEPT. OF HOUSING AND COMM. DEVELOPMENT0200-FEDERAL GRANT FUND*6,277.00**189.001,134.00**757,374.00*2,538.004,610.00
11DB0-DEPT. OF HOUSING AND COMM. DEVELOPMENT0600-SPECIAL PURPOSE REVENUE FUNDS*3,747.00**106.00677.00**451,985.00*1,515.002,752.00
12DB0-DEPT. OF HOUSING AND COMM. DEVELOPMENT0700-INTRADISTRICT FUNDS*5,620.64**177.001,015.00**678,177.57*2,273.864,127.51
13DC0-LOTTERY & CHARITABLE GAMES CONTROL BOARD0600-SPECIAL PURPOSE REVENUE FUNDS*9,385.00**45,159.55188,466.92*21,125.262,410,311.2973,090.7315,815.0212,771.52
14DH0-PUBLIC SERVICE COMMISSION0600-SPECIAL PURPOSE REVENUE FUNDS*1,631.06******1,606,746.00***
15DJ0-OFFICE OF PEOPLE'S COUNSEL0600-SPECIAL PURPOSE REVENUE FUNDS*852.35******836,147.00***
16DY0-DISTRICT OF COLUMBIA RETIREMENT BOARD0600-SPECIAL PURPOSE REVENUE FUNDS********1,552,497.00*6,000.00*
17EB0-DEPUTY MAYOR FOR ECONOMIC DEVELOPMENT0600-SPECIAL PURPOSE REVENUE FUNDS********438,206.84***
18ES0-WASHINGTON CONVENTION & SPORTS AUTHORITY0600-SPECIAL PURPOSE REVENUE FUNDS*****7,262,238.00******
19FA0-METROPOLITAN POLICE DEPARTMENT0200-FEDERAL GRANT FUND*5,000.00**********
20FA0-METROPOLITAN POLICE DEPARTMENT0600-SPECIAL PURPOSE REVENUE FUNDS*146,600.00***150,000.00*50,000.00750,000.0075,000.00*100,000.00
21FA0-METROPOLITAN POLICE DEPARTMENT0700-INTRADISTRICT FUNDS*8,000.00**********
22FK0-DC NATIONAL GUARD0100-LOCAL FUND*****146,906.34*67,630.55****
23FK0-DC NATIONAL GUARD0200-FEDERAL GRANT FUND*****371,463.55*283.45****
24FL0-DEPARTMENT OF CORRECTIONS0100-LOCAL FUND********2,770,039.00***
25GA0-DISTRICT OF COLUMBIA PUBLIC SCHOOLS0100-LOCAL FUND*7,564.00501,137.77*8,871,888.8417,667,816.73*2,220,349.005,577,005.000.00234,888.0051,694.72
26GA0-DISTRICT OF COLUMBIA PUBLIC SCHOOLS0600-SPECIAL PURPOSE REVENUE FUNDS*****171,427.00******
27GD0-STATE SUPERINTENDENT OF EDUCATION (OSSE)0100-LOCAL FUND*1,390.001.90**73,821.77*11,460.103,581,746.901,898.201,916.1837,197.25
28GD0-STATE SUPERINTENDENT OF EDUCATION (OSSE)0200-FEDERAL GRANT FUND**********520.52*
29GD0-STATE SUPERINTENDENT OF EDUCATION (OSSE)0400-PRIVATE GRANT FUND**********94.64*
Fixed Cost Budget FY 2011 2011


How can I change the pivot to show Agency, fund and the different categories 0301, 0302 etc - call them CSG) all in a column.
Excel Workbook
ABCD
26Comp ObjAgencyFundAmount
270301-FUEL AUTOMOTIVEFA0-METROPOLITAN POLICE DEPARTMENT0200-FEDERAL GRANT FUND5,000.00
280302-FUEL - HEATINGFA0-METROPOLITAN POLICE DEPARTMENT0600-SPECIAL PURPOSE REVENUE FUNDS146,600.00
290303-FUEL - OTHERFA0-METROPOLITAN POLICE DEPARTMENT0700-INTRADISTRICT FUNDS8,000.00
300304-GASFK0-DC NATIONAL GUARD0100-LOCAL FUND*
310305-ELECTRICITYFK0-DC NATIONAL GUARD0200-FEDERAL GRANT FUND*
320306-STEAMFL0-DEPARTMENT OF CORRECTIONS0100-LOCAL FUND*
330307-WATERGA0-DISTRICT OF COLUMBIA PUBLIC SCHOOLS0100-LOCAL FUND7,564.00
340309-RENTALS - LAND AND STRUCTURESGA0-DISTRICT OF COLUMBIA PUBLIC SCHOOLS0600-SPECIAL PURPOSE REVENUE FUNDS*
350310-OCCUPANCY FIXED COSTS**1,390.00
Sheet3



One agency can have multiple funds and CSG.

Thanks
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Basically, I want to modify the data so that the CSG are in rows instead of columns and then create a pivot.
 
Upvote 0

Forum statistics

Threads
1,223,264
Messages
6,171,081
Members
452,377
Latest member
bradfordsam

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