+ Reply to Thread
Results 1 to 3 of 3

Organize a large cell of data (tough task)

  1. #1
    Registered User
    Join Date
    12-12-2014
    Location
    NYC
    MS-Off Ver
    2010
    Posts
    43

    Organize a large cell of data (tough task)

    Hi all,

    I'm trying to figure out how to pull certain data from a large set of raw data that is pulled automatically(API).

    When the data is pulled in, a single cell shows: { "total": "343", "limit": "2", "offset": "0", "data": { "0": { "DATA1": "info24", "DATA2": { "0": "tag" }, "Cp": "1.30", "DATA3": "170", "DATA4": { "20140317": "1", "20140318": "1" } }, "1": { "INFO1": "info34", "INFO2": { "0": "tag" }, "Cp": "0.00", "INFO3": "170", "INFO4": { "20140317": "1", "20140318": "1" } } } }

    I want to create a formula that will output and organize the data like:

    Column 1 Column 2
    DATA1 info24
    DATA2 info34

    I've been stuck on this for the whole day. I can't change or delimit the original raw data since its dynamic and sometimes there may need to be more rows of data, in this case it is only two.

    Anyone got any creative solutions?

    Thanks in advance!

  2. #2
    Forum Contributor
    Join Date
    06-21-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    191

    Re: Organize a large cell of data (tough task)

    If that string is in, say, A1, you could do something like this in in your new cell where you want the data:

    =MID(A1,FIND("DATA1",A1)+9,6)

    Note that it finds DATA1 without the quotes. +9 is to extend the start position for the MID function. 6 is the length of text to return.

    Should "info24" be a variable length string, then you can use the same approach to find the comma after "DATA1" - FIND(",",A1,FIND("DATA1",A1)). Then you can use the LEN function to get exact positions for the MID to work.

    Hope that makes sense, or at least gets you going in the right direction.

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Organize a large cell of data (tough task)

    Pl see file
    ARRAY formula is used

    To enter ARRAY formula
    Paste the formula
    Press F2
    Press Ctrl+Shift+Enter keys together.

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. [SOLVED] Organize large space delimited text file into appropriate rows and columns in excel.
    By rdlaner in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-29-2013, 02:25 PM
  2. Randomizing or Shuffling Multiple Cells – Simple Task Tough Formula
    By randysiems in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-11-2013, 01:32 PM
  3. [SOLVED] IF contingent task closed, THEN change formatting of dependent task cell
    By tek_9 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-29-2012, 08:40 PM
  4. Automate a Large Copy and Paste Task
    By The Cardinal in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-16-2009, 03:57 AM
  5. [SOLVED] dialog box for active cell task to speed repeditive task
    By Todd F. in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-09-2005, 10:05 AM

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