Make Excel Formulas Dynamic with the Hash Sign

Поділитися
Вставка
  • Опубліковано 4 січ 2025

КОМЕНТАРІ • 120

  • @KenjiExplains
    @KenjiExplains  2 місяці тому +7

    🚀 FREE 50 Excel Hacks Template from Hubspot: clickhubspot.com/ew96

  • @Chris-ch5ei
    @Chris-ch5ei 5 днів тому

    "Thanks for your videos, Kenji! They've been a huge help to me, and they continue to make a difference. Every time I watch one of your videos, I can see how much better I'm getting. I really appreciate your help!

  • @markpodesta4605
    @markpodesta4605 2 місяці тому +10

    Thank you Kenji. I have been converting formulas to use the # tag.

  • @ahmadzamil9507
    @ahmadzamil9507 2 місяці тому +11

    Thank you for this! Love it! Will be very useful for me as Excel is my bread and butter. For the dynamic list I've been using OFFSET(Cell1,0,0,COUNTA(Column)) until today. Now I can just use the Hash.

  • @abdelhafidassadiki2124
    @abdelhafidassadiki2124 Місяць тому +3

    You give us valuable and exclusive advice that makes us eager for more. We wish you success and brilliance

  • @otmanaboutaieb2273
    @otmanaboutaieb2273 День тому

    OMG that soooo helpful, i use a bunch of code in vba to do what a simple little symbol can do. thank you sooo much 🙏🙏🙏

  • @ChocaZed
    @ChocaZed 2 місяці тому +7

    love them "Formula" names... seems fitting 😀 Go go McLaren!
    Great vid, btw! Keep up the good work 👍

  • @angelviloria4966
    @angelviloria4966 2 місяці тому

    I’m an expert in tech ed (by education + decades of experience) and your short dense video hit so well on so many dimensions.
    This is the first time I’ve seen one of your videos and I immediately subscribed.
    Excellent!

  • @gyges2375
    @gyges2375 2 місяці тому +65

    Very helpful video. When I tried the "free" download, I started getting required questions like where I work, my phone number, how many employees we have etc. This is a marketing survey and not free. It's also nobody's business. A big disappointment to an otherwise really good video.

    • @grbadalamenti
      @grbadalamenti 2 місяці тому +1

      Been rinsing and repeating this marketing trick since the early 2000s.

    • @k.moyers4746
      @k.moyers4746 2 місяці тому +1

      I won’t be back at this channel.

    • @Basic-wm8uf
      @Basic-wm8uf 2 місяці тому +1

      Nothing is free buddy. 😅

    • @bobtahoma
      @bobtahoma 2 місяці тому +2

      @@Basic-wm8ufFunny that, because I saw the sponsorship in the video. You’d be forgiven for thinking that would cover it.

    • @pjserny
      @pjserny Місяць тому

      Same. Pretty sad, but that’s where Jenny steps in.

  • @FayeM9
    @FayeM9 2 місяці тому +91

    GREAT video, just what I needed, btw my cousin Jake is building a new PC for work, and needs Office, any rec??

    • @JohnJacobson555
      @JohnJacobson555 2 місяці тому

      BNH Software with that, btw which type of PC is he building? Intel o Ryzen?

    • @Ann_779
      @Ann_779 2 місяці тому

      that one is great, and worth it, My brother Paul works with PC do you need any help?

  • @pagedinesh
    @pagedinesh 2 місяці тому +2

    Great Sir, Thank you very much... very helpful

  • @43543191
    @43543191 2 місяці тому +1

    love it! this is a game changer! kudos Kenji!

  • @TheGbelcher
    @TheGbelcher 2 місяці тому

    I’ve been looking for this my whole life. Thanks!

  • @bjornclaeys3266
    @bjornclaeys3266 2 місяці тому +1

    Hi Kenji. this was indeed a very useful solution for my files

  • @TechnoEveryday
    @TechnoEveryday 2 місяці тому +1

    Learned new awesome technique ❤❤❤

  • @markzalavari1780
    @markzalavari1780 2 місяці тому +2

    thank you, I've learned a lot. I missed the part when you add a new dataline for the table or the structured database.

    • @richlawrence4160
      @richlawrence4160 2 місяці тому

      Yes, more common to add extra rows to a table than alter values of existing rows.

  • @fernandosousa5480
    @fernandosousa5480 2 місяці тому +2

    Very helpful. Great examples 🙏🏻

  • @pascalejacquelinepetit5131
    @pascalejacquelinepetit5131 2 місяці тому

    Always informative and exceptionally well presented! Thank you Kenji for great videos. The pace is perfect to follow along, and the reasoning for why things work/don't work, helps us understand how Excel works.

  • @richlawrence4160
    @richlawrence4160 2 місяці тому

    Excellent presentation style. Very clear and concise. Thanks.

  • @RikMaxSpeed
    @RikMaxSpeed 2 місяці тому +3

    Useful tips and interesting F1 driver names 😊

    • @RobiBue
      @RobiBue 2 місяці тому +2

      Loved the driver names 😂
      An opportunity was missed by naming Checo into Sergio Pemex! But hilarious notwithstanding!

  • @nsanch0181
    @nsanch0181 2 місяці тому

    Thank you for the great video Kengi. There was a lot of useful #, table and function information in that.

  • @bejoscha
    @bejoscha 2 місяці тому

    Thanks, that was really well presented and will be very handy for me in the future.

  • @techlon
    @techlon Місяць тому

    very cool, thanks for sharing! 😊

  • @shabbirk2147
    @shabbirk2147 27 днів тому

    Hi #Kenji, instead of complex formula counta(index(F11#,0,1)), you can use countif(F11#,G4), G4 being cell reference for subject

  • @someguy-k2h
    @someguy-k2h 2 місяці тому

    Great information to know. I'll use it in the future.

  • @Kevin-g3g1v
    @Kevin-g3g1v 2 місяці тому

    Thanks a lot!

  • @NirRobinson
    @NirRobinson 2 місяці тому

    Thank!! Superb explanation. Will try it the soonest

  • @MogensBLaursen
    @MogensBLaursen 2 місяці тому +5

    Thanks for sharing !
    It seems that the spill operator only works on range that themselves are dynamic arrays. I have tried the #-operator on a column of static values and it returns an #REF! error. If I generate an intermediate column based on the static range, and then references the intermediate column using the #-operator, it works.

    • @ChocaZed
      @ChocaZed Місяць тому

      I had the same issue! On a static range it will not work... Why MS, why??!

    • @ChocaZed
      @ChocaZed Місяць тому

      BTW i should have added how i curcumvent this issue, as a rule of thumb i always use tables instead of cell ranges.
      On the validation list formula, use =indirect("TableName[Table Header Name]") this will be dynamically updated when something else is added to the table etc.
      Hope it helps!!

  • @chrisneedhamc3
    @chrisneedhamc3 28 днів тому

    Very helpful video, indeed. Though I feel obliged to point out a certain irony at 9:40 - two UNIQUE values... 😅😏

  • @MMed7
    @MMed7 Місяць тому

    Than you ! thank you ! thank you ! sooooo much !!

  • @AHKtipszone
    @AHKtipszone 2 місяці тому

    # sign is very powerful. thanks

  • @Withanagehub
    @Withanagehub 2 місяці тому +3

    hey ! in example 2 instead of COUNTA + # + INDEX Function, using COUNT + # can get easily same result. Thank You !

    • @CavanHagan2
      @CavanHagan2 2 місяці тому +4

      Technically, but that's just because there's only one column containing numbers. The index is safer :)

    • @Withanagehub
      @Withanagehub 2 місяці тому

      @@CavanHagan2 oh thanks for sharing !

  • @rabiulhaque172
    @rabiulhaque172 2 місяці тому

    Great Sir..

  • @HopeElayne
    @HopeElayne 2 місяці тому +1

    Ty for this!

  • @marwinreyes314
    @marwinreyes314 2 місяці тому +5

    What version of MS Excel are you using? I'm Using MS Office LTSC Professional Plus 2021 and the # sign does not work. Thank you.

  • @shoppersdream
    @shoppersdream Місяць тому

    Nice, thanks! Quick Question? Why didn't you use Count for Student Count? It works fine and we don't need to make it more complicated than is required.

  • @Kostyashym
    @Kostyashym 2 місяці тому +1

    thank you!

  • @wallywechs4694
    @wallywechs4694 2 місяці тому

    Wow, very resourceful

  • @mikemitchell9227
    @mikemitchell9227 2 місяці тому +1

    That was great. Thanks. I'm not happy about Lewis having the lowest score, but that's OK. 😂

    • @gioyfa
      @gioyfa 2 місяці тому +1

      😂😂 Next year, will have higher grades.

  • @sarreqteryx
    @sarreqteryx 2 місяці тому +2

    (not at a computer I can actually check for myself) does the =UNIQUE() function not work inside the data validation list?

  • @camlex6310
    @camlex6310 2 місяці тому

    Thanks!! Great video!!

  • @PercyNPC
    @PercyNPC 2 місяці тому

    8:37 Can you type =UNIQUE formula that you just created?
    You don't need to create new cell and hide it.

  • @johannnagel9005
    @johannnagel9005 2 місяці тому

    Hi Kenji, thank you for your excellent work! I would enjoy a video about saving ressources with excel. My spreadsheet with different macros and tables are slowly as hell because of many sort and filter-functions. Do you know any helping hacks for that? Thak you and best wishes from germany.

  • @colleen5236
    @colleen5236 2 місяці тому +1

    this was very interesting :) but I couldnt get my # operator to work. I think I missed the part that the #operator only works on a data range that is a spilled array and not on just any data set or table? Or it should work on a table? I think in your example you were able to use the Unique function on the table set. Mine only works on a spilled array. yikes confused.

  • @sivareddy3745
    @sivareddy3745 2 місяці тому

    Hi Kenji, it is good and nice.

  • @ezio27me
    @ezio27me 23 дні тому

    Hello, I follow your videos.
    I have a question that let assume i have lots of data arranged year wise and that year is the top row of my data, which is use to forecast model to forecast future data. When i convert those data into "Table" the year becomes the "Header of the table". Then it become useless as i cant use the year to forecast model!! Is there any other way to work in a table??

  • @SpaaacceCore
    @SpaaacceCore 2 місяці тому +5

    Nice! Although in your real world example, all of that is built into the table already... Just use the built-in table column totals.

    • @CAKimberlyLewis
      @CAKimberlyLewis 2 місяці тому

      😉 The reason for this is explained at 9:26

    • @SpaaacceCore
      @SpaaacceCore 2 місяці тому +1

      ​@@CAKimberlyLewis No, not really. He says functions such as UNIQUE and FILTER don't work in table columns, however they are irrelevant for tables so they don't need to work. Tables already have a built-in filter on every column. Then, adding the built-in totals row using the SUBTOTAL function allows sum, avg, min, max, count, etc. all dynamically based on the applied filter. 😉

    • @afmutw
      @afmutw 2 місяці тому +1

      In the real world you need to be able to send your work to someone who uses an older version of excel. (Tables are older so may still work.)

    • @marshallc6215
      @marshallc6215 2 місяці тому +1

      That requires that you use a table, though. I can imagine several use cases for me for this, maintaining legacy code where nobody converted to tables, and because the data is dumped from vba, it's not a simple "select all - convert to table"

  • @SM-gh3cy
    @SM-gh3cy 9 годин тому

    Does this work on google sheets as well?

  • @jamjardavies
    @jamjardavies 2 місяці тому +2

    I see a fellow F1 fan!

  • @Wintermute4
    @Wintermute4 2 місяці тому

    Could you put the unique function in the validation formula directly?

  • @Cirruna
    @Cirruna 2 місяці тому

    Thank you! I was just looking for this. Great timing.

  • @Tharkz
    @Tharkz 2 місяці тому

    Keep an eye out for the upcoming TRIMRANGE too.

  • @Athena621
    @Athena621 2 місяці тому

    Can you not extend the array by inserting a column within the array, say between B and C?
    Does the # array extension work in Pivot tables?

  • @Daniel-jx5zt
    @Daniel-jx5zt 2 місяці тому

    Amazing

  • @jerry171460
    @jerry171460 2 місяці тому

    Thumbs up!

  • @SubairAbulHudhasl
    @SubairAbulHudhasl 2 місяці тому +1

    In which version of excell this # command is working

    • @SubairAbulHudhasl
      @SubairAbulHudhasl 2 місяці тому

      Hash formula is not working in the free version of MSoffice.

  • @craigmushens4789
    @craigmushens4789 День тому

    Love how all the students are plays on F1 drivers names

  • @alvaropallete
    @alvaropallete 2 місяці тому

    amazing

  • @oswaldo.g
    @oswaldo.g 2 місяці тому +1

    The best part of the video is the students name's.

  • @pyrraca478
    @pyrraca478 23 дні тому

    8:39 in a validation list coming from a table, excel automatically made the list with unique values. You don't need to use any kind of formula

  • @sallyho146
    @sallyho146 2 місяці тому

    I don’t have dynamic array so i couldn’t use the hash operator. I just have a list of ID# of customer names I need to count. How can I use the hash operator to count the total customer names?

  • @jfoetidnwo56
    @jfoetidnwo56 Місяць тому

    does that work in google sheets?

  • @billybank2012
    @billybank2012 2 місяці тому

    so how do you tell excel to continue day input in one cell in one worksheet based on the previous entry in another worksheet

  • @drewbny78
    @drewbny78 Місяць тому

    On a separae topic, anyone know how to change source of multiple objects in powerpoint at once?

  • @ahmedshalaby9343
    @ahmedshalaby9343 2 місяці тому

    what's the meaning by arrays ?

  • @josephleslie007
    @josephleslie007 2 місяці тому

    It will work on latest version I think

  • @Anti-socialSocialClub
    @Anti-socialSocialClub Місяць тому

    How can one application have so many functions ???

  • @RajuAdhikari-y8r
    @RajuAdhikari-y8r Місяць тому

    Not working brother please help ...Microsoft office 2021

  • @m.ssharma535
    @m.ssharma535 Місяць тому

    Dynamic array # (hash) operator explanation

  • @yashgupta6812
    @yashgupta6812 2 місяці тому

    # is not working in my excel. Can you help me ?

    • @KenjiExplains
      @KenjiExplains  2 місяці тому +1

      Probably because you have one of the older Excel versions. For reference, I am using Microsoft 365

    • @yashgupta6812
      @yashgupta6812 2 місяці тому +1

      @@KenjiExplains yes i am also using 365. i am using sum function of three numbers. =sum(H2#), let say 1st number is in H2 cell, after click on #, it should select whole data range but it is not working

  • @donireland6218
    @donireland6218 2 місяці тому

    Good tip. One thing I'd like to see is how to deal with a column of numbers in which you don't know the number of rows.
    For example: a budget. At the top, I might have Sum(A2:A100). But what if something happens and I need to add a row? I'd really like to find a way to tell it to sum ALL THE CELLS below A1.

  • @SHEERAZ-ALI
    @SHEERAZ-ALI 2 місяці тому

    # not working in excel 2016

  • @rosslynross6380
    @rosslynross6380 2 місяці тому

    💌💌💌💌💌💌💌💌

  • @kevinperez7555
    @kevinperez7555 Місяць тому

    Hmmm. Did not work for me unfortunately.

  • @willzinner8813
    @willzinner8813 2 місяці тому

    1st

  • @FirstLast-is9xe
    @FirstLast-is9xe 2 місяці тому

    Not hugs, that's hacks!

  • @jerryoltremari317
    @jerryoltremari317 Місяць тому

    How did you come up with “90% of excel users don’t know this”?

    • @kazhaaa
      @kazhaaa Місяць тому

      He used dynamic array

  • @dennisk5500
    @dennisk5500 2 місяці тому

    Gonna go with formulas over formulae, huh? Yeah, this is UA-cam after all

  • @d1m18
    @d1m18 2 місяці тому +5

    Thank you for sharing. May I suggest you don't show us the bad way to do formulas? Like when you did average formula and let it find the only numeric column - this is very poor practice and of no use to learn the wrong way to do it.

  • @joserosa5342
    @joserosa5342 Місяць тому

    ITs easy to use some functions when u are using the right version of Excell to do ir. U cant use those fuctions in Excell below 2019. So sad.

  • @realbangkok
    @realbangkok 2 місяці тому +1

    1,000 years far from google sheet, it is not 100% dynamic because at first you have to make table at column B

    • @karllinguistik7244
      @karllinguistik7244 2 місяці тому

      Hi. Sorry. Could you explain what you mean in more detail. I'm really interested in this?

  • @stanTrX
    @stanTrX 2 місяці тому

    I dont like to use dynamic arrays

  • @WindyLion
    @WindyLion 2 місяці тому

    The hash operator is great when you are displaying the data in a dashboard with numeric fields, but as soon as you want to put a dynamic array into a graph, it stops working.
    The solution is to reference the dynamic array in the name manager, e.g.
    tableData =OFFSET( DataSheet!$A$1, 1, 0, COUNTA( DataSheet!$A$A ) - 1, COUNTA( DataSheet!$1$1 ))
    tableFilter =FILTER( tableData, INDEX( tableData, , 2) = "criterion" )
    tableX = INDEX( tableFilter, , 3 )
    tableY1 = INDEX( tableFilter, , 6 )
    tableY2 = INDEX( tableFilter, , 8 )
    Then in the data selection interface of the table, reference workbookName.xlsx!tableX for the x values and workbookName.xlsx!tableY1 and workbookName.xlsx!tableY2 for the y values. Now, if you add rows to the data sheet or if you change the filter criteria, the graph will update automatically.