简体   繁体   中英

How to get a particular value from an array like data in a cell in Excel

i have values formatted in this format in a cell in excel:

{ "DATA1":"ABC" "DATA2":"DEF" "DATA3":123 "DATA4":456 }

could anyone please help me to figure out a formula to get for eg if i want to only extract the data in "DATA1"?

many thanks!

Try separating delimiters by Spaces:

=TRIM(MID(SUBSTITUTE(SUBSTITUTE(A1,""" ",REPT(" ",99)),":""",REPT(" ",99)),99,99))

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM