Excel VBA: How to Sort Data with VBA Macro

Excel VBA: How to Sort Data with VBA Macro

Chester Tugwell

7 лет назад

100,956 Просмотров

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


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

sokunth
sokunth - 20.10.2023 12:15

sir can you teach me how to find top 10 with this vba code?

Ответить
Abi
Abi - 25.09.2023 19:42

how do you automate this code without having to open "view code" and pushing play?

Ответить
Farasat Ahmed
Farasat Ahmed - 04.09.2023 19:34

hello!
I want to sort odds and even numbers combination in ms excel 2013 i have a list of 2 million combination my combination are mixed and i want to sort them for example
(3 odd 2 even numbers all combination together , 4 odd 1 even numbers all combination together , 2 odd 3 even numbers all combination together
1 odd 4 even numbers all combination together) the list i have create is for lotto i have 5 numbers combination from numbers 1 to 49 numbers for example
i want to sort like this from the mixed combination list if any vba code or formulas you know sir kindly tell me it would be a great help thanks.

1-3-6-40-41
1-3-6-40-43

1-3-6-40-42

1-3-6-40-44

3-9-15-17-40

3-9-15-17-42

3-6-24-34-44

3-6-24-34-46

Ответить
Chris Tranter
Chris Tranter - 25.07.2023 16:46

Is there a way to make it automatically run whenever you update the data ? or would i have to keep opening the code and pressing play

Ответить
BCOA10_Sanket Berad
BCOA10_Sanket Berad - 13.10.2022 09:42

Can we just display only Cash records or only Debit card records?

Ответить
Elbourko
Elbourko - 12.09.2022 18:38

How do you create a custom order in the environment?

Ответить
saloni
saloni - 29.08.2022 16:35

Thnx

Ответить
Matt Irons
Matt Irons - 22.07.2022 18:33

FINALLY! I've been looking for this exact type of tutorial for hours (weeks? lol). Thank you!

Ответить
Ali Alizadeh
Ali Alizadeh - 07.07.2022 02:57

Thanx

Ответить
Carlo
Carlo - 30.05.2022 05:03

Perfect !

Ответить
Pankaj Verma
Pankaj Verma - 02.04.2022 05:17

Thank you.

Ответить
Hunter Musselman
Hunter Musselman - 08.03.2022 17:47

Great video! Helped out a lot!

Ответить
Stanley Root
Stanley Root - 01.01.2022 11:03

Perfect tutorial. Brief. Clear. Precise. Logical. A diamond in the coal mine of VBA tutorial videos.

Ответить
Hendri
Hendri - 03.10.2021 07:42

I got syntax error : key1:=Range("Pay_Type"),order1:=xlDescending, Header:=xlYes

Expected Expression :=

Ответить
Al Be
Al Be - 12.05.2021 15:41

Just what i needed too.. thanks you very much!

Ответить
Carlos Mujica Nuñez
Carlos Mujica Nuñez - 03.03.2021 20:08

Great Tutorial. I look for a lot of other tutorials and this was the easiest and best of all

Ответить
seckin bilgic
seckin bilgic - 08.02.2021 20:00

I prefer to use cells(1,1) instead of range.
It works.
thanks.

Ответить
Jay Patel
Jay Patel - 12.11.2020 21:33

hard to read great code for nothing

Ответить
Idalia Ojeda
Idalia Ojeda - 10.09.2020 17:31

Just what I needed!

Ответить
raviteja reddy
raviteja reddy - 02.08.2020 10:24

Can you please help me on how to sort more columns using vba

Ответить
faelrodrigues21
faelrodrigues21 - 11.06.2020 03:56

Thank you very much! You've helped me bunch!!

Ответить
AJaY Rawat
AJaY Rawat - 22.04.2020 16:05

Really helpful

Ответить
Manish udeshi
Manish udeshi - 10.04.2020 16:20

thanz was trying to find the command, you explained it in a simple way

Ответить
Andy Chavez
Andy Chavez - 22.03.2020 02:58

Very nice but you should use a lower resolution so that text can be seen larger. Thanks.

Ответить
Manu S Ch
Manu S Ch - 17.03.2020 07:25

How can be sorted when condition is met and toggle between ascending and descending? for example: when a header cell is selected or doble clicked then sort that column in an ascending way by default, but if it is already sorted that way, then sort it in descending way instead

Ответить
Archana aa
Archana aa - 23.02.2020 09:45

Sir , if d range starting from a18 , den what we need to assign? A18.currentregion? Or wat

Ответить
Andy Chavez
Andy Chavez - 06.02.2020 04:54

It is soo small. I suggest that use bigger fonts or smaller resolution. Please

Ответить
Steven Nye
Steven Nye - 22.08.2019 21:57

excellent information, well presented!

Ответить
pralhad shetye
pralhad shetye - 08.08.2019 05:17

You are a Saviour!! Thanks. Simple and effective codes.

Ответить
Jose Alanis
Jose Alanis - 29.06.2019 19:50

Amazing, congrats

Ответить
jm DoesItWell
jm DoesItWell - 02.06.2019 14:26

Exactly what I need. Thanks 😊

Ответить
pralhad shetye
pralhad shetye - 22.01.2019 05:22

Thanks a lot for such as wonderful tutorial.

Ответить
russell curlee
russell curlee - 28.11.2018 22:54

Is it possible to sort a table which uses a formula to fill table rows/columns in VBA? I.e. I have a table which uses vlookup to find values to insert into the table and then I want to sort them

Ответить
gab vald
gab vald - 26.11.2018 18:49

Thanks bro ! u help me.

Ответить
Gzim
Gzim - 17.10.2018 09:42

Hello. Thanks for a very helpful video. If I wanted to sum up the tran_value for every pay_type in another sheet, would that be possible? Without using a pivot table.

Ответить
bozev1
bozev1 - 15.10.2017 17:24

Thank you!

Ответить
Paul Cottrell
Paul Cottrell - 04.08.2017 17:57

Awesome tutorial. Cheers.

Ответить
John Bielick
John Bielick - 29.06.2017 04:06

Nice job explaining the sorting!

Ответить
BluePaperUmbrella
BluePaperUmbrella - 09.04.2017 11:11

This is really useful tutorial, thank you. Clear and to the point; without any waffle. My one suggestion for improvement would be some sort of zoom functionality for future videos - the actual code can be a bit hard to read at that distance depending on screen resolution. Again great job.

Ответить