Transpose Multi-Criteria

tullibee_57

New Member
Joined
Apr 19, 2019
Messages
1
Brand new member. Currently working on a GIS project and trying to format County Precipitation Data for a 30-year period.

I need to transpose the TOTAL_PRECIP values into columns 1980-2010 for each FIPSID (county). They are currently arranged in 30-year (1980-2010) rows for each FIPSID. See attached image below, hopefully what I'm wanting to do is explanatory.

620771d1555653383-transpose-multi-criteria-screenshot-3-.png


I've poured through google and tried numerous formulas, nothing has seemed to work. Any help would be appreciated!
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hi & welcome to MrExcel.
How about


Excel 2013/2016
ABCDEFGHIJKLMNOPQR
1FIPSID19801981198219831984198519861987198819891990199119921993
210011980110011234567891011121314
310011981210033233343536373839404142434445
4100119823
5100119834
6100119845
7100119856
8100119867
9100119878
10100119889
111001198910
121001199011
131001199112
141001199213
151001199314
331003198032
341003198133
351003198234
361003198335
371003198436
381003198537
391003198638
Sheet1
Cell Formulas
RangeFormula
D2=IFERROR(INDEX(A$2:A$63,MATCH(0,INDEX(COUNTIF(D$1:D1,A$2:A$63),0),0)),"")
E2=IFERROR(INDEX($C$2:$C$63,AGGREGATE(15,6,(ROW($C$2:$C$63)-ROW($C$2)+1)/($A$2:$A$63=$D2),COLUMNS($A1:A1))),"")
 
Upvote 0
Cross posted https://www.excelforum.com/excel-formulas-and-functions/1273160-transpose-multi-criteria.html

While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0

Forum statistics

Threads
1,214,907
Messages
6,122,185
Members
449,071
Latest member
cdnMech

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