-2

I'm using

=importjson to import this API ("https://bitmax.io/api/pro/v1/depth?symbol=RUNE/USDT") 

in a cell of Gsheet documents. The result is this:

Result

Is there a way to split the value in a cell in this way?

This way to format the result of API call

This way to format the result of API call

player0
  • 124,011
  • 12
  • 67
  • 124

1 Answers1

0

try this:

=ARRAYFORMULA(VLOOKUP("X";{"X"\SPLIT(SUBSTITUTE(SUBSTITUTE(G7;",";"|");".";",");"|")};SEQUENCE(COLUMNS(SPLIT(SUBSTITUTE(SUBSTITUTE(G7;",";"|");".";",");"|"))/2;2;2);0))

If that doesn't work, it'd help if you shared a sample sheet.

MattKing
  • 7,373
  • 8
  • 13