Data reorganize formula? Perhaps VBA?

Maggie Barr

Board Regular
Joined
Jan 28, 2014
Messages
188
Hello, and thank you for your time in advance if you can help.

I am working on a PC in excel 2013. I have a table of breeding bird data with codes that I need to create a summary table from. I am unsure of the most efficient way to do this and have spent many hours adjusting data, trying formulas, and using pivot tables to see what I can do, to no avail as of yet. I think that perhaps a formula would be the best way, but I am unable to figure out the extent of the commands needed. I have included a link to the data set below which has the blank tables to the right that I need to populate with the data summary. In short, I need to take data for each of three categories Confirmed, Probable, and Possible, and provide the data for each from 1-3 in order that they are in the column header. Below is an example of the data for just the Confirmed, but please see the link to the data set to get a better idea. So, for instance, in the Alder Flycatcher & American Bittern below, for the Confirmed breeders portion of the data, anything with a 1 needs to go in the 1 category with the codes "column headers" in order as they fall, separated by a ",". See output example below this.

DATA FORMAT
SpeciesConfirmed
NYNEFSFYCFFLONUNDDNBCNPE
Alder Flycatcher121112111
American Bittern*22321333

<tbody>
</tbody>

AND turn it into a summary like this for output:


SpeciesConfirmed
123
Alder FlycatcherNY, FS, FY, CF, ON, NB, CNNE, FL
American Bittern*ONNY, NE, FLFY, NB, CN, PE

<tbody>
</tbody>

<tbody>
</tbody>
https://www.dropbox.com/s/xc3avm3c02cwnri/Template for Mr. Excel question.xlsx?dl=0

I would appreciate ANY advice or assistance on this.
Thank you for taking the time to read this post and assisting if at all possible.
Sincerely,
Maggie :eek:

<tbody>
</tbody>
 
Last edited:

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,213,511
Messages
6,114,054
Members
448,543
Latest member
MartinLarkin

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