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

Excelで別の空白行にデータを貼り付ける方法は?

場合によっては、コピーされた行について、以下のスクリーンショットに示すように、Excelの新しい範囲で複数の空白行に交互に貼り付ける必要があります。 それを達成するためにどのようにできますか? この記事はあなたを助けます。

数式とフィルターを使用して、データを交互の空白行に貼り付けます


数式とフィルターを使用して、データを交互の空白行に貼り付けます

この問題を解決する直接的な方法はありませんが、この記事のちょっとしたトリックで解決できます。 次のようにしてください。

1.コピーしたデータを貼り付ける必要がある新しい範囲で空白のセル(ここではセルD2を選択)を選択し、数式を入力します = MOD(ROW(A1)、2).

2.セルD2を選択し続け、塗りつぶしハンドルを列セルまでドラッグします。 スクリーンショットを参照してください:

3.次にセルD1を選択し、をクリックします 且つ > フィルタ フィルタ機能を有効にします。

4.セルD1のドロップダウン矢印をクリックし、列を番号1でフィルタリングして、最後に[OK]ボタンをクリックします。 スクリーンショットを参照してください:

5.これで、代替の空白行が除外されます。 データをコピーし、フィルタリングされた範囲を選択して、を押してください Ctrlキー + V 同時にキーを押してデータを貼り付けます。

6。 クリック 且つ > フィルタ フィルタ機能をオフにしてから、必要に応じてヘルパー列を削除します。 スクリーンショットを参照してください:

最高のオフィス生産性向上ツール

🤖 Kutools AI アシスタント: 以下に基づいてデータ分析に革命をもたらします。 インテリジェントな実行   |  コードを生成  |  カスタム数式の作成  |  データを分析してグラフを生成する  |  Kutools関数を呼び出す...
人気の機能: 重複を検索、強調表示、または識別する   |  空白行を削除する   |  データを失わずに列またはセルを結合する   |   数式なしのラウンド ...
スーパールックアップ: 複数の基準の VLookup    複数の値の VLookup  |   複数のシートにわたる VLookup   |   ファジールックアップ ....
詳細ドロップダウン リスト: ドロップダウンリストを素早く作成する   |  依存関係のドロップダウン リスト   |  複数選択のドロップダウンリスト ....
列マネージャー: 特定の数の列を追加する  |  列の移動  |  Toggle 非表示列の表示ステータス  |  範囲と列の比較 ...
注目の機能: グリッドフォーカス   |  デザインビュー   |   ビッグフォーミュラバー    ワークブックとシートマネージャー   |  リソースライブラリ (自動テキスト)   |  日付ピッカー   |  ワークシートを組み合わせる   |  セルの暗号化/復号化    リストごとにメールを送信する   |  スーパーフィルター   |   特殊フィルター (太字/斜体/取り消し線をフィルター...) ...
上位 15 のツールセット12 テキスト ツール (テキストを追加, 文字を削除する、...)   |   50+ チャート 種類 (ガントチャート、...)   |   40+ 実用的 (誕生日に基づいて年齢を計算する、...)   |   19 挿入 ツール (QRコードを挿入, パスから画像を挿入、...)   |   12 変換 ツール (数字から言葉へ, 通貨の換算、...)   |   7 マージ&スプリット ツール (高度な結合行, 分割セル、...)   |   ... もっと

Kutools for Excel で Excel スキルを強化し、これまでにない効率を体験してください。 Kutools for Excelは、生産性を向上させ、時間を節約するための300以上の高度な機能を提供します。  最も必要な機能を入手するにはここをクリックしてください...

説明


Officeタブは、タブ付きのインターフェイスをOfficeにもたらし、作​​業をはるかに簡単にします

  • Word、Excel、PowerPointでタブ付きの編集と読み取りを有効にする、パブリッシャー、アクセス、Visioおよびプロジェクト。
  • 新しいウィンドウではなく、同じウィンドウの新しいタブで複数のドキュメントを開いて作成します。
  • 生産性を 50% 向上させ、毎日何百回もマウス クリックを減らすことができます!
Comments (12)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Instead of using 1s and 0s you can just use 1,2,3,4,... next to the cells you want to alternate.
Then paste the exact same sequence under underneath (like this)
1
2
3
4
1
2
3
4

Then just with the data filter (like in the original example) just sort by ascending or descending and you will have blank rows

(Credit to my friend Angus)
This comment was minimized by the moderator on the site
Thanks a lot Chris! This is a great idea!
This comment was minimized by the moderator on the site
Hi Chris,
Thank you very much for sharing your method.
This comment was minimized by the moderator on the site
I just get the first line of the data I'm copying filling all the rows. Tried using 'skip blanks' but it doesn't work.
This comment was minimized by the moderator on the site
It only works if you copy a single cell, which pretty is useless. For a range of data it doesn't work.
This comment was minimized by the moderator on the site
Thanks. Works with Google Sheets (April 2020). Use formula =MOD(ROW(),2) to create the alternating pattern.

The cell you create your filter in gets turned into a header, so you want to select the cell ABOVE your range and in the data menu choose create filter. It should auto-detect your number range and add a filter. Or you could just highlight your whole range (+ 1 cell above it) beforehand.

Click the little filter icon that appears in the header cell to adjust settings of what to display.

When done you can then copy paste your result into another program if needed.
This comment was minimized by the moderator on the site
didnt work for me either
This comment was minimized by the moderator on the site
Hi,
This method works well in my case.
Which Office version do you use?
This comment was minimized by the moderator on the site
shows alternate rows but when i paste, it pastes normal way, doesnt skip cells.
This comment was minimized by the moderator on the site
You have to keep space between copied cells, in order for this to work!
This comment was minimized by the moderator on the site
It doesn't work
This comment was minimized by the moderator on the site
This doesn't work for me. I have Microsoft Office 2010, so whichever version of excel comes with that I am not quite sure but either way it doesn't work. When I paste it pastes to ALL rows. So, when I paste I only see half of what I pasted, when I turn the filter off I see everything I pasted =/
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations