Move text in cell to row above

trevolly

Board Regular
Joined
Aug 22, 2021
Messages
120
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I'm wondering if anyone would help with this... I have a table that we use to list information for when another shift starts. Sometimes some of this data becomes out of date and we clear the contents / text in the relevant row (I don't want to delete the whole row, the sheet is protected although editing of specific rows is available). This leaves a gap / blank in the table of info.

Id like to be able to highlight the data in the rows below by click shift and then move the typed content up in to the blank rows. I don't want to delete or insert rows.

For example in the screenshot I've attached Id like to click shift (represented by the green box drawn around the content) the three rows of content in rows 35, 36 and 37 and then move them up to fill the two gaps in rows 33, 34 and 35.

Is this possible? I can copy and paste but because they are merged cells I get a warning about pasting over content and if I do if unmerges the cells.

Thank you
 

Attachments

  • Screenshot 2022-04-03 130416.jpg
    Screenshot 2022-04-03 130416.jpg
    255.3 KB · Views: 11

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
First of all, you should avoid merging cells because they almost always cause problems, particularly for macros. You could simply widen a column if you need more space or do a little research into "CenterAcrossSelection". This has the same effect as merging without actually merging any cells. I would suggest re-designing your sheet to remove all the merged cells. Secondly, you said that you want to move up three rows of data. Based on the picture you posted, there are only two blank rows above the data you highlighted. Also, if you move any data, that would leave more blank rows. Please clarify in detail and also what you mean by "click shift". It would be easier to help if you could use the XL2BB add-in (icon in the menu) to attach a screenshot (not a picture) of your sheet. Alternately, you could upload a copy of your file to a free site such as www.box.com or www.dropbox.com. Once you do that, mark it for 'Sharing' and you will be given a link to the file that you can post here. Explain in detail what you want to do referring to specific cells, rows, columns and sheets using a few examples from your data (de-sensitized if necessary).
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,691
Members
448,978
Latest member
rrauni

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top