How to Use the STOCKHISTORY Function in Excel 📈

Поделиться
HTML-код
  • Опубликовано: 9 фев 2025

Комментарии • 310

  • @LeilaGharani
    @LeilaGharani  4 года назад +28

    Grab the file I used in the video from here 👉 pages.xelplus.com/stockhistory-file
    Stockhistory is now available to all Office 365 subscribers!

    • @StockSpotlightPodcast
      @StockSpotlightPodcast 3 года назад +3

      Maybe we’ll get this in other versions in 2030 😂

    • @davidjames3494
      @davidjames3494 3 года назад +1

      But choosing a different ENDDATE instead of TODAY does not work, why? Also I think the common date periods should be solved by XL. It is a bug.

    • @desdelafabrica
      @desdelafabrica 3 года назад +1

      Good Morning!
      I am a 365 office subscriber and this formula is not available. As i have my office in Spanish, i tried the "Spanish formula HISTORIALCOTIZACIONES" i did not work either
      I wanted to practice this amazing video that you published.
      If you can help me, i would appreciate.
      Thank you..

    • @evanscott1204
      @evanscott1204 3 года назад

      i prefer using the stock icon in microsoft excel in the ribbon its easier for me the other way is more complicated which would you prefer using long way or the easiest way

    • @evanscott1204
      @evanscott1204 3 года назад

      I wanted to know for a job

  • @OldDogNewTrick
    @OldDogNewTrick 3 года назад +33

    Just found this recently, and I am excited about trying out some of these features myself. Never too old (81 years old now) to learn another new trick. Thank you so much.

    • @ramkishoryadav9087
      @ramkishoryadav9087 8 месяцев назад

      ruclips.net/video/20kqmtzok8I/видео.htmlsi=nnOpAEpBY8gqJl-d

  • @AdvantageWealth
    @AdvantageWealth 4 года назад +8

    as a 30+ year excel user, I am humbled with your knowledge and new ideas. Thank you very much!

    • @LeilaGharani
      @LeilaGharani  4 года назад +1

      Thanks for watching, Don!

    • @ramkishoryadav9087
      @ramkishoryadav9087 8 месяцев назад

      ruclips.net/video/20kqmtzok8I/видео.htmlsi=nnOpAEpBY8gqJl-d

  • @vijayarjunwadkar
    @vijayarjunwadkar 4 года назад +13

    Leila is always adding to our knowledge "STOCK" and creating "HISTORY" with her unique teaching style and long list of videos on practically everything needed in office work! Glad to watch this neat video, thank you! 😊👍👏

    • @LeilaGharani
      @LeilaGharani  4 года назад

      Thank you, Vijay 😊

    • @ramkishoryadav9087
      @ramkishoryadav9087 8 месяцев назад

      ruclips.net/video/20kqmtzok8I/видео.htmlsi=nnOpAEpBY8gqJl-d

  • @ManojKumar-sk3fw
    @ManojKumar-sk3fw 4 года назад +10

    I was desperately looking for this function in excel. Thank you very much. Very informative

  • @67sean1310
    @67sean1310 2 года назад

    Fantastic! Never in a million years could I have figured this out without your video

    • @LeilaGharani
      @LeilaGharani  2 года назад

      Glad I could help!

    • @ramkishoryadav9087
      @ramkishoryadav9087 8 месяцев назад

      ruclips.net/video/20kqmtzok8I/видео.htmlsi=nnOpAEpBY8gqJl-d

  • @RichErmlick
    @RichErmlick 3 года назад +5

    Leila, you are an amazing teacher with deep knowledge, awesome content, and a wonderful style of presenting things quickly and cleanly. Well done and Big Kudos on the success of your brand!

  • @chidieberenjoku8143
    @chidieberenjoku8143 2 года назад

    This has made me grown one more bit today, many thanks Leila

    • @ramkishoryadav9087
      @ramkishoryadav9087 8 месяцев назад

      ruclips.net/video/20kqmtzok8I/видео.htmlsi=nnOpAEpBY8gqJl-d

  • @robertbyers
    @robertbyers 4 года назад +1

    Fabulous, I'm looking forward to STOCKHISTORY appearing in the main Excel release channel. Thank you for the walkthrough!

  • @ManojKumar-sk3fw
    @ManojKumar-sk3fw 4 года назад +6

    Thank you for mentioning INDIA is included in the covered exchanges

    • @LeilaGharani
      @LeilaGharani  4 года назад +2

      😀 It was a question in the comments of the previous stock data type video so I thought I address it here. Thank you for the first like and comment 🙏

    • @ManojKumar-sk3fw
      @ManojKumar-sk3fw 4 года назад

      @@LeilaGharani I raised that question on instagram and Your RUclips channel..

  • @mariamnassar2402
    @mariamnassar2402 Год назад +1

    You are amazing teacher with mastery very impressive!

    • @ramkishoryadav9087
      @ramkishoryadav9087 8 месяцев назад

      ruclips.net/video/20kqmtzok8I/видео.htmlsi=nnOpAEpBY8gqJl-d

  • @jesusaltamiranoagente3131
    @jesusaltamiranoagente3131 2 года назад

    I learn a lot of excel with you and also an excellent English pronunciation, 2x1. Muchas Gracias

  • @PierreFromCanada
    @PierreFromCanada 3 года назад

    I've followed your channel for about a year now. I've learned so much. Thanks.

    • @LeilaGharani
      @LeilaGharani  3 года назад

      Great to hear, Pierre!

    • @ramkishoryadav9087
      @ramkishoryadav9087 8 месяцев назад

      ruclips.net/video/20kqmtzok8I/видео.htmlsi=nnOpAEpBY8gqJl-d

  • @SavageGothamChess
    @SavageGothamChess 4 года назад +2

    This video is super useful. I think you will have to put up a question and answer session for your viewers.

  • @ShubhamMathur14
    @ShubhamMathur14 4 года назад +3

    Thank you this video. Would love to see more videos on stocks functions....

    • @ShubhamMathur14
      @ShubhamMathur14 4 года назад

      @Leila Gharani, Ma'am - Please make a series on Stock Market.. Your way of teaching (Specially Excel) is excellent and lots and lots of people has learned lot from your courses /RUclips videos. Kindly give a thought on this.
      Best Regards
      Shubham

  • @rays729
    @rays729 3 года назад +2

    Hi Leila, Thank you for sharing your knowledge! You do an excellent job at explaining Excel and make it easy.

    • @ramkishoryadav9087
      @ramkishoryadav9087 8 месяцев назад

      ruclips.net/video/20kqmtzok8I/видео.htmlsi=nnOpAEpBY8gqJl-d

  • @mehranhourmozdi4233
    @mehranhourmozdi4233 2 года назад

    Found this and am excited to use the features. Thank you for your education.

  • @williama.rivera9414
    @williama.rivera9414 2 года назад

    Very instructive and informative video. Thank you so much for share it.

  • @denconstutube
    @denconstutube 4 года назад +1

    Excellent! I have been using the Stock function from the time you posted your video on the function, and it has been perfect. Obviously, this function is so much better. I will start it today. Thank you again for all of your great videos.

    • @ramkishoryadav9087
      @ramkishoryadav9087 8 месяцев назад

      ruclips.net/video/20kqmtzok8I/видео.htmlsi=nnOpAEpBY8gqJl-d

  • @majeedpanahi5783
    @majeedpanahi5783 4 года назад +1

    Excellent function and a very good explanation as always by Leila. Well done and keep it up.

    • @ramkishoryadav9087
      @ramkishoryadav9087 8 месяцев назад

      ruclips.net/video/20kqmtzok8I/видео.htmlsi=nnOpAEpBY8gqJl-d

  • @dl8098
    @dl8098 3 года назад

    Leila is the crush of all Geeks! Love you and your work! 😍

  • @anillpatel
    @anillpatel 4 года назад

    This is a great Video Presentation. Very useful tips and tricks.Thank you Leila.

    • @ramkishoryadav9087
      @ramkishoryadav9087 8 месяцев назад

      ruclips.net/video/20kqmtzok8I/видео.htmlsi=nnOpAEpBY8gqJl-d

  • @desaipr3
    @desaipr3 3 года назад

    Excellent video tutorial, Leila! Keep it up! Thanks!

  • @genechicago4806
    @genechicago4806 4 года назад

    Neat! I like how you made the formula more dynamic. Your mastery of Excel is impressive and does qualify you as a geek---just like it shows on the cup. :) Thank you for sharing your knowledge!

  • @yoliedepaz3340
    @yoliedepaz3340 4 года назад

    Excellent, Leila! As always, you’re a big help for me. Thanks a lot and more power to you. Stay safe, God bless you! I did not skip the ads, grateful meh here! 🤗

  • @MrSupernova111
    @MrSupernova111 2 года назад

    This is a brilliant add-on to Excel! Thanks!

  • @captvo
    @captvo 4 года назад +1

    Excellent video! Clear and crisp tutorials as always!

    • @ramkishoryadav9087
      @ramkishoryadav9087 8 месяцев назад

      ruclips.net/video/20kqmtzok8I/видео.htmlsi=nnOpAEpBY8gqJl-d

  • @rcurielh
    @rcurielh 3 года назад

    Thank you Leila, this was VERY helpful.

  • @alhassanmusah7242
    @alhassanmusah7242 4 года назад

    Extremely Marvelous Tutorial.. I have been following up every time.. You are Magnificent Leila

  • @sunnywong1921
    @sunnywong1921 3 года назад

    Very Great introduction. Will get it and try soonest. Amazing

  • @rachidmoutawakk1834
    @rachidmoutawakk1834 4 года назад

    Tank you Leila for your help and may God bless you

    • @ramkishoryadav9087
      @ramkishoryadav9087 8 месяцев назад

      ruclips.net/video/20kqmtzok8I/видео.htmlsi=nnOpAEpBY8gqJl-d

  • @deepanshugarg475
    @deepanshugarg475 Год назад

    Awesome content..explained in most easiest way..Thankyou..

  • @ckteran
    @ckteran 10 месяцев назад

    Thank you, Leila. You are awesome!

    • @ramkishoryadav9087
      @ramkishoryadav9087 8 месяцев назад

      ruclips.net/video/20kqmtzok8I/видео.htmlsi=nnOpAEpBY8gqJl-d

  • @savageplanets
    @savageplanets 2 года назад

    Thank you so much for this… it was extremely helpful. Good job!

  • @upendrasharma4257
    @upendrasharma4257 3 года назад

    Not sure how do you know most Indians are appreciating your work. Just noticed you highlighted India is covered like emerging market, emerging investors in India. :)

  • @tonynunez6539
    @tonynunez6539 Год назад +1

    Great class. I am not able to see the stock button on my Excel version. Do I have an older version? I think I have Microsoft 365. I also want to input other stock information like MACD, RSI, Stochastics, and other technical data. Can I do that? Thank you.

  • @joysondsouza148
    @joysondsouza148 Год назад

    Thank you for this video, keep growing.

  • @flarerazor4972
    @flarerazor4972 2 года назад +1

    Hi been looking for a while now but nothing mentions if this feature is exclusive to office 365 or if it is available to the home & student/professional is this function in these? if not is there a way to create a macro that does this function?

  • @MareeTeolanafo
    @MareeTeolanafo 4 года назад

    I love this function! Great video, thanks for sharing.

  • @jakovvodanovic9165
    @jakovvodanovic9165 3 года назад

    Just what I was looking for, thanks a lot.👌

  • @michaelren104
    @michaelren104 3 года назад +2

    Thank you so much for explaining it really well. I had looked up other tutorials for this function, but failed to fully understand it. Two questions if you haven't answered them already: 1) How to align daily data for several stocks (eg I have some stocks that don't go back a year and their results are misaligned to the others). 2) the present setup shows the oldest data first, how can we set it to show today's price in the leftmost cell and then go backwards? Thanks much

    • @jamesroberts5645
      @jamesroberts5645 3 года назад

      I second this question? Would save a lot of time adjusting ranges etc. Thanks for the great video, very informative! :)

    • @michaelren104
      @michaelren104 3 года назад +1

      @@jamesroberts5645 I now use the following to calculate stockhistory: Fill up the top cell with date and use this for returning stockvalue at only that date: =STOCKHISTORY($A$5,E1,E1,0,0,1) Where E1 is the date for which I want the stock value. Hope that helps

    • @jamesroberts5645
      @jamesroberts5645 3 года назад +1

      @@michaelren104 Thanks Michael, that worked a treat.
      In case you're still after an easy way to have historical data in descending order, after hitting my head against numerous walls and necking a few large bottles of fine scotch whiskey i finally found the solution. This is the formula: =TRANSPOSE(SORT(STOCKHISTORY(A5,C2,TODAY(),0,B42,B43,B44),1,-1))
      Its the 'SORT' and 1,-1 at the end that does the magic. You may already have discovered this but i only just have. Lol!

  • @adilsonsf
    @adilsonsf 5 месяцев назад

    Great video. Thanks.

  • @alanhill5337
    @alanhill5337 3 года назад

    Terrific explanation. thank you

  • @karl2016
    @karl2016 4 года назад

    Great video...always learning from your work.

  • @CaribouDataScience
    @CaribouDataScience 2 года назад

    Thanks, You made that look easy.

  • @alhassanmusah7242
    @alhassanmusah7242 4 года назад +1

    Looking forward to see more Formative stock functions which can generate reports

  • @sepandjazzi
    @sepandjazzi 10 месяцев назад

    Thank you so much - great video as are the others!

  • @mdexcelpro8495
    @mdexcelpro8495 4 года назад

    Really really very very amazing function great 👍👍

  • @rayschrijvers9249
    @rayschrijvers9249 2 года назад +1

    Nice video... thank you. Is there a function to reverse the order of the date from the newest to the oldest? Thx

  • @tumpalmanurungtmchannel6764
    @tumpalmanurungtmchannel6764 3 года назад

    Great video...thanks for sharing...Leila...👍

  • @wkl3968
    @wkl3968 4 года назад

    thank you for such wonderful trainings!! very clear and easy to follow. I'm able to replicate effectively.

  • @Galileo2pi
    @Galileo2pi 4 года назад

    Leila, as always, brilliant. I knew this function, but I don't remember whether I saw it in your previous videos or in your courses. Thank you.

    • @ramkishoryadav9087
      @ramkishoryadav9087 8 месяцев назад

      ruclips.net/video/20kqmtzok8I/видео.htmlsi=nnOpAEpBY8gqJl-d

  • @rajsahu1029
    @rajsahu1029 4 года назад

    Very interesting and useful information. Thanks a lot

  • @MadVillain0524
    @MadVillain0524 3 года назад

    really beautiful video. Amazing

  • @BIMoji1
    @BIMoji1 11 месяцев назад

    Amazing work. Thank you

  • @megatron0020
    @megatron0020 16 дней назад

    Gr8 video - how do I get data for monthly close for past 12 to 24 months i.e., last day of each month and do a % change ?

  • @The_1two3
    @The_1two3 10 месяцев назад

    Thanks Leila, indeed a useful video.
    Can you please help to derive the daily moving average in one cell of the last 30 days closing as that will help to compare with the current price.
    this function is there in Google Sheet but unable to found in MS Excel.

  • @shakthiatukorala595
    @shakthiatukorala595 4 года назад

    Nice tutorial, nicely explained.

  • @TheAdidaskicks23
    @TheAdidaskicks23 4 года назад +1

    timely video! 🚀🚀🚀

  • @hazemgheith9991
    @hazemgheith9991 Год назад

    Thank You! Is there similar approach to download daily stock options prices?

  • @aclpyah
    @aclpyah 3 года назад

    Thanks for sharing!! But how to deal with the situation that there are new stocks which with shorter stock history than the others?

  • @drsteele4749
    @drsteele4749 4 года назад

    Super video, Leila. You've got to be careful with applying that technique to a portfolio of stocks. Sometimes there are missing dates from trading halt orders or you've got stocks across different exchanges with different days off, especially for holidays between countries.

    • @LeilaGharani
      @LeilaGharani  4 года назад +1

      Fully agree - that's why we need to do the check first to make sure they all have the same dates otherwise we might be showing the wrong value for the date.

  • @IbadassI
    @IbadassI 2 года назад

    Awesome, thanks for this!

  • @stephenfarrell6794
    @stephenfarrell6794 11 месяцев назад

    Finally got around to setting this up, thank you.
    Is there a way to reverse the date sequence from newest to oldest?

  • @waleedfaris
    @waleedfaris 4 года назад

    thank you very much for all these wonderful and valuable information you are providing
    And just now I was telling my mom I wanna learn and know whatever she knows from the excel sheet 😓
    Because I'm an accountant.

  • @willrose09
    @willrose09 2 месяца назад

    Man, I had this in the wrong Playlist!

  • @VladStocks
    @VladStocks 11 месяцев назад

    Can you please explain how we can get the closing price o stocks for consecutive days (say 10 days) instead of months? Thank you!

  • @MohamedIbrahim-sv9mk
    @MohamedIbrahim-sv9mk 4 года назад

    You look good in this new look ❤️

  • @robh.1212
    @robh.1212 9 месяцев назад

    I would like to show the year to date performance of spy as a percentage. Is there a way to use stockhistory to do that? Do you know of some other way to get excel to show me the year to date performance of spy as a percentage? Thanks so much in advance. We really love your videos. They are so helpful and they age well.

  • @ruisergio2343
    @ruisergio2343 Год назад

    Thank you Leila, excellent video. How do i get Commodity prices, like Spot Gold, Silver, Maize, Coffee, etc... ?

  • @roallanwood1137
    @roallanwood1137 11 месяцев назад

    Love your videos. Q.why are some stock prices not shown, e.g.Lloyds Bank, BT etc on the London stock exchange.?

  • @jonwg5994
    @jonwg5994 3 года назад

    Awesome video, thanks

  • @Corey_Bee
    @Corey_Bee 3 года назад

    For daily info, I just passed the array of dates outputted in the date row as the "start date" for all the other rows (it handles dynamic array). Performance might not be as good but it worked just fine for ~10 companies with 5 years of data. Also, you want to pick a ticker for the date row that has been traded consistently for your time period.

  • @denniskshatri3376
    @denniskshatri3376 3 года назад

    Hellow Leila, I watch quite a bit your tutorial for stock, can you suggest how to down load portfolio history from Robinhood.

  • @vastradanirudh
    @vastradanirudh 4 года назад +2

    I am unable to find stockhistory function! I have updated version of 365. What should I do?

  • @pedrocotta8320
    @pedrocotta8320 2 года назад

    Excelent lesson.

  • @chrism9037
    @chrism9037 4 года назад

    Very cool Leila!!

  • @godfreykiggundu7787
    @godfreykiggundu7787 10 месяцев назад

    Thanks a lot Leila for this video. It has really helped me in my trading plan/strategy. But another challenge that I have faced is when it comes to fetching data based on the one-hour time frame. The Stockhistory function gives data only on the daily, Weekly and Monthly. But I need data for hourly time frame. How can I go about that?

  • @TheUnofficialMaker
    @TheUnofficialMaker 3 года назад

    You Rock Girl!

  • @ciroromer7380
    @ciroromer7380 3 года назад +1

    How can you download the dividend amount or percentage? is it possible? thx

  • @sahrasassy5982
    @sahrasassy5982 Год назад

    I need this to be this way for my double bottom strategy code.

  • @mtranjan01
    @mtranjan01 4 года назад +1

    Loved it❤❤❤

  • @OfficeFreak
    @OfficeFreak 4 года назад

    Loved your new setup 🤘

  • @jorgegonzalez5252
    @jorgegonzalez5252 3 года назад

    hi leila, thanks for all the useful information that you share. I have a problem that i cannot find a solution in stockhistory function. I just cannot figure out how to download only the daily % change in a stock in lets say one month. I see the funcion when i click on the symbol but cannot figure it out. thank you

  • @rohitbhansali4188
    @rohitbhansali4188 4 года назад

    Looking Forward for more Excel Hacks

  • @dirkdevis6216
    @dirkdevis6216 3 года назад +2

    Great tutorial. Thanks a lot. A question though. If you have stocks from different exchanges (for example XNYS and XBRU), the exchange have different days that the stock markets are closed/open and the timeline is not the same. Would there be a way to force the values to use a unique timeline ?

  • @StockBuzz2021
    @StockBuzz2021 3 года назад

    Leila ,Do u know U r so amzaing ... and keep rocking..enjoy !

  • @yungyungx
    @yungyungx 3 года назад +1

    Thanks for the excellent expose to STOCKHISTORY Function. I have a question in regard to this. Some of my Stock actually doesn't start at the same time. When I try to do the above, the number of entries are different when I use a monthly 2 years data (from 9/1/2019). To be specific, XNAS:UPST will give you the #N/A error for the 11/1/2020 entry but will have all other prices up to 9/1/2021.
    My question is how do I actually make the data and dates to be placed in the correct dates at the top which starts at 9/1/2019 an ends with 9/1/2021? Secondly, Why does it provide the #N/A error? Thanks in advance.

  • @awaiskhokhar488
    @awaiskhokhar488 4 года назад

    Mam you are looking gorgeous in your office. Stay blessed.

  • @trishantagarwal4877
    @trishantagarwal4877 Год назад

    Very informative video! One issue that I am facing is for the stocks that weren't listed as of the start date, the functions still returns a value. How do I solve that?

  • @arestrading9467
    @arestrading9467 2 года назад

    Thanks for the awesome video! I'm running into a problem where I'm trying to generate stock data for YTD 2022 and it will not give me data through today June 4th. Is there a way to tell excel to use previous data if the market is closed so it will generate data for everyday even on the weekends using the previous close of the last open market day?

  • @hugomeza2910
    @hugomeza2910 3 года назад

    I been watching your videos lately. Thanks for all the information. It’s really helpful. I want to create an interactive dashboard for my stock portfolio. Do you have a video on that?

  • @coachBobbyJoe
    @coachBobbyJoe Год назад

    I am really interested in the adj close. Can I use stockhistory to get the adj close price? Thank you

  • @chiltonporter5333
    @chiltonporter5333 3 года назад

    When is some dividend tracker or adjusted closing price coming to 365? Not sure what use in coming up with a historical list of closing prices is without them

  • @michaelstaten
    @michaelstaten Год назад

    Leila, thank you for the video. I ran into an issue with commodities market data tracking from Chicago Board of Trade. Is there a way to pull this into excel live like the other stock exchanges? Thank for any guidance here.

  • @dhruvinmangukia8917
    @dhruvinmangukia8917 3 года назад +2

    this function is amazing and you explained it very well. can we get adjusted close price of stocks as there is no option for that to select. Mostly calculation on stocks are done on adjusted close price basis which is downloadable from yahoo finance website. But If I am working on any research of around 50-100 companies . Can we get adjusted close price in excel with this formula?

  • @ravindersinghbedi9959
    @ravindersinghbedi9959 6 месяцев назад

    Great mam very knowledgeable, thanku you also suggest me delivery quantity of stocks for one week

  • @jorgegonzalez5252
    @jorgegonzalez5252 3 года назад

    Hi Leila, thanks for all the videos that you post. very clear and helpful. I have a problem I am trying to create a table with only the daily %change. and i cannot figure it out. could you help me please

  • @ChrisCarr-m6i
    @ChrisCarr-m6i Год назад

    Is there any way to have the prices to sort newest to oldest date?

  • @alexdc8005
    @alexdc8005 Год назад

    hi, i have a short question, why i can't sort my data when i use the stockhistory function?