Highlight Active Row and Column in Excel (Based on Cell Selection)

One of the Excel queries I often get is - “How to highlight the Active Row and Column in a data range?”
Read more about the tutorial: trumpexcel.com/highlight-acti...
Download file: www.dropbox.com/s/jxcu38sm4br...
So I decided to crate this video and show how to do this,
In this video, I will show you how to use Excel formula and conditional formatting to instanly highlight active row and column as soon as the user makes a selection or changes the selection.
To make sure this is dynamic, I have used a very simple VBA code as well (the worksheet change event).
Useful Notes:
-- This method would not impact any formatting/highlighting you have done manually to the cells.
-- Conditional formatting is volatile. If you use it on very large datasets, it may lead to a slow workbook.
-- The VBA code used above would refresh the workbook every time there is a change in selection.
-- CELL Function is available in Excel 2007 and above version for Windows and Excel 2011 and above for Mac. In case you’re using an older version, use this technique by Chandoo.
Free Excel Course - trumpexcel.com/learn-excel/
Paid Online Training - trumpexcel.com/excel-training/
Best Excel Books: trumpexcel.com/best-excel-books/
⚙️ Gear I Recommend:
Camera - amzn.to/3bmHko7
Screen Recorder - techsmith.z6rjha.net/26D9Q
USB Mic - amzn.to/2uzhVHd
Wireless Mic: amzn.to/3blQ8uk
Lighting - amzn.to/2uxOxRv
Subscribe to get awesome Excel Tips every week: kzread.info...
Note: Some of these links here are affiliate links!
#Excel #ExcelTips #ExcelTutorial

Пікірлер: 364

  • @marius964
    @marius9645 жыл бұрын

    Great tutorial, thank you. Is simple to implement, is unobtrusive and above all it works! Thank you

  • @JEDss454
    @JEDss4545 жыл бұрын

    Great video - clear and simple; very useful, and works exactly as you showed when I tried it myself. Thank you!

  • @MarcFireHart
    @MarcFireHart2 жыл бұрын

    Excellent tutorial! I can't believe I haven't been doing this before. It makes it much easier to show selected rows or columns and not have to keep double-checking to make sure you're looking at the correct data.

  • @meetkcs
    @meetkcs4 жыл бұрын

    Every day I am learning new tricks from your videos - very productive in real-time scenarios. A big thanks to all the Hands and Minds of these videos.

  • @trustabyss
    @trustabyss5 жыл бұрын

    You're awesome, I'm gonna try this! My eyes play tricks on me when looking at long rows. This is the solution!

  • @freazingflame
    @freazingflame4 жыл бұрын

    works great. I really need this when looking through massive amounts of data. Thank you, brother.

  • @pranavshrestha4953
    @pranavshrestha49534 жыл бұрын

    The only useful VBA code that I know I can do by myself. Wonderful tutorial as always. Thanks!

  • @PhillipBailey
    @PhillipBailey4 жыл бұрын

    Thanks a million! The earlier versions of excel seemed to be better at this or maybe it's just my eyes getting older. Works fantastic!

  • @potentiallyunfulfilled5544
    @potentiallyunfulfilled55443 жыл бұрын

    Wow! Thank very much! This was perfect for what I needed and you made easy to follow and execute on my own. Well done.

  • @dadondada41
    @dadondada414 жыл бұрын

    Awesome. Tried it and it works. I only needed rows highlighted so i ignored the 'column' part of the formula and it worked perfectly. Thanks a mil.

  • @Ethikly
    @Ethikly4 жыл бұрын

    Amazingly useful. Thank you for the great tutorial!

  • @heathstapleford5044
    @heathstapleford50444 жыл бұрын

    THIS IS AWESOME!!!! Financial auditor here and my spreadsheet are gigantic. This is literally going to save me multiple hours a week probably.

  • @ipeceurope935
    @ipeceurope9355 жыл бұрын

    Fantastic! Thank you. You are a wonderful teacher!

  • @trendsetter4079
    @trendsetter40793 жыл бұрын

    So ease in the explanation. Great teaching skill. Thank you for your efforts.

  • @gaelmaury4253
    @gaelmaury42535 жыл бұрын

    Thank you for this video and the quality of your explanation. You are very pedagogue

  • @goforit2112
    @goforit21124 жыл бұрын

    Worked Perfect! Thank You, easy to follow video.

  • @sameerk12982
    @sameerk129823 жыл бұрын

    Thank you very much for this easy to understand and very helpful tutorial...exactly what I was needed.

  • @KetoJustRight
    @KetoJustRight4 жыл бұрын

    Thanks for making this video...I wondered if this type of feature was available and your video has helped me. Initially, it didn't work, but I learned from a commenter below that I had to replace the quotation marks for "row" and "col". I pasted the formula into Word, replaced the quotation marks, then pasted the formula into the formatting field as you instructed and it worked. This will save me so much time at work. Thank you, thank you, thank you!

  • @jwalkerbg60
    @jwalkerbg603 жыл бұрын

    Thank you for the video. I need this dynamic highlighting because I use wide tables with many columns and it is not easy to look left then right and to stay at the same row visually.

  • @ErwinHandokoMD
    @ErwinHandokoMD4 жыл бұрын

    This is very helpful! Also, your video instruction is very easy to follow. Thanks.

  • @loogan7440
    @loogan74403 жыл бұрын

    it actually works on tables. also you may not need to highlight row and column, but only rows, so here you have shortest code for ths task =OR(CELL("row")=ROW())

  • @kvnagendra5354
    @kvnagendra53545 жыл бұрын

    *Bro ur videos are osm, altruistic and admirable, plz don't stop making videos, I'm big fan of ur teaching*

  • @jilldunning8870
    @jilldunning8870 Жыл бұрын

    Genius!!! This is the perfect workaround for the inability to highlight the row and column headings.

  • @SteS
    @SteS5 жыл бұрын

    A master of his trade! Kudos to you.

  • @shubhamgupta4U
    @shubhamgupta4U4 жыл бұрын

    Useful things, I often require this selection but didn't search ever before. Now whenever I need it, surely I will do it

  • @kristylazo3403
    @kristylazo34032 жыл бұрын

    Even though this video is from 2018, 4 years later, your video is still helpful. I saved my Excel file to a Macro-Enabled file and works perfectly after saving and closing. Thank you, again.

  • @MariyamSharief1711

    @MariyamSharief1711

    2 жыл бұрын

    2018 was 4 years ago???? 😳 time flies

  • @kristylazo3403

    @kristylazo3403

    2 жыл бұрын

    @@MariyamSharief1711 lol, at first I thought I miscalculated..lol . Yes, time flies as we get older (I'm showing my age🤐)

  • @tawsifislam-accafinalist2796
    @tawsifislam-accafinalist27965 жыл бұрын

    Your every video is so precise. God bless You for sharing your knowledge. keep up the good work.

  • @ajayshah2274
    @ajayshah22744 жыл бұрын

    Thank you for your efforts. It's really a handy technique.

  • @techneko2007
    @techneko20073 жыл бұрын

    AMAZING tutorial , Definitely earned yourself a SUB

  • @et1965
    @et19654 жыл бұрын

    Great video. Thank you for being clever and sharing with the rest of us :)

  • @richardgordon
    @richardgordon3 жыл бұрын

    Just brilliant! Thank you for sharing your knowledge and ideas.

  • @MGeXpansion
    @MGeXpansion4 жыл бұрын

    BRILLANT! Concise and No Nonsense tutorial that got the job done for me and also allowed me to modify the formula to have only a row as well as change the cell range. WELL DONE Ace!

  • @princetonlucian802

    @princetonlucian802

    2 жыл бұрын

    I know Im asking randomly but does any of you know of a way to get back into an instagram account..? I was dumb forgot my password. I love any tips you can offer me!

  • @ulisesshane8379

    @ulisesshane8379

    2 жыл бұрын

    @Princeton Lucian instablaster ;)

  • @princetonlucian802

    @princetonlucian802

    2 жыл бұрын

    @Ulises Shane Thanks for your reply. I got to the site thru google and I'm trying it out now. I see it takes a while so I will reply here later with my results.

  • @princetonlucian802

    @princetonlucian802

    2 жыл бұрын

    @Ulises Shane It worked and I actually got access to my account again. I'm so happy:D Thanks so much you saved my account !

  • @ulisesshane8379

    @ulisesshane8379

    2 жыл бұрын

    @Princeton Lucian Happy to help :)

  • @divyshah6794
    @divyshah67944 жыл бұрын

    Perfect solution for my query. Thank you so much.

  • @ashoksahu9546
    @ashoksahu95465 жыл бұрын

    Sir, Very very excellent video. Thank so much. This is so useful things.

  • @diassetefle9775
    @diassetefle97754 жыл бұрын

    It's very useful, thanks a lot for this tutorial.

  • @roberthofberger8847
    @roberthofberger88475 жыл бұрын

    Great job! Appreciate your work.

  • @mapanalysis4509
    @mapanalysis45095 жыл бұрын

    Excellent video, thank you for sharing

  • @rljordan91
    @rljordan91 Жыл бұрын

    best tutorial on this concept yet, and very clean formatting. thanks!

  • @gabrielahermaya3773
    @gabrielahermaya37734 жыл бұрын

    Thank you dear! Clear, simple and useful video!

  • @santoshkiran5858
    @santoshkiran58584 жыл бұрын

    I Love You So So So Much for this technique you're a super hero to me bro ❤️❤️❤️❤️

  • @mahamohan1
    @mahamohan15 жыл бұрын

    I am viewing this video for the second or third time. I find this video much useful in my day-to-day work and I want to add one more functional aspect to it. As long as you are using the data sheet alone its fine; but if your boss who is not excel savvy needs to go through it, you may insert a check box from the form control and combine this with the cell function formatting. So that when you unclick, there will not be conditional formatting and when clicked, there will be formatting. Also, this helps you when you try to print the data without formatting.

  • @elviaazalialopez130

    @elviaazalialopez130

    Жыл бұрын

    Very helpful addition. How can I do that? Thank you!

  • @prowidia
    @prowidia5 жыл бұрын

    Thanks, I appreciate you work. very much

  • @ThoughtsNeedThinkers
    @ThoughtsNeedThinkers4 жыл бұрын

    This is so elegant. Wonderful :)

  • @BGLoscar
    @BGLoscar3 жыл бұрын

    Amazing work.. You have no idea how much you helped me! I really appreciate it!

  • @MeredithHurstongplus
    @MeredithHurstongplus3 жыл бұрын

    Just what I needed. Thank you!

  • @mishraamukesh
    @mishraamukesh5 жыл бұрын

    Exceptional brilliant.. Very useful Thank you very much

  • @LotfyKozman
    @LotfyKozman5 жыл бұрын

    Vary useful and practical video. Thanks a lot.

  • @dayalanpadayachy
    @dayalanpadayachy5 жыл бұрын

    Hi, Thanks for a very useful technique :-)

  • @hamdanasr8574
    @hamdanasr85743 ай бұрын

    Wow, you are an AMAZING instructor ❤

  • @trumpexcel

    @trumpexcel

    3 ай бұрын

    Thank you so much for the kind words 😊

  • @narupa9
    @narupa92 ай бұрын

    I have watched many You Tube videos to accomplish this. However, your video was the only one that helped me. Keep up the great work. I look forward to more videos.

  • @trumpexcel

    @trumpexcel

    2 ай бұрын

    Thanks Narupa... Glad you found the video helpful 🙂

  • @KemarConstantine
    @KemarConstantine5 жыл бұрын

    Great video. Easy to follow.

  • @MCSsergio
    @MCSsergio9 ай бұрын

    Thank you so much for this tip! It will help me in my day to day work with spreadsheets.

  • @Miky198007
    @Miky1980074 жыл бұрын

    This video deserves a big Like :D

  • @MrElliottjc
    @MrElliottjc4 жыл бұрын

    Simply Brilliant!

  • @myal1717
    @myal17175 жыл бұрын

    Thank for the video... I didn’t get to know to make column and row colour different

  • @fernandosanchezmontiel6192
    @fernandosanchezmontiel61925 жыл бұрын

    Thanks a lot, very helpful and you explain very good!! tumb up!

  • @Robby-Rob-Robertson-III
    @Robby-Rob-Robertson-III Жыл бұрын

    This is amazing and simple, love it good job.

  • @babun9353
    @babun93534 жыл бұрын

    Very nicely explained. Loved that thanks

  • @imsha569
    @imsha5692 жыл бұрын

    Saved my time. Thank You

  • @vtechnolearning3696

    @vtechnolearning3696

    29 күн бұрын

    kzread.info/dash/bejne/on-j27iGfJfRkrg.html

  • @thezionzion
    @thezionzion4 жыл бұрын

    Awesome and Informative! Thank you!

  • @andriikulishov3371
    @andriikulishov33713 ай бұрын

    Such a contrast to how you convey the information! I've started to watch the video and in the 1st minute of it, wow, understandable! Thanks!! Am continue watching! P.S. Have a nice day too! 🙂

  • @trumpexcel

    @trumpexcel

    3 ай бұрын

    Thank you so much for the kind words Andrii 😊 Glad you found the video helpful!

  • @iZacq

    @iZacq

    2 ай бұрын

    ​@@trumpexcel Someone needs to Talk about this How can I get to Show *VIEW CODE* when I Right Click on Tab I don't get it when I Right Click on Tab :(

  • @trumpexcel

    @trumpexcel

    2 ай бұрын

    That's weird... It should show up. Alternatively, you can use the keyboard shortcut ALT + F11 to open the VB Editor (but you'll have to double-click on the sheet name to see the code in that sheet)

  • @marshallkrebs963
    @marshallkrebs9633 жыл бұрын

    Thank you - this tutorial helped me make an amped up stat book for my HS lacrosse team! Well done!

  • @slupien35
    @slupien352 жыл бұрын

    Thank you for the easy to follow guide

  • @dav4238
    @dav42387 ай бұрын

    WOW Excellent Tutorial! Thanks you. Very helpful.

  • @larrylahti2864
    @larrylahti28645 жыл бұрын

    Great idea, This can be very useful.

  • @fady04
    @fady044 жыл бұрын

    Thanks, buddy you made my day. you are a pro

  • @utube8108
    @utube8108 Жыл бұрын

    Thanks man. You are first person that i have subscribed for excell. Solved my problem. Stay blessed always

  • @grzegorzdziewiaty7190
    @grzegorzdziewiaty7190 Жыл бұрын

    That's very helpful. Thank you for sharing this tip.

  • @arjungovindan178
    @arjungovindan1783 ай бұрын

    Superb, It avoids the human error(s)

  • @Tubiquitous2
    @Tubiquitous25 жыл бұрын

    Helpful. Thank you!

  • @rupendankhara3492
    @rupendankhara34924 жыл бұрын

    Hi this really helps. Keep up the good work.

  • @MrAsifsonu
    @MrAsifsonu Жыл бұрын

    Excellent video................ ... this video resolved my biggest headache to read excel data...Thank you so much for the video

  • @usamanaeem8737
    @usamanaeem8737 Жыл бұрын

    Exactly what I was looking for

  • @Dirtchamp14
    @Dirtchamp144 жыл бұрын

    Excellent addition to my sheets! thanks for showing us. I do have one question... is there any way to get the colors to stop at the intersection point?

  • @alvaroromero2419
    @alvaroromero24194 жыл бұрын

    You are going to be my God since today!

  • @pnkmjd48
    @pnkmjd483 жыл бұрын

    Thank you so much for sharing this.

  • @sleepingbeauty9809
    @sleepingbeauty98095 ай бұрын

    This was extremely helpful!!!!!! thank you

  • @teoxengineer
    @teoxengineer3 жыл бұрын

    Thank you for this good and beneficial tutorial. If we choose an array, how does conditional formatting act?

  • @adaokeke573
    @adaokeke5733 жыл бұрын

    This is very helpful. Thank you so much!

  • @trumpexcel

    @trumpexcel

    3 жыл бұрын

    Glad you found it useful

  • @TheCoolsatishkumar
    @TheCoolsatishkumar Жыл бұрын

    it is helpful. presenting excel on teams is a difficult task on both side. with this, it will be easier.

  • @jeovannylopeztoribio4299
    @jeovannylopeztoribio42993 ай бұрын

    Amazing perfect explication from start to finish !

  • @trumpexcel

    @trumpexcel

    3 ай бұрын

    Thank you 😊 Glad you found the video useful!

  • @eharishkumargoud3159
    @eharishkumargoud31595 жыл бұрын

    Awesome Bro... Keep posting videos

  • @Msedk
    @Msedk3 жыл бұрын

    Excellent! Thank you for the learning experience. :-)

  • @cristcar1574
    @cristcar1574 Жыл бұрын

    Thank you, this was helpful!

  • @kazunasoeldner1624
    @kazunasoeldner16244 жыл бұрын

    This is a very useful video! Thank you. Do I have to set this rule and macro every time I open a new file of excel?

  • @Ganeshacanasho
    @Ganeshacanasho2 жыл бұрын

    This was of great help! Thanks!

  • @tawsifislam-accafinalist2796
    @tawsifislam-accafinalist27965 жыл бұрын

    Awesome video.. Really it will help me a lot

  • @goddessk3740
    @goddessk37402 жыл бұрын

    SO GRATEFUL FOR THIS VIDEO

  • @SaidElnaffar
    @SaidElnaffar4 жыл бұрын

    Very useful -- thanks!

  • @shamrao5672
    @shamrao5672 Жыл бұрын

    Excellent Sir ... Thank You Very Much

  • @RezaurRahmanEther
    @RezaurRahmanEther3 жыл бұрын

    Thanks a lot, Bro. Exactly what I was finding.......

  • @rohankaranjkar2813
    @rohankaranjkar2813 Жыл бұрын

    excellent tutorial best for beginners

  • @MrGIMPdude
    @MrGIMPdude3 жыл бұрын

    beautiful explanation. well done!

  • @trumpexcel

    @trumpexcel

    3 жыл бұрын

    Glad you found the video useful!

  • @sanjeve8769
    @sanjeve87698 ай бұрын

    Great Tutorial - very usual

  • @sandywarmoth-hosfelt1769
    @sandywarmoth-hosfelt17693 жыл бұрын

    Wonderful tutorial!!!

  • @r.i.4259
    @r.i.4259 Жыл бұрын

    subscribed , perfect video, thank you

  • @GeorgeAJululian
    @GeorgeAJululian2 жыл бұрын

    Very helpful many thanks Sir

  • @sasavienne
    @sasavienne5 жыл бұрын

    Great. Thanks a lot. 👍

  • @fpost337
    @fpost3374 жыл бұрын

    Perfect! Thanks!

  • @YeaNo.
    @YeaNo. Жыл бұрын

    So so helpful thank you.