Salutations,
I have a merger/cross issue that I haven't been able to figure out. I have an enterprise dataset that has companies and states, organized like this
Company ID State_ID Facilities
A 1 12
A 6 39
A 37 2
B 2 10
B 18 4
B 24 1
B 51 11
etc..
I also have a list of all the states
State_ID Abbr
1 AL
2 AK
4 AZ
etc...
I want to combine them so that every company ID has all the states
Company ID State_ID Facilities Abbr
A 1 12 AL
A 2 . AK
A 4 . AZ
A 6 39 CA
A 8 . CO
...
A 37 2 NC
...
B 1 . AL
B 2 10 AK
B 18 4 AZ
etc...
I think this should be possible with merge or cross, but I haven't been able to figure it out. Can anyone help ?
Thanks
I have a merger/cross issue that I haven't been able to figure out. I have an enterprise dataset that has companies and states, organized like this
Company ID State_ID Facilities
A 1 12
A 6 39
A 37 2
B 2 10
B 18 4
B 24 1
B 51 11
etc..
I also have a list of all the states
State_ID Abbr
1 AL
2 AK
4 AZ
etc...
I want to combine them so that every company ID has all the states
Company ID State_ID Facilities Abbr
A 1 12 AL
A 2 . AK
A 4 . AZ
A 6 39 CA
A 8 . CO
...
A 37 2 NC
...
B 1 . AL
B 2 10 AK
B 18 4 AZ
etc...
I think this should be possible with merge or cross, but I haven't been able to figure it out. Can anyone help ?
Thanks

Comment