Hi All this is my first post hope you can help.
I have a range of data in a single column that I need to transpose in to multiple columns and rows.
My problem is that each data set can vary between 4 and 8 rows depending on how many SSIDs (VAPs) are assigned to the AP.
Each data set is separated by a "!"
What I'm trying to achieve is something like
AP-GROUP VAP_1 VAP_2 VAP_3 VAP_4 Radio_1 Radio_2 Profile
I've included an example of the raw data below.
Many thanks in advance.
!
ap-group "BUILDING_123"
virtual-ap "STAFF_VAP"
virtual-ap "GUEST_VAP"
dot11a-radio-profile "0dBm-15dBm_POWER_RADIOPROFILE_11A"
dot11g-radio-profile "0dBm-15dBm_POWER_RADIOPROFILE_11G"
ap-system-profile "VLAN801-VRRP213"
!
ap-group "CUSTOMER-TEST"
virtual-ap "CUSTOMER_VAP"
dot11a-radio-profile "0dBm_POWER_RADIOPROFILE_11A"
dot11g-radio-profile "0dBm_POWER_RADIOPROFILE_11G"
ap-system-profile "VLAN799-VRRP108"
!
ap-group "GENERAL-VLAN123-VRRP123"
virtual-ap "CUSTOMER_1_VAP"
virtual-ap "CUSTOMER_2_VAP"
virtual-ap "CUSTOMER_3_VAP"
dot11a-radio-profile "30dBm_POWER_RADIOPROFILE_11A"
dot11g-radio-profile "30dBm_POWER_RADIOPROFILE_11G"
ap-system-profile "VLAN123-VRRP123"
I have a range of data in a single column that I need to transpose in to multiple columns and rows.
My problem is that each data set can vary between 4 and 8 rows depending on how many SSIDs (VAPs) are assigned to the AP.
Each data set is separated by a "!"
What I'm trying to achieve is something like
AP-GROUP VAP_1 VAP_2 VAP_3 VAP_4 Radio_1 Radio_2 Profile
I've included an example of the raw data below.
Many thanks in advance.
!
ap-group "BUILDING_123"
virtual-ap "STAFF_VAP"
virtual-ap "GUEST_VAP"
dot11a-radio-profile "0dBm-15dBm_POWER_RADIOPROFILE_11A"
dot11g-radio-profile "0dBm-15dBm_POWER_RADIOPROFILE_11G"
ap-system-profile "VLAN801-VRRP213"
!
ap-group "CUSTOMER-TEST"
virtual-ap "CUSTOMER_VAP"
dot11a-radio-profile "0dBm_POWER_RADIOPROFILE_11A"
dot11g-radio-profile "0dBm_POWER_RADIOPROFILE_11G"
ap-system-profile "VLAN799-VRRP108"
!
ap-group "GENERAL-VLAN123-VRRP123"
virtual-ap "CUSTOMER_1_VAP"
virtual-ap "CUSTOMER_2_VAP"
virtual-ap "CUSTOMER_3_VAP"
dot11a-radio-profile "30dBm_POWER_RADIOPROFILE_11A"
dot11g-radio-profile "30dBm_POWER_RADIOPROFILE_11G"
ap-system-profile "VLAN123-VRRP123"