How does one autofill a column of cells that have been merged. In this case two rows per cell have been merged. Doing this the usual way fills the original cells prior to merging.
Ctrl+C and Ctrl+V
@SteveK9 : I am not sure if i understand you.
Could you explain (step by step) what you are trying todo. Thanks.
Concerning the terms: It’s bad usage to talk of “merged cells”. Spreadsheets always (logically) consist of all the cells they ever had. Cells never are actually merged. What’s merged is the area of some cells which then is used as a larger display for whatever the topmost leftmost of the covered cells contains. The cells behind the merged area still exist, can have content, and can be referenced.
There is no “autofill for merged cells”.
This may be one of the many reasons to consider merging evil.
To implement something looking like an autofill for merged areas as if they are cells will require user code.
It may be ‘bad usage’, although the command has always said ‘merge and center cells’. Not a spreadsheet aficionado, so I never realized that cells that have been merged, display only the top, leftmost cell, without decreasing the number of cells. I have someone else’s spreadsheet with a column of ‘merged area’ cells (better?) with dates and it would have been nice to autofill them, rather than typing all the dates. But, I understand what you said, and it sounds like I am out of luck.
If you have a really big “project” of the kind (hundreds of entries) you can write a macro for the task.
You don’t want or don’t feel capable of doing so? Well, you may not be completely out of luck nonetheless.
To avoid programming you can work around the propblem this way:
-1- Insert temporarily an adjacent column to the one with merged cells (Yes. Everybody speaks this way.)
-2-Create the needed content for the mentioned “TopCells” there by formulas or any appropriate fill procedure.
-2a- It might be a good idea to make sure the cells adjacent to hidden ones are empty at the end. But if there aren’t side-effects (due to hidden contents or unknown references) this isn’t necessary.
Copy this column (or the restricted range).
-4- Goto the first cell of the target.
Paste Special... and select the wanted content types only. NO FORMATS!
See attachment: ask266876workaroundForFillingColumnWithMergedCells_1.ods
Concerning -2a- you may use filtering.
Thanks. I had tried this, but did not ‘Paste Special’, which works.