TheNarddog
New Member
- Joined
- Sep 28, 2022
- Messages
- 5
Hi
If I have data from A2 (which includes the headings) to column I, with an unknown number of rows of data below (never more than 100 rows really) I was wondering if someone can help with a code for my spreadsheet. I've managed to do bits separately but can't combine it into 1 automated action as I'm not the best on excel.
If a cell in column G is double clicked, I want the cell in column G to fill with "Yes" and then the row automatically moves to the bottom of the data into order (with the other rows with a G cell filled as "Yes". The row would slot itself in terms of the order I mention in the next bit.
Secondly, I was wanting the rows of data from column A to I to automatically arrange itself when data is changed based on multiple headings.
So in terms of order:
Column G, ascending,
then Column A ascending
then Column F ascending
then Column E ascending
So if say data is changed in one of the rows of column A, that row would then jump into the correct order automatically without having to press Ctrl+ a key.
If this second bit can be done I wonder if that will automatically solve the first part of wanting "Yes" cells in row G to move automatically. It will also help for when the cell is turned back to "No" in column G for the row to jump back up the order.
I've been able to manage some of this in separate codes and using Ctrl+ a key to make the code run but I want to combine and automate it.
Thanks in advance.
If I have data from A2 (which includes the headings) to column I, with an unknown number of rows of data below (never more than 100 rows really) I was wondering if someone can help with a code for my spreadsheet. I've managed to do bits separately but can't combine it into 1 automated action as I'm not the best on excel.
If a cell in column G is double clicked, I want the cell in column G to fill with "Yes" and then the row automatically moves to the bottom of the data into order (with the other rows with a G cell filled as "Yes". The row would slot itself in terms of the order I mention in the next bit.
Secondly, I was wanting the rows of data from column A to I to automatically arrange itself when data is changed based on multiple headings.
So in terms of order:
Column G, ascending,
then Column A ascending
then Column F ascending
then Column E ascending
So if say data is changed in one of the rows of column A, that row would then jump into the correct order automatically without having to press Ctrl+ a key.
If this second bit can be done I wonder if that will automatically solve the first part of wanting "Yes" cells in row G to move automatically. It will also help for when the cell is turned back to "No" in column G for the row to jump back up the order.
I've been able to manage some of this in separate codes and using Ctrl+ a key to make the code run but I want to combine and automate it.
Thanks in advance.