Importing JSOn file into Excel

Anonymous
2024-05-14T19:41:53+00:00

I have a JSON file. I tried to import using Get Data in Excel. Excel says "succeeded" but it only show 5 rows. See screenshot.

Somehow it is not parsing the entire Json file? please help. I am completely new to JSON. Thanks.

Microsoft 365 and Office | Excel | For home | MacOS

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Anonymous
    2024-05-15T00:09:57+00:00

    import using Get Data in Excel.

    I guess no general build-in function for import json.

    Json files have different formats,so that you have to parse string by yourself.

    0 comments No comments
  2. Jim G 133.9K Reputation points MVP Volunteer Moderator
    2024-05-15T17:41:48+00:00

    Hi

    From the screen shot it looks like there could be an empty row in the data set. An empty row signifies the end of the data range. The original JSON file should be checked and empty rows be removed.

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-05-15T18:19:17+00:00

    Thanks makes sense, what is the easiest way for a newbie to remove those rows? I tried this https://codebeautify.org/remove-empty-lines

    which converted to a CSV but the output is still unstructured.

    Here is the json file image (partial). I used microsoft Azure to extract data from a form but I don't see how to use it from json.

    Thanks.

    here is the result.

    1 person found this answer helpful.
    0 comments No comments
  4. Jim G 133.9K Reputation points MVP Volunteer Moderator
    2024-05-17T19:08:21+00:00

    Hi

    Although I am an Expert in Excel, I am not an expert with JSON. You might explore https://stackoverflow.com/ and see if you can find an app that lets you edit the file.

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2024-05-17T23:01:07+00:00

    // ?s=1115

    //with javascript

    o={"status":"success","dateTime":"2024-05-18"}

    arr=new Array;

    arr.push(o.status)

    arr.push(o.dateTime)

    arr2=new Array

    arr2.push(arr)

    console.table(arr2)

    0 comments No comments