VBA Macro: Split Excel Worksheet into Multiple Worksheets Based on Column Value

  Рет қаралды 19,610

Chester Tugwell

Chester Tugwell

Күн бұрын

Download the featured file or copy the code from here: www.bluepecantraining.com/wp-...
In this Microsoft Excel video tutorial I demonstrate my VBA macro that will split data, currently held in a single worksheet, across multiple worksheets based on a column value. You can download the feature file or copy the code by visiting the page linked to above.
00:00 Introduction
00:18 See the macro in action
01:38 Walk through of the VBA macro code
06:40 Assign a button (on the Ribbon) to run the macro

Пікірлер: 29
@rachitmittal1131
@rachitmittal1131 2 күн бұрын
Thank you so much for this. Saved so much time
@KWhite-iv3se
@KWhite-iv3se Ай бұрын
Truly Amazing! Very helpful, this was exactly what I was looking for. You saved the day for me.
@kimbereleybrown9449
@kimbereleybrown9449 9 ай бұрын
Hi Chester. Great video and explanation of the code. Thank you.
@kleinboertjie
@kleinboertjie 11 ай бұрын
Thank you, very informative
@irfankhanuni
@irfankhanuni 6 ай бұрын
Hi chester, loved this video , it worked for me , thanks
@--successingermnay2466
@--successingermnay2466 5 ай бұрын
Very usefull and very well explained.
@kimbui1
@kimbui1 11 ай бұрын
Hi Chester, loved the video. Is there a way to modify your VBA code so it works for blank cells as well?
@user-kc2lj5so5z
@user-kc2lj5so5z 10 ай бұрын
THIS RULES!
@mattm582
@mattm582 10 ай бұрын
Great video. I was also wondering if there was a way to update the code to include blank cells.
@eddynoboa1059
@eddynoboa1059 5 күн бұрын
Hello Chester, I did use your code and it worked using very small data and thanks for that. In the other hand, with big data have 24 columns and lots of data when I used your code only picked up 13 columns and based on the column value to pick up on (had 120 unique accounts) it only picked up around 5 or 6. How can I pick all unique accounts with the 24 columns??
@user-wh7ok8mo7t
@user-wh7ok8mo7t 6 ай бұрын
This is great Chester. Is there a way to modify this macro to retain the formulas on each tab?
@user-wn4xo6bm2u
@user-wn4xo6bm2u 8 ай бұрын
Really useful video. The column I want to split the data by is a date field, which the macro doesn't recognise unless I remove the date formatting. I then need to convert the data in each tab back to a date. Is there anyway to have the macro recognise dates? Thank you.
@sarahmosaad595
@sarahmosaad595 11 ай бұрын
Is there a way to modify your VBA code so it works for blank cells as well?
@alexandralerebours4770
@alexandralerebours4770 5 ай бұрын
Hi Chester, It's awesome. Works great! Do you have a vba macro code that allows to send each of the worksheets to email address that would be located in a column of that worksheet?
@user-wh7ok8mo7t
@user-wh7ok8mo7t 6 ай бұрын
This is great Chester. How can I modify this macro to keep the formulas on each new sheet created?
@dragonfly7022003
@dragonfly7022003 7 ай бұрын
I am new to VBA Macro, but is there a way to do everything you have on the macro, but sort by the first two or three chars in a cell row? For Example Cell A-000, sort by just the A- in the cell?
@ricardopedraza6101
@ricardopedraza6101 10 ай бұрын
Hey Chester, amazing coding, how to add a total in column "E" ?
@JoeMcMullin
@JoeMcMullin 5 ай бұрын
Absolutely love this script, one issue. When I run it as a macro, it runs perfect. When I add the macro to a button on the ribbon it runs and only creates one new tab/worksheet with only two rows of data (should be many more) but the script just stops. Not sure why there would be a difference. I am using Office RibbonX Editor to create my own menu group and have no issues with other scripts. Thoughts or anyone experience this problem?
@gamingindia8251
@gamingindia8251 11 ай бұрын
Is there any way in which column copy past even if there are blank cells?
@kevj76
@kevj76 4 ай бұрын
Great video, unfortunately when i run the macro, it copies the headers across for the first new worksheet but then does not populate any data in the rows below and I have no other sheets created
@sangambhavsar5663
@sangambhavsar5663 Ай бұрын
Hi Chester. I am unable to do so in my worksheet. this code is not working. should i sent my data to you?
@jjfi214
@jjfi214 4 ай бұрын
Subscribe! Take you for all you do
@stefapaco
@stefapaco 3 ай бұрын
Did all the steps but for me it only creates a new sheet but doesnt populate it with anything
@NilishaKothari
@NilishaKothari 12 күн бұрын
It didn’t work for me. I have bigdata and have to split into around 80 sheets. Any idea how?
@shahzadsaleem3384
@shahzadsaleem3384 6 ай бұрын
Sir I can not see my split data option in my macro please help me
@tangylj
@tangylj 5 ай бұрын
Hi Chester, loved the video. Is there a way to modify your VBA code so it works for blank cells as well?
@tangylj
@tangylj 5 ай бұрын
I used Chatgpt and paste the code, then ask chatgpt how to include blank cells.
@chrisredmond2029
@chrisredmond2029 5 ай бұрын
Can you share your script or share your prompt? @@tangylj I tried this out and have not had any luck. Thanks!
@this_is_just_test
@this_is_just_test 4 ай бұрын
can you send the code ? @@tangylj
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 77 МЛН
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 5 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:26
CRAZY GREAPA
Рет қаралды 18 МЛН
Split One Google Sheet into Multiple Sheets based on Column Value
26:09
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 88 М.
Extract Data to Separate Sheets the Right Way!
8:34
MyOnlineTrainingHub
Рет қаралды 165 М.
5 Excel Secrets You'll Be Embarrassed You Didn't Know
17:32
Excel Campus - Jon
Рет қаралды 120 М.
VBA: Split data into Separate Workbooks
11:25
PK: An Excel Expert
Рет қаралды 103 М.
Split a Master Spreadsheet into Multiple Sheets with 1 click - VBA for Beginner
13:17
Excel Dynamic Search Box Tutorial | Find Anything | Multi-Column Search
14:17
Rebekah Oster - Excel Power Up
Рет қаралды 33 М.
Excel VBA: Copy Data Between ANY Two Sheets
12:56
Excel Macro Mastery
Рет қаралды 118 М.
ДОМИК ИЗ АРБУЗА #юмор #cat #топ
0:40
Лайки Like
Рет қаралды 2,4 МЛН
She bought a gift for her daughter, and dad thought for him😂😳
0:39
Senchiki_social
Рет қаралды 4 МЛН
ДОМИК ИЗ АРБУЗА #юмор #cat #топ
0:40
Лайки Like
Рет қаралды 2,4 МЛН
телега - hahalivars
0:12
HAHALIVARS
Рет қаралды 15 МЛН
ToRung short film: 1🥐 cake costs 1$
0:25
ToRung
Рет қаралды 10 МЛН
Funny Escalator #katebrush #shorts
0:11
Kate Brush
Рет қаралды 7 МЛН