简体   繁体   中英

What formula will work in Google Sheets to split and extract data from one cell to multiple cells?

I have cells with 4 pieces of information in each cell. Each piece of information has a label.

I'm trying to extract the 4 pieces of information (without the labels) into the next 4 cells.

Results I'm Looking for: Columns EH to list the corresponding data (pulled from Column D), without the Labels (Calendar:, Start Time:, End Time:, Details:)

EXAMPLE:

COLUMN D

|Calendar: 02/08/2019, Start Time: 12:00 PM, End Time: 10:00 PM, Details: Birthday|

Should break into COLUMN E - H as

| 02/08/2019 | 12:00 PM | 10:00 PM | Birthday|

我找到了这个解决方案,它既丑又长 - 但它有效!

=SPLIT(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(D9,"Calendar: ","^"),", Start Time: ","^"),", End Time: ","^"),", Details: ","^"),"^",TRUE,TRUE)

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