+ Reply to Thread
Results 1 to 13 of 13

Help extracting strings from a cloud dataset

  1. #1
    Registered User
    Join Date
    07-04-2016
    Location
    Melbourne, Australia
    MS-Off Ver
    Microsoft 365 MSO Version 2208 Build 16.0.15601.20764 64-bit
    Posts
    25

    Help extracting strings from a cloud dataset

    Hey Excel wizards,

    I need a hand manipulating an exceptionally fun cloud dataset. The 'tags' have all been lumped into one column and I need to find a way to split out the below tag headers with their corresponding tag values.

    I have attached a dummy dataset with the tag column as well as the 9 tag names we need to extract.

    As an example:

    The tag column follows the below format. The tag header is the alternating field with the suffix of : (e.g. applicationName is the tag header and Biztalk is the tag value)

    "applicationName": "Biztalk","managedBy": "[email protected]","ownedBy": "[email protected]","projectName": "ztalk"

    There is no order to which tag headers appear where. However, the structure of "header": followed by ","value"" is consistent.

    In a nutshell, I need to find a way to search for the 9 tag headers listed in my spreadsheet and extract the respective tag values.

    Hope this makes sense.

    Thanks all
    Attached Files Attached Files
    Last edited by MikeSham; 10-25-2023 at 02:01 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,091

    Re: Help extracting strings from a cloud dataset

    Do you still use Excel 2013 or something newer?

    Please replace question marks in your sample set with the data you expect to see extracted.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-04-2016
    Location
    Melbourne, Australia
    MS-Off Ver
    Microsoft 365 MSO Version 2208 Build 16.0.15601.20764 64-bit
    Posts
    25

    Re: Help extracting strings from a cloud dataset

    Hi Ali,

    Thanks for the reply. I've re-uploaded the file with the expected results. We are using the latest version of Excel.

    - Mike

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,091

    Re: Help extracting strings from a cloud dataset

    Which 'latest' version? Please be specific and update your profile accordingly.

  5. #5
    Registered User
    Join Date
    07-04-2016
    Location
    Melbourne, Australia
    MS-Off Ver
    Microsoft 365 MSO Version 2208 Build 16.0.15601.20764 64-bit
    Posts
    25

    Re: Help extracting strings from a cloud dataset

    Hey I've updated my profile. The version is:

    Microsoft® Excel® for Microsoft 365 MSO (Version 2208 Build 16.0.15601.20764) 64-bit

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,091

    Re: Help extracting strings from a cloud dataset

    Assuming 365, in B2 copied across and down:

    =LET(i,SUBSTITUTE(TEXTSPLIT($A2,":",","),"""",""),IFERROR(TRIM(INDEX(INDEX(i,,2),MATCH(TRUE,EXACT(B$1,INDEX(i,,1)),0))),""))
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-04-2016
    Location
    Melbourne, Australia
    MS-Off Ver
    Microsoft 365 MSO Version 2208 Build 16.0.15601.20764 64-bit
    Posts
    25

    Re: Help extracting strings from a cloud dataset

    Wow Ali you are unbelievable!! Thank you so much for the incredible help. I've been stewing over this issue all day.

    Can't thank you enough for showing me the solution. Now to unravel your teachings and learn

    Thanks and have a great week!

    Mike

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,091

    Re: Help extracting strings from a cloud dataset

    Shout if you want an explanation.

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  9. #9
    Registered User
    Join Date
    07-04-2016
    Location
    Melbourne, Australia
    MS-Off Ver
    Microsoft 365 MSO Version 2208 Build 16.0.15601.20764 64-bit
    Posts
    25

    Re: Help extracting strings from a cloud dataset

    I'll absolutely give you the reputation you deserve And will close out the thread. Can I please trouble you for an explanation before I close this out.

    Thank you

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,091

    Re: Help extracting strings from a cloud dataset

    Yes, sure.

    SUBSTITUTE(TEXTSPLIT($A2,":",","),"""","")

    produces this:

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    B
    C
    6
    applicationName Biz
    7
    managedBy [email protected]
    8
    ownedBy [email protected]
    9
    projectName ztalk
    10
    businessUnit ENT
    11
    requestID M-PRJ0048360
    12
    environment DEV
    13
    dataClassification Confidential
    14
    costCentre Z3064N
    15
    telstraBackup POL01
    16
    telstraManaged true
    17
    telstraPatching Thu9PM_Win
    18
    costcentre Z3001N
    Sheet: Sheet1

    and writes it to memory as a parameter (i).

    IFERROR(TRIM(INDEX(INDEX(i,,2),MATCH(TRUE,EXACT(B$1,INDEX(i,,1)),0))),"")

    uses the parameter (i) as a lookup table to find matches. The EXACT function within the INDEX MATCH makes the lookup case-sensitive.

  11. #11
    Registered User
    Join Date
    07-04-2016
    Location
    Melbourne, Australia
    MS-Off Ver
    Microsoft 365 MSO Version 2208 Build 16.0.15601.20764 64-bit
    Posts
    25

    Re: Help extracting strings from a cloud dataset

    Wow I had no idea this was even possible.. I'll have to share this with the team.

    Ali thanks again for the amazing help and guidance. Enjoy the rest of the week :D

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,091

    Re: Help extracting strings from a cloud dataset

    You're welcome. Please mark this (and ALL of your previous threads) as SOLVED.

  13. #13
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: Help extracting strings from a cloud dataset

    Just for fun... no copy/paste needed. All the results in one go.

    Just delete all expected results and paste this into B2. If you need more rows, just change the bit in RED.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Best method of extracting data from large dataset
    By Manchesterpolstudent in forum Excel General
    Replies: 2
    Last Post: 08-07-2017, 03:01 PM
  2. Extracting Strings from .PDF
    By DaProStudent in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-02-2017, 04:31 PM
  3. cloud to cloud backup for office 365 account
    By dave622 in forum Office 365
    Replies: 2
    Last Post: 01-18-2017, 02:09 PM
  4. Extracting hourly data from dataset
    By fracyks in forum Excel General
    Replies: 2
    Last Post: 09-28-2016, 12:16 AM
  5. Extracting info from ongoing dataset and performing simple calcs on data
    By gdillabough in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-10-2014, 02:31 PM
  6. Extracting strings from Sub-name
    By konfis in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-20-2012, 11:08 AM
  7. Extracting times from dataset titles
    By ad9051 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-03-2011, 06:12 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1