Hi All,
I have a column where each cell has multiple usernames (from Active Directory) separated by spaces, i.e. JSmith GBlogs MParty
I also have a function whereby if the cell only had 1 username, then I could search Active Directory for the first/lastname etc of the user.
The problem I have is that I need to be able to use this function on all usernames in the one cell and output them into the column next in the format of JSmith=JohnSmith, GBlogs=GregBlogs etc etc
I can't really separate the usernames into individual columns as there can be a hundred users per cell or only 1 (usernames from Security Groups).
Is there a way to run a For/Each type query where for each value separated by spaces I could run my function?
Is this even possible to do in Excel?
If I havent made enough sense in the explanation please let me know and I'll try explain it better (the explanation sounds alright in my head )
Thanks, much appreciated.
March
I have a column where each cell has multiple usernames (from Active Directory) separated by spaces, i.e. JSmith GBlogs MParty
I also have a function whereby if the cell only had 1 username, then I could search Active Directory for the first/lastname etc of the user.
The problem I have is that I need to be able to use this function on all usernames in the one cell and output them into the column next in the format of JSmith=JohnSmith, GBlogs=GregBlogs etc etc
I can't really separate the usernames into individual columns as there can be a hundred users per cell or only 1 (usernames from Security Groups).
Is there a way to run a For/Each type query where for each value separated by spaces I could run my function?
Is this even possible to do in Excel?
If I havent made enough sense in the explanation please let me know and I'll try explain it better (the explanation sounds alright in my head )
Thanks, much appreciated.
March