Hi all,
Wonder if someone call help me with something.
Basically I have a whole load of data which I need to sort of "sanitize" so to speak.
The data looks like this (it can be in a text doc or put into a new sheet)
mac-address (omitted)
profile persons-name
domain LONDON
hostname whatever (omitted)
!
mac-address (omitted)
profile persons-name
domain DUBLIN
hostname whatever (omitted)
!
mac-address (omitted)
profile persons-name
domain BERLIN
hostname whatever (omitted)
!
mac-address (omitted)
profile persons-name
domain LONDON
hostname whatever (omitted)
What I need to do is, when LONDON is selected in a ComboBox, it will read down all the data and everytime LONDON is found, return the value of the mac-address and put all of them into a new column, with each mac on a separate row.
I'm sure this is something relatively simple, but cannot seem to get my head around how to construct the for loop for it, or whether a for loop is the right function to use or not.
Any help really appreciated.
Unter
Wonder if someone call help me with something.
Basically I have a whole load of data which I need to sort of "sanitize" so to speak.
The data looks like this (it can be in a text doc or put into a new sheet)
mac-address (omitted)
profile persons-name
domain LONDON
hostname whatever (omitted)
!
mac-address (omitted)
profile persons-name
domain DUBLIN
hostname whatever (omitted)
!
mac-address (omitted)
profile persons-name
domain BERLIN
hostname whatever (omitted)
!
mac-address (omitted)
profile persons-name
domain LONDON
hostname whatever (omitted)
What I need to do is, when LONDON is selected in a ComboBox, it will read down all the data and everytime LONDON is found, return the value of the mac-address and put all of them into a new column, with each mac on a separate row.
I'm sure this is something relatively simple, but cannot seem to get my head around how to construct the for loop for it, or whether a for loop is the right function to use or not.
Any help really appreciated.
Unter
Last edited: