メインコンテンツへスキップ

Excel の連結 (セルの分割) の反対 - 4 つの簡単な方法

Excel の連結関数は、複数のセルの内容を 1 つのセルに結合するために使用されますが、場合によってはその逆、1 つのセルの内容を複数のセルに分割することが必要になる場合があります。この操作は、データの分析と整理に非常に役立ちます。この記事では、これを実現するための 4 つの簡単な方法を紹介します。これにより、初心者でも上級ユーザーでも、Excel でデータをより効果的に管理できるようになります。

Excel で CONCATENATE の逆を実行する


数式を使用して CONCATENATE の逆を実行する

CONCATENATE 関数の逆を実行するには、特定の区切り文字に基づいてテキスト文字列を複数のセルに分割するのに役立つ数式を使用できます。

  1. 結果を入力する空のセルに次の数式を入力またはコピーし、フィル ハンドルをセルの右にドラッグしてこの数式を入力すると、セル A2 のセル値が別々のセルに分割されます。スクリーンショットを参照してください。
    =TRIM(MID(SUBSTITUTE($A2," ",REPT(" ",999)),COLUMNS($A:A)*999-998,999))
    Note: 上記の数式では、異なる区切り文字を使用してセル値を複数のセルに分割することもできます。単に交換するだけです 最初の引用符の間のスペース 選択した区切り文字を使用して。
  2. 次に、この数式を適用するセル範囲まで塗りつぶしハンドルをドラッグし続けます。これを行うと、次のスクリーンショットに示すように、すべてのセル値が個別の列に分割されます。
ヒント: Excel 365 の数式

Excel 365 を使用している場合は、よりシンプルで効率的な関数が見つかります。 テキスト分割 データを複数の列に分割する場合に使用できます。

  1. を押した後、次の式を適用してください。 入力します キーを押すと、スペースで区切られた各項目が自動的に個別の列に入ります。スクリーンショットを参照してください。
    =TEXTSPLIT(A2, " ")
  2. 次に、結果を含むセルを選択し、塗りつぶしハンドルを下にドラッグして数式を適用し、残りの結果を取得します。スクリーンショットを参照してください。

強力な機能を使用して CONCATENATE の逆を実行します

Kutools for Excel ユーザーフレンドリーを提供します 分割セル このスマートな機能を使用すると、必要に応じて区切り文字に基づいてセルの内容を複数の列または行にすばやく分割できます。

Note:こんな場合はこちらをご利用ください 分割セル 特徴を教えてください Kutools for Excelをダウンロードしてインストールします 最初。

ダウンロードしてインストールした後 Kutools for Excel、次に、 クツール > マージ&スプリット > 分割セル これを可能にする 分割セル 特徴。ダイアログ ボックスで、次のようにオプションを設定してください。

  1. ボタンを押して、分割したいデータリストを選択します。 スプリットレンジ セクション;
  2. セクション、選択 列に分割 オプション;
  3. ノーザンダイバー社の 分割 セクションでは、セルの内容を分割する基準となる区切り記号を選択してください。ここで、私が選択します スペース;
  4. 次に、をクリックします。 OK ボタン;
  5. 別のプロンプト ボックスで、結果を入力するセルをクリックします。
  6. OK 結果を得るために。
Note: この機能を適用するには、 Kutools for Excelをダウンロードしてインストールします 最初。

フラッシュ フィル機能を使用して CONCATENATE の逆を実行します。

Excel 2013 以降のバージョンでは、フラッシュ フィルとして知られる注目すべき機能が導入されました。このツールは、セルにデータを自動的に入力するだけでなく、セルの内容をシームレスに分割することもできます。このセクションでは、フラッシュ フィル機能を使用して Excel でデータを分割する方法を説明します。

  1. データを分割する元のデータ列の隣のセル (B2) に、希望の名前「Lucky」を入力します。次に、 を押します。 入力します 次のセルに移動するキー。スクリーンショットを参照してください:
  2. その後、プレス Ctrlキー+ E 残りのセルに値を入力するには、スクリーンショットを参照してください。
  3. [姓] 列と [誕生日] 列でも同じ手順に従うと、以下のデモのような結果が得られます。
注意:
  • フラッシュ フィルでは、出力データが元のデータに隣接し、間に空白列が存在しないことが必要です。
  • フラッシュ フィル機能から得られる結果は静的です。つまり、元のデータが更新された場合は、その変更を反映するために機能を再実行する必要があります。
  • この Fill Flash 機能の詳細については、こちらをご覧ください。 フラッシュ フィルを使用した Excel データ入力のマスター チュートリアル。

Text to Column 機能を使用して CONCATENATE の逆を実行します。

実際、Excel では、テキストを列に変換する機能は連結関数の逆であり、この機能を適用すると、必要な区切り記号によってセルの値を複数のセルに分割できます。

  1. 分割するセルを選択します。そして、クリックします 且つ > テキストから列へ、スクリーンショットを参照してください:
  2. In テキストを列に変換ウィザードのステップ 1選択 区切り文字付き オプションをクリックし、をクリックします Next ボタン、スクリーンショットを参照してください:
  3. In ウィザードのステップ 2、下で使用する区切り文字を指定します。 デリミタ オプション。ここで、確認してみます スペース。そして、続けてクリックしてください。 Next ボタン、スクリーンショットを参照してください:
  4. In ウィザードのステップ 3チェック 生成する私はその下にいます 列データ形式をクリックし、分割値を配置するセルを選択します。 開催場所 分野。最後にクリックします 終了 ボタン、スクリーンショットを参照してください:
  5. これで、選択したセルの値が複数の列に分割されました。スクリーンショットを参照してください。

これらの各メソッドは、さまざまなユーザー設定やデータの複雑さのレベルに対応し、Excel での効率的なデータ操作と編成を可能にします。名前、日付、その他の構造化データを分割する必要がある場合でも、これらの手法は Excel のスキルを強化し、データ管理機能を向上させるための貴重なソリューションを提供します。 Excel のヒントやテクニックをさらに詳しく知りたい場合は、当社の Web サイトで何千ものチュートリアルをご覧ください。 ここをクリックしてアクセスしてください。 読んでいただきありがとうございます。今後さらに役立つ情報を提供できることを楽しみにしています。


関連記事:

  • テキスト文字列を区切り記号で複数の行に分割する - 3 つの簡単な方法
  • 通常、Text to Column 機能を使用して、コンマ、ドット、セミコロン、スラッシュなどの特定の区切り文字でセルの内容を複数の列に分割できます。ただし、区切りセルの内容を複数の行に分割する必要がある場合もあります。下のスクリーンショットに示すように、他の列のデータを繰り返します。 このタスクを Excel で処理するための良い方法はありますか? このチュートリアルでは、Excel でこのジョブを完了するための効果的な方法を紹介します。
  • 大きなテーブルを複数の小さなテーブルに分割する
  • 複数の列と数百または数千行のデータを含む大きなワークシートがある場合、次の結果を得るために、列の値または行数に基づいて、この大きなテーブルを複数の小さなテーブルに分割します。 Excelでこのタスクをどのように処理できますか?
  • フルネームを姓名に分割する
  • 下のXNUMXつの列に最初のスクリーンショットが示すように名前名簿があり、次のスクリーンショットに示すように、フルネームを名の列、ミドルネームの列、姓の列に分割する必要があるとします。 この問題を解決するのに役立ついくつかのトリッキーな方法があります。
  • テキストを大文字で別々の列に分割する
  • 次のスクリーンショットに示すように、セルの内容を大文字で別々の列に分割したいデータの範囲があるとすると、Excelでこの問題を解決するための良いアイデアはありますか?
Comments (16)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Many thanks for your wonderful website and the helpful solutions.
I am using a form on my website to collect CVs and the excel output is like below:

Degree | College Name | Discipline | Year of Graduation | GPA
Masters | Oxford | Mathematics | 2020 | 88
Bachelors | Cambridge | Chemistry | 2016 | 76
Diploma | George's School | Arts | 2012 | 94

All the above lies in a single cell in excel / CSV file.

Can anybody please help me how I can rearrange all this into an excel table with each cell showing part of the entries.

I appreciate your solutions.

best regards,
Nasser
This comment was minimized by the moderator on the site
Hello, Emami

To split the data you provided, both the formula and Text to Column feature can help you. please do as this:
Method1: formula: (After pasting the formula, drag the fill handle right to get the first line result, and then drag the fill handle down to get other results.)
=TRIM(MID(SUBSTITUTE($A1,"|",REPT(" ",999)),COLUMNS($A:A)*999-998,999))

https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-reverse-concatenate.png

Method2: Text to Column:
By using Text to Column feature step by step, and in step3, please enter | character into Other box:
https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-reverse-concatenate-2.png

Please try, hope it can help you!
This comment was minimized by the moderator on the site
Dear skyyang,
Many thanks for the reply.
First, I cannot use the text to column method because this process has to be done automatically by a formula.
Second, the problem is the table output I receive from csv file (the form entry) is saved in a single cell not in three rows.
ie. All three rows (A1:A4) are stored in one single cell not 4 cell in 4 rows.
I hope you understand my problem and can provide me with a solution.

thanks.
This comment was minimized by the moderator on the site
Hello, Emami,
If your data in a single cell, first, you should split the data into multiple rows based on the line breaks. to split the data into rows, please use this code:
Sub SplitCells()
'Update by Extendoffice
Dim Rng As Range
Dim WorkRng As Range
On Error Resume Next
xTitleId = "KutoolsforExcel"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
For Each Rng In WorkRng
    lLFs = VBA.Len(Rng) - VBA.Len(VBA.Replace(Rng, vbLf, ""))
    If lLFs > 0 Then
        Rng.Offset(1, 0).Resize(lLFs).Insert shift:=xlShiftDown
        Rng.Resize(lLFs + 1).Value = Application.WorksheetFunction.Transpose(VBA.Split(Rng, vbLf))
    End If
Next
End Sub


Applying the code to split the data into multiple rows, see screenshot:
https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-split-data.png

Then, you can use this formula to split them into multiple columns as you need.
=TRIM(MID(SUBSTITUTE($A1,"|",REPT(" ",999)),COLUMNS($A:A)*999-998,999))


Please have a try, hope it can help you, if you have any other problem, please comment here.
This comment was minimized by the moderator on the site
I believe it has something to do with having over a certain amount of value in a cell. How does one use this formula with large strings?
This comment was minimized by the moderator on the site
Thank you for this. I had a strange occurence where two strings of text produced #Value!, while all the rest was fine. Any idea why this would happen?
This comment was minimized by the moderator on the site
just want to know if in a cell content i.e (123). can it be splitted to multiple column seperately as cell1 as 1, cell2 as 2 and cell3 as 3
This comment was minimized by the moderator on the site
my query is below
from given data
A B
1 Capital Account Capital Account 6,62,73,000.00
2 SHARE CAPITAL A/C SHARE CAPITAL A/C 67,17,300.00
3 SHARE PREMIUM A/C SHARE PREMIUM A/C 5,95,55,700.00


I need in column C (C + B-A) i.e
C
1 6,62,73,000.00

2 67,17,300.00

3 5,95,55,700.00
This comment was minimized by the moderator on the site
sorry I m not see perfect in first time
this formula is perfect and correct
This comment was minimized by the moderator on the site
you are A Rong Talling thissss formula
This comment was minimized by the moderator on the site
Excellent directions!
This comment was minimized by the moderator on the site
oh snap, i got it above...using text to columns then split option = 'space'
This comment was minimized by the moderator on the site
Thank you so much, helpful indeed. What if there is no comma delimiter in between the words like, "Steve Simpson" and you still want to split?
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations