Excel - "Smart" Sheet Names (I bet you've never seen this before)

  Рет қаралды 18,590

BCTI

BCTI

5 ай бұрын

Learn how to have sheet names change when selected or deselected. This uses a simple lookup function and a pair of event-driven macros. Code can be copied from the sample file (link below).
File download link:
www.bcti.com//wp-content/YT_D...

Пікірлер: 98
@GuillermoPalchik
@GuillermoPalchik 3 ай бұрын
Every single video you post is awesome.
@bcti-bcti
@bcti-bcti 3 ай бұрын
Thank you so much for saying so. I have a big smile! Cheers.
@ashleymoller5951
@ashleymoller5951 5 ай бұрын
So Simple - so very useful! Going to add this to half a dozen workbooks now.
@SndfOmar
@SndfOmar 2 ай бұрын
Wow! Absolutely 💯 AWESOME! You are not only creative, but also generous dude! Just thinking of this idea!
@bcti-bcti
@bcti-bcti 2 ай бұрын
Thanks. It’s a weird and mostly useless idea, but it sparks creativity for other things. Thanks for watching.
@maciejkopczynski55
@maciejkopczynski55 5 ай бұрын
Absolutely peak scenario! I am simply amazed! Magnificent work - your content is so unique!
@bcti-bcti
@bcti-bcti 5 ай бұрын
Thanks for watching. I try to show things that haven't been shown by 1,000 other publishers.
@marrzeus6205
@marrzeus6205 2 ай бұрын
This is some kind of black magic f...kery! JK. So simple and yet so elegant. I'm absoluetly loving this channel! The power query series has been incredibly helpful, thank you.
@bcti-bcti
@bcti-bcti 2 ай бұрын
Thanks so much for taking the time to watch and respond. Cheers.
@joyflowmonger248
@joyflowmonger248 4 ай бұрын
Extraordinarily creative! I love it, so much! Thank you for publicizing your discovery!
@bcti-bcti
@bcti-bcti 4 ай бұрын
Thank you for wathcing!!!
@johanverkerk3260
@johanverkerk3260 3 ай бұрын
Great job, I made it without any VBA experience and it works great, also helped other people.
@bcti-bcti
@bcti-bcti 3 ай бұрын
Glad to hear.
@querrythis
@querrythis 3 ай бұрын
Indeed, never seen this before. Pretty slick.
@iankr
@iankr 5 ай бұрын
Boy, this is genius! Why did I not think of this?! 😅 Many thanks. I can think of a few workbooks I use that would benefit from this. 👌
@bcti-bcti
@bcti-bcti 5 ай бұрын
Fantastic!!! So glad to hear.
@tb9359
@tb9359 5 ай бұрын
This is supercool. I am already thinking how I can use this at work for a couple of workbooks. :) Thanks. Great idea!!
@bcti-bcti
@bcti-bcti 5 ай бұрын
Thanks so much for watching!!!
@robertw236
@robertw236 5 ай бұрын
Awesome Sauce. Will be using as standard. Thanks for sharing.
@bcti-bcti
@bcti-bcti 5 ай бұрын
Thanks for watching!!!
@cablegurl328
@cablegurl328 4 ай бұрын
I will subscribe and give you a thumbs up because this is the best! I adore it and want to use this approach into a couple projects.
@bcti-bcti
@bcti-bcti 4 ай бұрын
Thank you so much for the nice words and your subscription. It's always nice to see the number go up!!! Thanks for watching.
@salahaldeen7924
@salahaldeen7924 Ай бұрын
insightful vid, Thank you for your time
@bcti-bcti
@bcti-bcti Ай бұрын
Thank you for your time and thanks for watching
@rwfrench66GenX
@rwfrench66GenX 5 ай бұрын
This is a cool trick. When I create a workbook with more than 3 tabs I create a sheet with an index and links that jump to cell A1 on each sheet. If I’m using cut off names I have a column with the full name on the Index sheet.
@bcti-bcti
@bcti-bcti 5 ай бұрын
That is a much better idea. This was all just for an interesting bit of fun.
@rwfrench66GenX
@rwfrench66GenX 5 ай бұрын
@@bcti-bcti I think it’s cool it changes the name automatically! I started using VBA back in Excel 98 and using a macro like this is very cool.
@LosoIAm
@LosoIAm 4 ай бұрын
Brilliantly awesome, thank you!
@bcti-bcti
@bcti-bcti 4 ай бұрын
So glad you enjoyed it. Thanks for watching.
@GuruDanny
@GuruDanny 4 ай бұрын
Simple but powerful - Thanks for sharing
@bcti-bcti
@bcti-bcti 4 ай бұрын
Thank YOU for watching!
@777tmack
@777tmack Ай бұрын
What a find! An immediate subscribe and bell icon!
@bcti-bcti
@bcti-bcti Ай бұрын
Thank you so much!!!!
@alexrosen8762
@alexrosen8762 4 ай бұрын
Fantastic tutorial 👌
@bcti-bcti
@bcti-bcti 4 ай бұрын
THank you so much. And thanks for watching.
5 ай бұрын
Thanks Great example.
@bcti-bcti
@bcti-bcti 5 ай бұрын
Than you for taking the time to watch!!!
@michaelt312
@michaelt312 5 ай бұрын
This is incredibly useful. Too bad a lot of businesses don't allow Macro. But for personal use, absolutely!!
@bcti-bcti
@bcti-bcti 5 ай бұрын
I agree. Macros are incredibly useful. Good thing businesses aren't putting the "smack down" on Power Query.
@michaelt312
@michaelt312 5 ай бұрын
@@bcti-bcti, agree there. That's where I live. But I did recently discover the CELL function. Nesting MID, CELL and FIND has been useful.
@bcti-bcti
@bcti-bcti 5 ай бұрын
Knowledge is POWER!! Especially when using Excel.@@michaelt312
@T0NYD1CK
@T0NYD1CK 4 ай бұрын
As soon as you described it my immediate thought was that would be so easy to do. Then I wondered why I had never thought of actually doing it! Very clever idea. Thank you. I know a spreadsheet where this idea will be implemented later today.
@bcti-bcti
@bcti-bcti 4 ай бұрын
I am amazed at the number of times I've had those, "Why didn't I think of that?" moments. Thanks for watching.
@harikc872
@harikc872 4 ай бұрын
Great Brain Job....excellent....
@redhaakhund1271
@redhaakhund1271 5 ай бұрын
Excellent 👍👍👍👍👍
@bcti-bcti
@bcti-bcti 5 ай бұрын
Thanks for taking the time to watch.
@brendanmoran9313
@brendanmoran9313 5 ай бұрын
I’m afraid I disagree with all the comments based on the two click rule. It should only take you two clicks to get from any one sheet to any other sheet - regardless of size. You should have your first sheet as a Main Menu with internal navigation to all sheets. Each sheet should also be linked back to the Main Menu. Two clicks take you from any sheet to any other sheet. This avoids infinite scrolling.
@bcti-bcti
@bcti-bcti 5 ай бұрын
You are absolutely right. I couldn’t agree more. This was merely an exercise in creativity and brining the concept of event-driven macros to people’s attention. Thanks for taking the time to watch and comment.
@gregorytaylor2749
@gregorytaylor2749 4 ай бұрын
Genius!!
@bryanlane31
@bryanlane31 5 ай бұрын
The only “bad” thing about this for me is that I retire on March 1st and won’t have the need to use it after that! I have always been a fan of tricks like this all the way back to Lotus 1-2-3.
@bcti-bcti
@bcti-bcti 5 ай бұрын
Best of luck in your retirement. I'm sure there's a part of all this that you'll miss. Cheers.
@alamiralshafay
@alamiralshafay 5 ай бұрын
Very Nice Idea
@bcti-bcti
@bcti-bcti 5 ай бұрын
Thanks. And thank you for taking the time to watch.
@Malakawaka
@Malakawaka 4 ай бұрын
Nice!
@wmfield152
@wmfield152 4 ай бұрын
Super!
@willbedeadsoon
@willbedeadsoon 4 ай бұрын
Although I usually jûst right click on the sheet navigâtion tab, I think your trick is amazing. Code is isimple, but the idea is not so obvious.
@bcti-bcti
@bcti-bcti 4 ай бұрын
Yeah, the obvious is sometimes the most elusive.
@hankgrimes1806
@hankgrimes1806 5 ай бұрын
How, exactly, did you get the full sheet name to appear in the first couple of rows of each sheet? Is this done with the VBA code you shared or, is there another step needed to accomplish this? I like keeping sheet names as short as possible for the sake of clearer formula writing, so this technique would really come in handy, especially if I can get the full sheet name to display in the 2nd or 3rd row as a title.
@bcti-bcti
@bcti-bcti 5 ай бұрын
You can use the SHEET function to return the sheet's number in the workbook. ex: =SHEET() This could then be used in an INDEX function to return a word from an existing list. ex: =INDEX(List!A1:A100, SHEET()) That's just an idea off the top of my head. I'm sure there's a lot of creative ways to use this.
@hankgrimes1806
@hankgrimes1806 5 ай бұрын
Thank you for your reply and, like so many of my fellow followers of your work, I think you're amazing, and I will definitely start "retro-fitting" my workbook with this feature! 🙏@@bcti-bcti
@7bettyblu
@7bettyblu 5 ай бұрын
No doubt about it, this is a great. Would be perfect if I can refer to a Table Col instead of a cell range so new sheet names can be automatically populate without having to modify the code repeatedly. How do we specify Table Col in "Visual Basic" code?
@bcti-bcti
@bcti-bcti 5 ай бұрын
I agree, but you could just refer to either the entire column (ex: “List!A:A”), or just set the range to something you don’t ever expect to reach (ex: “List!A1:A1000”). Thanks for watching.
@LarsV62
@LarsV62 4 ай бұрын
This trick has a potential major flaw of the hidden list is subject to changes in the future. For that, it would be better to format the list as a table and refer to the column names directly in the formulas. Any new or deleted rows in the list works then not require modifying the code, and moving the table itself by inserting leading rows or columns would not matter to the formulas.
@bcti-bcti
@bcti-bcti 4 ай бұрын
One would think that using a proper Excel Data Table would be a better strategy, but I think you'll find, with a bit of testing, that this introduces an entirely new set of problems and shortcomings. My guess is that using a formula that discovers the length (i.e., height) of the table would be needed. Like another MATCH function that searches the entire column (A:A) for something that will never be found (99^99), and performs this as an Option 1 (closest without going over) type of search. Thanks tor contributing to the discussion.
@user-PHB
@user-PHB 5 ай бұрын
Is there a kind of MouseOver event, so you could change the tab name before even clicking it? Would be even cooler.
@bcti-bcti
@bcti-bcti 5 ай бұрын
Unfortunately, no. I looked into that as I thought it would be neater to have the tab name changed just by hovering over it. Excel has no mechanism to detect the presence of a mouse pointer when hovering over a sheet tab. Thanks for watching.
@barrywood7741
@barrywood7741 4 ай бұрын
My sheet names are codes which are C01 through to C30. I have created a list C01 to C30 in column A, and a list of the different names in column B. Copied and pasted your code and altered slightly the row numbers as suggested. Mostly it works but on several nothing changes and on others it shows the names, not the codes. I'll do some debugging here but very odd. Liked the idea very much and once I've sussed this issue out I will use in many of my spreadsheets.
@bcti-bcti
@bcti-bcti 4 ай бұрын
If you can post your file so that I can download it, I'd be happy to take a look and see what I can figure out. Thanks for watching.
@barrywood7741
@barrywood7741 4 ай бұрын
How would I post this file?@@bcti-bcti
@barrywood7741
@barrywood7741 4 ай бұрын
I thought I answered, but can't see my comment. It was, how can I send you my spreadsheet?
@bcti-bcti
@bcti-bcti 4 ай бұрын
You can send it as an email to training@bcti.com @@barrywood7741
@Dexter101x
@Dexter101x 5 ай бұрын
Cool
@Nonplused1
@Nonplused1 4 ай бұрын
That's great unless you have macros that refer to sheet names. I suppose you can use the sheet objects instead, but who does that?
@bcti-bcti
@bcti-bcti 4 ай бұрын
Yeah, it has it's issues. It's a just for a bit of fun (but limited in its practicality.)
@JJ_TheGreat
@JJ_TheGreat 5 ай бұрын
2:26 And wouldn't it also help if we used Power Query to get a list of the "tab"/sheet names?
@bcti-bcti
@bcti-bcti 5 ай бұрын
There you go! Now you’re getting creative!!!
@kevinkohut5096
@kevinkohut5096 5 ай бұрын
This will break any formulas that reference the sheet name
@bcti-bcti
@bcti-bcti 5 ай бұрын
Yes, you are absolutely correct. It's just a neat thing, provided you don't have that sort of dependency. Thanks for watching.
@mightydrew1970
@mightydrew1970 5 ай бұрын
Or you could leave the sheet names and just right-click on the tab navigation buttons to get a proper list... I'm a fan of vba and have been for years, but as soon as you introduce it (in a corporate environment) you're in for a world of hurt
@bcti-bcti
@bcti-bcti 5 ай бұрын
Agreed. I really love the “right-click” option for the quick list. The point of this was just to show something creative. Thanks for watching.
@robinherrick2177
@robinherrick2177 5 ай бұрын
I thought exactly the same. This is a terrible idea. Creativity isn't solving problems that don't exist.
@whoslacks
@whoslacks 4 ай бұрын
100% on the corporate world of hurt 😂
@bcti-bcti
@bcti-bcti 4 ай бұрын
Yes, quite likely.@@whoslacks
@bcti-bcti
@bcti-bcti 4 ай бұрын
I agree that it's not exactly a Nobel Prize winning idea. It was just an idea that popped into my head one day and I wanted to see if it could be done. The idea may, however, spark someone else's imagination in solving an actual problem. Thanks for watching.
@brendanmoran9313
@brendanmoran9313 5 ай бұрын
…and no macros required. File can be saved as xlsx.
@bcti-bcti
@bcti-bcti Ай бұрын
Unfortunately, not. But an alternative might be an .XLSB file (if .XLSM files are blocked by your organization.)
@thinkIndependent2024
@thinkIndependent2024 4 ай бұрын
Logic is never " Snakeoil" skills have utility = Value as in "valuable"
@rdatta
@rdatta 5 ай бұрын
Be very careful as this can mess up formulas that aggregate across sheets by changing sheets names. Esp if the workbook is used and edited by multiple users concurrently. This looks more like a tool in search of a problem. You could always put an index page with links to each sheet and whatever meta data you want as the 1st page sheet in a book. Ctrl+Left click jumps to that sheet. Will not mess with formulas.
@bcti-bcti
@bcti-bcti 4 ай бұрын
I agree. This was just for fun.
@RichardJones73
@RichardJones73 5 ай бұрын
Yes you are a genius and yes it is worthless lol. No I am just kidding, this is a useful idea
@bcti-bcti
@bcti-bcti 5 ай бұрын
HA! Yes, I recognize the value of this feature, but it is an interesting way to learn about event-driven macros (for those who are unfamiliar.)
@JJ_TheGreat
@JJ_TheGreat 5 ай бұрын
​@@bcti-bctiYrs, this video was quite interesting - especially for me who is a VBA newbie... It is interesting to see what can be done with it!
@OnlyNuBeingSoule
@OnlyNuBeingSoule 3 ай бұрын
Didn't work. Guess it's for the desktop version of excel and not the 365 version of excel 🤷🏽‍♀️
@bcti-bcti
@bcti-bcti 3 ай бұрын
I don’t believe there is any reason why this wouldn’t work in non-365 environments. Double-check your efforts. Thanks for watching.
@ericxls93
@ericxls93 5 ай бұрын
Not sure, love the idea, but the second you click on the tab, you have a massive title with the estate name, why bother?
@bcti-bcti
@bcti-bcti 5 ай бұрын
THis was all just an exercise in creativity. I can't say it's something I'd use often, either.
Excel - Email Sheet in a Single Click
6:02
BCTI
Рет қаралды 545
Excel - Dynamic Structured References
7:28
BCTI
Рет қаралды 2,3 М.
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 11 МЛН
He sees meat everywhere 😄🥩
00:11
AngLova
Рет қаралды 9 МЛН
ОДИН ДЕНЬ ИЗ ДЕТСТВА❤️ #shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН
Excel - Slicer Trick for Long Lists
6:23
BCTI
Рет қаралды 9 М.
Power Query - Faster & Easier Parameters
13:38
BCTI
Рет қаралды 34 М.
Two Powerful Methods to Limit Scrolling in Excel #excel #vba
1:32
Excel - Sort Sheets Alphabetically
7:26
BCTI
Рет қаралды 904
Power Query - Rounds Differently than Excel (DANGER)
9:47
Excel - 1 to Many: Dependent Dropdown List
7:34
BCTI
Рет қаралды 1,5 М.
DAX - Implicit vs Explicit Measures
11:49
BCTI
Рет қаралды 809
Power Query - Avoid "Helper Queries" (+10 Cool Tricks)
18:40
Top 5 Awesome Power BI Visuals You Probably Didn't Know
10:39
Kenji Explains
Рет қаралды 80 М.
Gizli Apple Watch Özelliği😱
0:14
Safak Novruz
Рет қаралды 4,5 МЛН
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 4,3 МЛН
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 266 М.