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

  Рет қаралды 137,417

Chester Tugwell

Chester Tugwell

Күн бұрын

Пікірлер: 58
@SecretVoodoo
@SecretVoodoo Жыл бұрын
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!
@zackwells6469
@zackwells6469 3 жыл бұрын
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.
@wayneschell4810
@wayneschell4810 2 жыл бұрын
Hey! This is great! Is there anyway you could show how to auto sort a table of data based on a date?
@UncleBubba
@UncleBubba 2 жыл бұрын
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.
@roronoazoro8343
@roronoazoro8343 Жыл бұрын
what if i wanna give a custom order, my own list according to which it ill get shorted
@LaniConcepcion
@LaniConcepcion 6 ай бұрын
This is great! Tried this and it worked on my file. Thanks a lot.
@t1986100
@t1986100 2 жыл бұрын
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.
@PNWDan
@PNWDan Жыл бұрын
Love the webpage. Might be good to add an example of a two-column sort, which I needed.
@james4wd236
@james4wd236 Жыл бұрын
I know nothing about Excel and this just blew my mind...
@IvanCortinas_ES
@IvanCortinas_ES 3 жыл бұрын
Excellent tutorial. I think than in method 2 it is better to use the "
@cascadeanalog320
@cascadeanalog320 8 ай бұрын
This is like like Flying to Italy to buy an Olive oil than simply walking to your nearest Local market and purchasing one.
@sagarvsoni
@sagarvsoni 3 жыл бұрын
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
@mehran1591
@mehran1591 3 жыл бұрын
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.
@VVRATHH
@VVRATHH Жыл бұрын
Perfect tutorial, thank you so much
@parthomodi9241
@parthomodi9241 2 жыл бұрын
Thank you for the information. Worked very well for my query.
@StuartLee-p7w
@StuartLee-p7w Жыл бұрын
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.
@pomodoroforwork5547
@pomodoroforwork5547 Жыл бұрын
This is incredible! Thank you so much. I can't tell you how big a help this is :)
@mehdihaghi4177
@mehdihaghi4177 2 жыл бұрын
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?
@joshalbert8510
@joshalbert8510 2 жыл бұрын
Randy Nolson Randy Nolson 6 months ago Use this formula instead to account for more than one duplicate value in the "RANK" column: =[@RANK] + (COUNTIF($C$2:[@RANK],[@RANK]) -1) *1
@pichouille29
@pichouille29 Жыл бұрын
@@joshalbert8510 good tip!
@5alid-Alanazi
@5alid-Alanazi 3 жыл бұрын
Thank you, there are more then 2 in Rank, what should we do in TIE, =IF(COUNTIF)>1
@RandyNolson
@RandyNolson 2 жыл бұрын
Use this formula instead to account for more than one duplicate value in the "RANK" column: =[@RANK] + (COUNTIF($C$2:[@RANK],[@RANK]) -1) *1
@kaanonen7210
@kaanonen7210 2 ай бұрын
@@RandyNolson 😍😍
@ToddTysonChicklett
@ToddTysonChicklett 2 жыл бұрын
So helpful!
@ifaniabu
@ifaniabu 2 жыл бұрын
Thank you very useful
@simonaust526
@simonaust526 2 жыл бұрын
Awesome tutorial, when I get a tie I seem to loose a name in sales person column?
@prying_minds
@prying_minds 2 жыл бұрын
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?
@blavena
@blavena 2 жыл бұрын
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
@ubaidillahmuhammad20
@ubaidillahmuhammad20 3 жыл бұрын
nice. please post video about sumproduct multi criteria, date range.
@ABellaLuna
@ABellaLuna Жыл бұрын
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?
@praveentg8798
@praveentg8798 2 жыл бұрын
Thank you Sir, its really helpful for my analysis... :)
@ZeljkoDejanovic-pe8ge
@ZeljkoDejanovic-pe8ge 5 ай бұрын
Hi Chester, would the first solution work if the data in the table is live data and it changes in real time? Would the sorting still be in real time in the second table?
@dansmethurst4610
@dansmethurst4610 2 жыл бұрын
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?
@leeholloway6284
@leeholloway6284 9 ай бұрын
You da man! 🎉
@donnaround1499
@donnaround1499 2 жыл бұрын
Great tutorial. How can to ascending order?
@timrussell2488
@timrussell2488 Жыл бұрын
What formula would you use if you had more than 1 record that was a tie when you did the countif?
@washingtonamollo4365
@washingtonamollo4365 Жыл бұрын
Good work
@proleter373
@proleter373 2 жыл бұрын
Excellent!
@DanaVais
@DanaVais Жыл бұрын
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?
@engineerchaos8424
@engineerchaos8424 2 жыл бұрын
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?
@Silentwarzone
@Silentwarzone 3 жыл бұрын
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.
@NextGenAdvertising-gc1ny
@NextGenAdvertising-gc1ny 5 ай бұрын
Has the VBA code been removed? I'm not seeing it.
@mikevanlieshout1624
@mikevanlieshout1624 Жыл бұрын
How does the code change when I want to use this for multiple tables within the same sheet?
@laurenberry9495
@laurenberry9495 5 ай бұрын
What happens if I want to use this code for multiple tables in one single worksheet? How can I go about this?
@Sandman03276
@Sandman03276 Жыл бұрын
how do you write the VBA to allow inserting a new row?
@danielc4507
@danielc4507 2 жыл бұрын
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.
@poekek5471
@poekek5471 8 ай бұрын
How do you solve ties if three or more people have the same score/salary?
@samiodeh3785
@samiodeh3785 2 жыл бұрын
If i don't have 364 And am null in vba Is there another solution Please reply Thnx
@hollysmith2264
@hollysmith2264 2 жыл бұрын
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!
@hollysmith2264
@hollysmith2264 2 жыл бұрын
Run-time error '1004': Method 'Range' of object '_Worksheet' failed
@obviouslyhayden1150
@obviouslyhayden1150 2 жыл бұрын
just comes up with #Value when i try and make that second table to sort..
@sakyiamahkwame
@sakyiamahkwame 2 жыл бұрын
nice pls i need help
@ztrkmtrk42
@ztrkmtrk42 3 жыл бұрын
What happens when there is more then 1 tie.
@RandyNolson
@RandyNolson 2 жыл бұрын
Use this formula in the "Tie? column instead (adjust as necessary) =[@RANK] + (COUNTIF($C$2:[@RANK],[@RANK]) -1) *1
@mikezhang8861
@mikezhang8861 Жыл бұрын
@@RandyNolson Genius
@jackdanielo4941
@jackdanielo4941 2 жыл бұрын
What if there are three ties or more?
@will07fca30
@will07fca30 Жыл бұрын
Jack, I have the same question. Great tutorial but I am using this for a quiz outcome and in some occasions I have 10 players with 5 of them having the same number of points. What then seems to happen is the resulting form starts missing names and results. No clue how to fix this.
@wayneredler2455
@wayneredler2455 Жыл бұрын
@@will07fca30 Same problem here - pulling my hair out
How to create a ranking list in Excel
6:51
MyBI Business
Рет қаралды 113
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 85 МЛН
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 8 МЛН
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,2 МЛН
How to Merge Multiple PPT Presentations Into One Presentation
3:44
Inspirio Tutorials
Рет қаралды 79 М.
Access 2021 Full Course Tutorial (6+ Hours)
6:06:57
Learnit Training
Рет қаралды 117 М.
A Nice Exponential Problem ✍️
11:40
Sifat Math Hospital
Рет қаралды 384
Excel 2019 VBA Full Course Tutorial (7+ Hours)
7:07:04
Learnit Training
Рет қаралды 390 М.
Database Indexing for Dumb Developers
15:59
Laith Academy
Рет қаралды 72 М.
Access Beginner Tutorial
3:47:45
Learnit Training
Рет қаралды 1,2 МЛН
Machine Learning for Everybody - Full Course
3:53:53
freeCodeCamp.org
Рет қаралды 7 МЛН
Create SMART Drop Down Lists in Excel (with Data Validation)
15:42
Leila Gharani
Рет қаралды 894 М.
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 85 МЛН