Excel Automatically Sort When Data Changes or Added | Auto Sort Excel Formula | Auto Sort Macro

Excel Automatically Sort When Data Changes or Added | Auto Sort Excel Formula | Auto Sort Macro

Chester Tugwell

3 года назад

127,582 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@VVRATHH
@VVRATHH - 02.11.2023 20:23

Perfect tutorial, thank you so much

Ответить
@james4wd236
@james4wd236 - 19.10.2023 01:58

I know nothing about Excel and this just blew my mind...

Ответить
@ABellaLuna
@ABellaLuna - 26.09.2023 05:32

Is there a way to do this when its sorting more information?
I have a list of projects where the due dates change as do the priority (High, Medium, Low). Is there a way to sort it first by Priority then by Due Date?

Ответить
@DanaVais
@DanaVais - 14.09.2023 20:03

What about when you need to sort text data by list. Meaning I have Type A, Type B, and Type C (not alphabetical) and need it sorted in that order. How do I do that?

Ответить
@timrussell2488
@timrussell2488 - 17.08.2023 22:48

What formula would you use if you had more than 1 record that was a tie when you did the countif?

Ответить
@SecretVoodoo
@SecretVoodoo - 12.07.2023 18:54

Looked really hard for something similar to auto sort for one of my projects and at last, i stumbled upon your video. Really great tutorial, my query is solved now!

Ответить
@PNWDan
@PNWDan - 09.06.2023 21:54

Love the webpage. Might be good to add an example of a two-column sort, which I needed.

Ответить
@user-lp1od4fy9d
@user-lp1od4fy9d - 18.04.2023 13:02

THis is brilliant thankyou. But when i am ranking by date i have multiple dates which are the same can i assign a unique rank number as i have multiple repeated.

Ответить
@kelleygeary3461
@kelleygeary3461 - 06.04.2023 22:43

how do you write the VBA to allow inserting a new row?

Ответить
@washingtonamollo4365
@washingtonamollo4365 - 11.03.2023 07:18

Good work

Ответить
@mikevanlieshout1624
@mikevanlieshout1624 - 01.01.2023 23:13

How does the code change when I want to use this for multiple tables within the same sheet?

Ответить
@pomodoroforwork5547
@pomodoroforwork5547 - 11.12.2022 22:02

This is incredible! Thank you so much. I can't tell you how big a help this is :)

Ответить
@sakyiamahkwame
@sakyiamahkwame - 25.11.2022 17:40

nice
pls i need
help

Ответить
@jackdanielo4941
@jackdanielo4941 - 18.11.2022 20:06

What if there are three ties or more?

Ответить
@t1986100
@t1986100 - 22.10.2022 12:08

Thank you for this video. One issue I couldn't have solved it when the table is provided with a function that generates on it constantly an update. The table doesn't sort automatically in that case.

Ответить
@hollysmith2264
@hollysmith2264 - 08.09.2022 00:25

Can anyone help?
I am trying to VBA method and keep getting this error message. Is it because the column I am trying to sort by contains dates rather than currency? If so is there a way to easily modify this code to make it work for dates?
Thank you in advance!

Ответить
@danielc4507
@danielc4507 - 22.07.2022 21:01

So when I use the Tie formula =IF(COUNTIF($C$2:[@Rank],[@Rank])>1,[@Rank]+1,[@Rank]), it does the correct action by adding 1. The problem is, now, the tied value adds +1, but now instead of having two 3's, I have two 4's.

Ответить
@engineerchaos8424
@engineerchaos8424 - 04.07.2022 17:46

How can I sort by priority of three columns inline using VBA? Say I have days, hours, minutes, How do I auto sort by days, then hours, then minutes?

Ответить
@simonaust526
@simonaust526 - 09.05.2022 22:58

Awesome tutorial, when I get a tie I seem to loose a name in sales person column?

Ответить
@donnaround1499
@donnaround1499 - 26.03.2022 18:19

Great tutorial. How can to ascending order?

Ответить
@dansmethurst4610
@dansmethurst4610 - 14.03.2022 07:49

Great video, is this method still possible if, using your example, the sales were calculated by an =average formula using data from previous columns within the same row?

Ответить
@willha8649
@willha8649 - 02.03.2022 03:42

So helpful!

Ответить
@mehdihaghi4177
@mehdihaghi4177 - 23.02.2022 20:13

Thank you so much for the information. My excel sheets are working perfectly! The only issue is when I have more than 2 with the same criteria, then the 3rd one would be blank. Do you have any solution for it?

Ответить
@wayneschell4810
@wayneschell4810 - 18.02.2022 22:21

Hey! This is great!

Is there anyway you could show how to auto sort a table of data based on a date?

Ответить
@parthomodi9241
@parthomodi9241 - 03.02.2022 12:46

Thank you for the information. Worked very well for my query.

Ответить
@proleter373
@proleter373 - 01.02.2022 19:02

Excellent!

Ответить
@UncleBubba
@UncleBubba - 31.01.2022 12:51

Really handy video, thanks.
Quick tip using the final VBA method: add another variable, DataCol
Like this:
Set DataCol = Range("MySheet[ColumnX]")
Set SortCol = Range("MySheet[ColumnY]")
Then change If Not Intersect(Target, SortCol) Is Nothing to If Not Intersect(Target, DatatCol) Is Nothing
This allows you to sort by Column Y as data is entered into Column X

Why? It allowed me to sort a sheet by date of data entry for certain fields. Just thought this might be useful for others.

Ответить
@blavena
@blavena - 28.01.2022 20:21

having 2 3rds and no 4th makes perfect sense, what doesnt make any sense is ranking differently the exact same value...
anyways, great tutorial, very helpful

Ответить
@praveentg8798
@praveentg8798 - 29.12.2021 15:10

Thank you Sir, its really helpful for my analysis... :)

Ответить
@prying_minds
@prying_minds - 18.12.2021 10:33

I have a table with 29 rows.
Two of those rows contain formulas in the sort column.
When I change a cell external to the table, the formulas recalculate, however, the table doesn't auto sort

It doesn't seem to recognise a calculated cell in the table sort column changed.
If I change a different cell in that column (a non calculated cell) the sort happens.
Is there a way for the code to recognize that a calculated cell changed?

Ответить
@samiodeh3785
@samiodeh3785 - 15.12.2021 16:45

If i don't have 364
And am null in vba
Is there another solution
Please reply

Thnx

Ответить
@ifaniabu
@ifaniabu - 08.12.2021 19:30

Thank you very useful

Ответить
@ztrkmtrk42
@ztrkmtrk42 - 08.10.2021 15:11

What happens when there is more then 1 tie.

Ответить
@5alid-Alanazi
@5alid-Alanazi - 16.09.2021 10:20

Thank you, there are more then 2 in Rank, what should we do in TIE, =IF(COUNTIF)>1

Ответить
@zackwells6469
@zackwells6469 - 06.09.2021 19:49

What do you do when you have more than 2 with the same criteria? This method appears to only work for a max of 2 at a time. For instance I want to sort by Date and I have >2 with the same date.

Ответить
@mehran1591
@mehran1591 - 04.08.2021 20:04

Thanks. Great solutions. One question though. Would it possible to have the vba for sorting based on two columns for example first column B and then column a. Thanks.

Ответить
@sagarvsoni
@sagarvsoni - 30.07.2021 23:18

How to sort rows of different colors in excel? Suppose I want to keep red rows at top, yellow rows at middle and white at last?

Everytime I change the color of row, I have to manually sort it. Is there any way to sort it automatically?

Thankyou

Ответить
@Silentwarzone
@Silentwarzone - 01.05.2021 09:32

my table contains hyperlinks referenced to other cells. What i type in those cells is what is displayed in the table as a friendly names of the hyperlinks, however the code doesn't detect indirect change i suppose because it doesn't sort it unless I interact with it directly.

Ответить
@ivancortinas5427
@ivancortinas5427 - 28.04.2021 21:31

Excellent tutorial. I think than in method 2 it is better to use the "<" sign, because this way we get a descending order. Thank you very much! Very useful.

Ответить
@ubaidillahmuhammad20
@ubaidillahmuhammad20 - 28.04.2021 17:50

nice. please post video about sumproduct multi criteria, date range.

Ответить