default_name
Board Regular
- Joined
- May 16, 2018
- Messages
- 180
- Office Version
- 365
- 2016
- Platform
- Windows
- MacOS
I have a group of cells (A2:C20) that constantly has new information.
I always have to go into the data/range and sort the values so that they are in order by date.
Since the content of this group of cells is always changing, it is kind of annoying to have to re-sort the list all the time.
Is there a way to only automate this area (A2:C20) of the spreadsheet, so that it automatically sorts by date (column A) as I enter data?
Here's an example:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A
[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C
[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Date
[/TD]
[TD]Item
[/TD]
[TD]Amount
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]4/25/19[/TD]
[TD]ABCCC11234[/TD]
[TD]$463.78[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]5/19/19[/TD]
[TD]JNLNFMSL2345[/TD]
[TD]$1173.12[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]5/21/19[/TD]
[TD]KNDFN13205[/TD]
[TD]$24.14[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]9/1/19[/TD]
[TD]DASFHK734N[/TD]
[TD]$338.25[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
If I enter in a value at the end, like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A
[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C
[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Date
[/TD]
[TD]Item
[/TD]
[TD]Amount
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]4/25/19[/TD]
[TD]ABCCC11234[/TD]
[TD]$463.78[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]5/19/19[/TD]
[TD]JNLNFMSL2345[/TD]
[TD]$1173.12[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]5/21/19[/TD]
[TD]KNDFN13205[/TD]
[TD]$24.14[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]9/1/19[/TD]
[TD]DASFHK734N[/TD]
[TD]$338.25[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]4/29/19[/TD]
[TD]FDBN2283KJK[/TD]
[TD]$6792.02[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'd like it to automatically re-sort itself like so:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A
[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C
[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Date
[/TD]
[TD]Item
[/TD]
[TD]Amount
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]4/25/19[/TD]
[TD]ABCCC11234[/TD]
[TD]$463.78[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]4/29/19[/TD]
[TD]FDBN2283KJK[/TD]
[TD]$6792.02[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]5/19/19[/TD]
[TD]JNLNFMSL2345[/TD]
[TD]$1173.12[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]5/21/19[/TD]
[TD]KNDFN13205[/TD]
[TD]$24.14[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]9/1/19[/TD]
[TD]DASFHK734N[/TD]
[TD]$338.25
[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Is this even possible?
Thanks in advance for your help
I always have to go into the data/range and sort the values so that they are in order by date.
Since the content of this group of cells is always changing, it is kind of annoying to have to re-sort the list all the time.
Is there a way to only automate this area (A2:C20) of the spreadsheet, so that it automatically sorts by date (column A) as I enter data?
Here's an example:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A
[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C
[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Date
[/TD]
[TD]Item
[/TD]
[TD]Amount
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]4/25/19[/TD]
[TD]ABCCC11234[/TD]
[TD]$463.78[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]5/19/19[/TD]
[TD]JNLNFMSL2345[/TD]
[TD]$1173.12[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]5/21/19[/TD]
[TD]KNDFN13205[/TD]
[TD]$24.14[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]9/1/19[/TD]
[TD]DASFHK734N[/TD]
[TD]$338.25[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
If I enter in a value at the end, like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A
[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C
[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Date
[/TD]
[TD]Item
[/TD]
[TD]Amount
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]4/25/19[/TD]
[TD]ABCCC11234[/TD]
[TD]$463.78[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]5/19/19[/TD]
[TD]JNLNFMSL2345[/TD]
[TD]$1173.12[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]5/21/19[/TD]
[TD]KNDFN13205[/TD]
[TD]$24.14[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]9/1/19[/TD]
[TD]DASFHK734N[/TD]
[TD]$338.25[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]4/29/19[/TD]
[TD]FDBN2283KJK[/TD]
[TD]$6792.02[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'd like it to automatically re-sort itself like so:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A
[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C
[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Date
[/TD]
[TD]Item
[/TD]
[TD]Amount
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]4/25/19[/TD]
[TD]ABCCC11234[/TD]
[TD]$463.78[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]4/29/19[/TD]
[TD]FDBN2283KJK[/TD]
[TD]$6792.02[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]5/19/19[/TD]
[TD]JNLNFMSL2345[/TD]
[TD]$1173.12[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]5/21/19[/TD]
[TD]KNDFN13205[/TD]
[TD]$24.14[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]9/1/19[/TD]
[TD]DASFHK734N[/TD]
[TD]$338.25
[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Is this even possible?
Thanks in advance for your help
Last edited: