How to Move Highlighted Cells in Excel (5 Ways)

We’ll use the data of 10 employees of a company. Their names and salaries are in columns B and C. We will highlight the entities that are in the Salary range between $3,000 and $4,000. Then, we will move them to the top or bottom of our dataset.


Method 1 – Use the Sort Command to Move Highlighted Cells

Steps:

  • Select the entire range of cells B4:C14.
  • In the Home tab, select Conditional Formatting.
  • Click on Highlight Cell Rules and choose Between.

Use of Built-in SORT Feature to Move Highlighted Cells

  • A small dialog box called Between will appear.
  • Write down your desired lowest and highest salary amount like the image shown below. We choose the salary range of $3,000 to $4,000.
  • Choose the cell highlight pattern. We kept the default one, Light Red Fill with Dark Red Text.

  • Click OK to close the dialog box.

Use of Built-in SORT Feature to Move Highlighted Cells

  • You will see the salaries within the range highlighted.
  • In the Data tab, select the Sort & Filter group.
  • Click on Sort.

Use of Built-in SORT Feature to Move Highlighted Cells

  • A small dialog box called Sort will appear.
  • Click on the drop-down arrow of the Column option and choose Salary.
  • Change the Sort On option from Cell Values to Cell Color.
  • Click on the drop-down arrow of the Order option and choose the cell color.
  • Next to the Order drop-down, there is another drop-down. Click on it and you will get 2 options. On Top/On Bottom. Choose one. We kept the On Top option. 
  • Click OK.

Use of Built-in SORT Feature to Move Highlighted Cells

  • You will find all the highlighted rows move up.

Use of Built-in SORT Feature to Move Highlighted Cells

Things You Should Know

As our highlight pattern contains both the cell color and font color, you can also choose the Sort On option with Font Color. The result of both selections will be the same.

Read More: How to Move a Group of Cells in Excel


Method 2 – Drag the Highlighted Cells to Move

Steps:

  • Select the entire range of cells B4:C14.
  • In the Home tab, select Conditional Formatting.
  • Click on Highlight Cell Rules and select Between.

Drag Highlighted Cells to Move

  • A small dialog box called Between will appear.
  • Write down your desired lowest and highest salary amount like the image shown below. We chose the salary range of $3,000 to $4,000.
  • Choose the cell highlight pattern. We kept the default one, Light Red Fill with Dark Red Text.
  • Click OK to close the dialog box.

  • You will see the salaries within the range highlighted.

  • Select any of those highlighted cells with your mouse.
  • If you hover over the edge of the cell, a Move Pointer icon will appear.

Drag Highlighted Cells to Move

  • Select the Move Pointer icon and drag it to the bottom of the dataset with your mouse.

Drag Highlighted Cells to Move

  • Repeat for all of the highlighted cells.
  • When you drag the rows through your mouse, an empty row will be created at that position. Select all of those empty rows.

  • In the Home tab, go to the Cells group and click Delete.

Drag Highlighted Cells to Move

  • You will get all the highlighted cells at the bottom of your dataset.

Drag Highlighted Cells to Move


Method 3 – Move the Highlighted Cells Using the Insert Option

Steps:

  • Select the entire range of cells B4:C14.
  • In the Home tab, select Conditional Formatting.
  • Click on Highlight Cell Rules and choose Between.

Move Highlighted Cells Using Insert Option

  • A small dialog box called Between will appear.
  • Write down your desired lowest and highest salary amount like the image shown below. Here, we choose the salary range of $3,000 to $4,000.
  • Choose the cell highlight pattern. We kept the default one, Light Red Fill with Dark Red Text.
  • Click OK to close the dialog box.

  • You will see the salaries within the range highlighted.
  • Select the range of cells B7:C8.
  • Press Ctrl + X on your keyboard.

Move Highlighted Cells Using Insert Option

  • Select cell B6 and, in the Home tab, select Insert from the Cells group.

Move Highlighted Cells Using Insert Option

  • The range of the cells will move upward.

  • Follow the same procedure for the rest range of cells B10:C10 and B14:C14.
  • You will get all the highlighted cells at the top of your dataset.

Move Highlighted Cells Using Insert Option


Method 4 – Using the Shift Key to Move Cells

Steps:

  • Select the entire range of cells B4:C14.
  • In the Home tab, select Conditional Formatting.
  • Click on Highlight Cell Rules and choose Between.

Using ‘Shift’ Key to Move Cells

  • A small dialog box called Between will appear.
  • Write down your desired lowest and highest salary amount like the image shown below. We chose the salary range of $3,000 to $4,000.
  • Choose the cell highlight pattern. We left the default one, Light Red Fill with Dark Red Text.
  • Click OK to close the dialog box.

  • You will see the salaries within the range highlighted.
  • Select the range of cells B7:C8.
  • Press the Shift key and drag the Move Pointer.

Using ‘Shift’ Key to Move Cells

  • The range of cells will move upward.

Using ‘Shift’ Key to Move Cells

  • Follow the same procedure for the rest range of cells B10:C10 and B14:C14.
  • You will get all the highlighted cells at the top of your dataset.

Using ‘Shift’ Key to Move Cells

Read More: How to Move Cells with Keyboard in Excel


Method 5 – Utilizing the Context Menu

Steps:

  • Select the entire range of cells B4:C14.
  • In the Home tab, select Conditional Formatting.
  • Click on Highlight Cell Rules and choose Between.

Utilizing Context Menu to Move Highlighted Cells in Excel

  • A small dialog box called Between will appear.
  • Write down your desired lowest and highest salary amount like the image shown below. We chose the salary range of $3,000 to $4,000.
  • Choose the cell highlight pattern. We kept the default one, Light Red Fill with Dark Red Text.
  • Click OK to close the dialog box.

  • You will see the salaries within the range highlighted.
  • Select the range of cells B7:C8.
  • Press Ctrl + X on your keyboard.

  • Select cell B6.
  • Right-click and select the Inset Cut Cells option.

Utilizing Context Menu to Move Highlighted Cells in Excel

  • The range of cells will move upward.

Utilizing Context Menu to Move Highlighted Cells in Excel

  • Do the same for the rest range of cells B10:C10 and B14:C14.
  • You will get all the highlighted cells at the top of your dataset.

Utilizing Context Menu to Move Highlighted Cells in Excel

Things You Should Know

If you have only a limited amount of highlighted cells to move, like our dataset, you can follow the manual approaches. Otherwise, we recommend you follow our first method. It will save you time.


Download the Practice Workbook


Related Articles


<< Go Back to Excel Cells | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Soumik Dutta
Soumik Dutta

Soumik Dutta, having earned a BSc in Naval Architecture & Engineering from Bangladesh University of Engineering and Technology, plays a key role as an Excel & VBA Content Developer at ExcelDemy. Driven by a profound passion for research and innovation, he actively immerses himself in Excel. In his role, Soumik not only skillfully addresses complex challenges but also demonstrates enthusiasm and expertise in gracefully navigating tough situations, underscoring his unwavering commitment to consistently deliver exceptional, high-quality content that... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo