I have a need to recreate a databse output in excel. Simply, I have a list of Names, each name can be assigned to a specific group number (1 through 3). I then have 3 columns, one for each group that will contain the appropriate list. The group assignments change frequently, so I'd like to automate the process. Is there a formula or macro that will do this easily. I have attached an example of how it could look (i've hard coded the names in columns D,E,&F). I have a feeling there is a basic solution to this that I just don't know (don't say "use Access")
Book1 | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
2 | Group | Name | Group1 | Group2 | Group3 | |||
3 | 1 | Susan | Chris | Emily | John | |||
4 | 1 | Steve | Steve | Mark | Sara | |||
5 | 3 | Sara | Susan | Christy | Irwin | |||
6 | 2 | Mark | ||||||
7 | 3 | John | ||||||
8 | 3 | Irwin | ||||||
9 | 2 | Emily | ||||||
10 | 2 | Christy | ||||||
11 | 1 | Chris | ||||||
Sheet1 |