nick2k3
nick2k3

Reputation: 1429

Grouping and transposing data in excel

i'm trying to create an excel spreadsheet to be used to perform some basic "planning".

In one sheet I have a list of couples:

spreeadsheet 1

In a separate sheet I need to rearrange such data in the following way:

spreadsheet 2

So basically I need to group the items by week number and transpose the items associated with each week number horizontally.

Does anyone know if this is feasible with excel?

Upvotes: 0

Views: 5923

Answers (2)

phdstudent
phdstudent

Reputation: 1144

This is the formula you need:

=IFERROR(INDEX($C$5:$C$11,SMALL(IF($B$5:$B$11=$E5,ROW($C$5:$C$11)-MIN(ROW($C$5:$C$11))+1),COLUMNS($E$5:E5))),"")

Just put it on cell E5 press CTRL+ALT+ENTER for an array formula and drag along.

enter image description here

Upvotes: 0

ashleedawg
ashleedawg

Reputation: 21639

A Pivot Table will quickly handle that job.

img


More Information:

Upvotes: 1

Related Questions