NEW Dividend Function In Google Sheets

Поделиться
HTML-код
  • Опубликовано: 31 июл 2024
  • 📈 Link to Download All My Portfolio Trackers: / thinkstocks
    🌎 Follow me on Twitter: / keithfrislid
    🎥 Here is the camera I use for my videos: www.amazon.com/shop/thinkstoc...
    🔶Get 50% off Seeking Alpha Premium with my Promo Link!!!🔶
    www.sahg6dtr.com/28KL61/R74QP/
    In this video I will show you how to make a dividend function with ONLY 7 lines of code! this function is clean and effective and there is no more relying on scraping data from sites that continuously change their code on us.
    Here is the website to get the free API key: www.alphavantage.co/
    DISCLAIMER: I am not a financial advisor, and this content is not financial advice. These videos are for entertainment and educational purposes only.
    AFFILIATE DISCLOSURE: Some of the links on this channel and in video descriptions are affiliate links. At no additional cost to you, we receive a commission if a purchase is made after clicking the link.

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

  • @EmilyBeery
    @EmilyBeery 6 месяцев назад +155

    I was advised to diversify my portfolio among several assets such as stocks and bonds since this can protect my portfolio for retirement. I'm seeking to invest $200K across markets but don't know where to start.

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

      The professionals presently control the market since they not only have the essential business strategy but also have access to inside information that the general public is not aware of.

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

      @@NelsonHouse78 The reason I decided to work closely with a brokerage adviser ever since the market got really tense and the pressure became so much(I should be retiring in 17months) so I've had a brokerage adviser guide me through the chaos, its been 9months and counting and I've made approx. 650K net from all of my holdings.

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

      @MichealHyde67 “Alice Marie Coraggio’’ You can easily look her up, she has years of financial market experience.

  • @Kage-Plays
    @Kage-Plays 11 месяцев назад +5

    Weirdly malfunctions from time to time, data was appearing previously, then after awhile it bugs out and all the data disappears.
    Even refresh doesn't work for the data to populate. Need to delete the code and re-enter and this is also not very certain since it works sometimes not all the time.

  • @jayantketkar8711
    @jayantketkar8711 Год назад +19

    I just tried this code .But it does not work. The Div. Yield column remains blank. I have rechecked the code twice it is running with execution completed. what could be the reason?

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

      Me 2 😢

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

      Did you find dividend function in your sheet?

    • @jerryball7783
      @jerryball7783 6 месяцев назад +1

      Me too as well. Things must have changed since the video was created??

    • @727272727271
      @727272727271 Месяц назад

      It doesn’t work . Tried a million different ways and got ChatGPT to check - massive waste of time

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

    tried but not working for indian stocks. no errors but in the last step in dividend yeild column its showing nothing.

  • @greyhaircapitan
    @greyhaircapitan Год назад +7

    We need to refresh the spreadsheet in order to show the result or the API won't work. It looks like that API will show the yields only on common stocks but not ETFs, CEFs, ETNs, and Preferred stocks quotes (it shows 0% yield).

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

    Hey, My execution was completed but still i couldnt find the dividend function in my sheet. Can you help me out?

  • @MarkBall3
    @MarkBall3 Год назад +20

    Many of the stocks I'm invested in don't show the dividend yield. I checked on "Seeking Alpha" & the stocks do show a dividend yield. Not sure what I did incorrectly, coding is correct as it shows on your video & some do show up. Stock Tickers that show 0.00% yield: CHMI, FSK, TWO, NLY, BKCC to name a few.
    Thanks for the information.

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

      same here

  • @pkaronis1
    @pkaronis1 7 месяцев назад

    I get an 'Unknown function' error for the =Dividend(A2)*1 part????? Can someone help?

  • @kviswanathan10
    @kviswanathan10 Год назад +5

    It is working perfectly for stocks, but it is not working for ETFs is there a fix? for this. Cheers for your video.👍

  • @RoniejeBuh
    @RoniejeBuh 3 месяца назад

    THank you for this. The script seems to work fine. But when in the Sheets and I try to multiply by 1, the sheets puts an "value" error saying that "parameter 1 of the multiply function expects number value; however the result I get is not a number but text and cannot be transferred to number" - anyone can help what is wrong please?

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

    been trying using your code for tickers on IDX like BBCA or ADRO to no avail. please help? maybe i need to add something to the code lines?

  • @jcvzz
    @jcvzz 9 месяцев назад

    I do all the process with the apps script and is ok, but th dividend part in the table do not work.

  • @OmaticFever
    @OmaticFever 7 месяцев назад +3

    This great info Keith. However, I noticed when I setup my api key, alpha vantage only guarantees 25 api queries per day. It appears to not be a hard limit, but I do have some 0% yields on stocks that definitely have non-zero yields.

  • @Tanejasinghangadast2
    @Tanejasinghangadast2 10 месяцев назад +2

    This has been an incredible helpful video and saved to my playlist as well. Thank you so much for making such a simplified video. I am having a deviation of 0.5%-1% among most stocks (and I am looking at NASDAQ & TSX only). Hoping you can create an FAQ video for the same

  • @AmanpreetSingh-mm9ih
    @AmanpreetSingh-mm9ih Год назад +4

    Great video as always mate. Can you add ex-divinded and dividend dates as well?
    This works for international stock market? As i live in India.
    Thanks

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

    What can we do to display new symbols dividends, the function does not find them :

  • @descubreloporti
    @descubreloporti 11 месяцев назад +13

    Yield and Dividend not working for me, return 0 value, any fix? thank you for the video!!

  • @arielonnis1
    @arielonnis1 6 месяцев назад +1

    Hi! dont see Dividend funtion. Have you got any particular configuration? Thanks!

  • @obirlik68
    @obirlik68 9 месяцев назад

    when i type =Dividend(A2) that cell shows 0 does anyone know why?Please help

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

    For some reason, the value does not load when I run the function.. And I followed every bit of the tutorial. Is it because I am looking for Brazil stocks ?

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

    worked perfectly - is Ex Date available? I looked at the documentation couldn't find anything on dividend data.

  • @wellsohn
    @wellsohn Год назад +4

    Very concise and useful educational video. Thanks a lot for this!

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

    The API run with no problem but the spreadsheet is responding: Unknown function 'Dividend'. What could be the problem?

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

    I get an 'Unknown function' error for the =Dividend(A2)

  • @Cherokeeman96
    @Cherokeeman96 10 месяцев назад +2

    Hi, great video. This is what I am looking for but I would like to use it for the Annual Payout instead of the Dividend Yield. Is this possible? What would I need to change to accomplish this? Thanks

    • @rene.s.s
      @rene.s.s 9 месяцев назад +3

      add a column for share amounts and multiply by that cell in addition to what was shown.

  • @cristiantesuri958
    @cristiantesuri958 11 месяцев назад +1

    doesnt work for in Argentina, for some reason

  • @user-li1oi4ii3e
    @user-li1oi4ii3e 10 месяцев назад

    Great video....straight to the point...No BS!!!

  • @jivepatrol6833
    @jivepatrol6833 7 месяцев назад

    Excellent tutrorial - thank you!

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

    I got a message saying "Google hasn't verified this app" and could not figure out how to get it verified. Despite that, I still learned a lot as I know nothing about coding or scripts. Really enjoyed it. Thanks

    • @Pegaroo_
      @Pegaroo_ 4 месяца назад

      He shows you in the video how to get passed that 7:30

  • @noahschreiber2988
    @noahschreiber2988 Год назад +3

    I followed the instructions and at the end I got the execution started execution completed message. I then went to the Yield and typed Dividend and the cell with the symbol so it looked like this =Divided(B7) and hit enter and I get the message Error Unknown function Dividend. Can someone please help What did I do wrong

    • @rileybrook.
      @rileybrook. Год назад +4

      Same for me

    • @obirlik68
      @obirlik68 9 месяцев назад

      I had same problem than some how I fixed that but now cell is completely blank no error message either. Second thing is when you bring mouse over the function that time it says unknown function making me crazy.

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

      @@obirlik68 Did you ever solve this? Having the same issue. Thanks!

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

      @@dianawojcik3261 nope but I made a one page website, made a little search box using my api key be able to get all bunch of useful information about stock. Kinda gave up on this.

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

    Thanks for the video its worked .. have you got a video which shows how to do dividend amount instead of dividend percentage ? thanks & good luck

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

    Can you get the Ex-Dividend Date with this API?

  • @gamingc1981
    @gamingc1981 Год назад +8

    Thanks this works for stocks, but not for ETFs like FIVG or JEPI

    • @vp2777
      @vp2777 11 месяцев назад +1

      Oh thats a shame!

  • @wreinus
    @wreinus 8 месяцев назад +4

    This is a great video. I've been over the syntax twice and find no error. Everything was exactly as you described until I tried to use the App Script. It doesn't return an error. It return 0.00% for all ticker symbols, including those that i know have dividends. Any idea what's going on here? Thanks, Wil

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

    not working
    cell showing blank

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

    It was a very nice video.
    How can I get data for this formula and Turkish stocks?

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

    Yep. Doesn't work for me. Tried the exact tickers ...nada

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

    Good job. Thank you.

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

    Can the author, or someone, type out the lines of code so that I copy it and enter it exactly as as described in the video (of course, need to get a code and specify which stock/field)?

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

    Some stocks will not show a dividend yield and I can't turn them into % so they're right now ...whatever actually worked 0.0312 which is not practical. Can you paste the code somewhere? I rewrote the code and it will not change anything.

  • @januszjaxaxa9929
    @januszjaxaxa9929 3 месяца назад

    Very nice thing, formula is working fine for me, until I'll try to interact it with anything else. Any idea how to switch to american decimal separator? (my excel spreadsheet stubbornly expect comma instead of dot).

  • @floridaboz1
    @floridaboz1 11 месяцев назад +1

    Worked great. Other than about 30% of the yields are not updating. I am trying to troubleshoot to figure out why

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

      I had a similar issue. I'm thinking it's because the stock is listed on another exchange like the NASDAQ.

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

    Sir, can we get dividend details for Indian ticker from NSE also ? Thanks

  • @martinunger9545
    @martinunger9545 3 месяца назад

    I have been trying to do this for a long time. Excellent video. I really appreciate what you have done. It works perfectly.

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

    it loads the cell but then its blank?

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

    Thank you so much! Indeed this is graet! Can you add the "Ex dividend day" also?

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

      No problem! and that is a good question, I believe you can. I need to look more into how to use Alphavantage and the API. I'm sure there is a lot more that can be done with the API. I'll make a follow up video going more in depth with it!

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

    Great video and solution. Is Ex-Dividend date available?

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

    It now stopped working it put -0- in most of the dividend yield cells. It seems this program is not very stable or very reliable

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

    Tried using this and for some stocks it worked. But for others such as AAPL, ABBV, BTI, EPD, SCHD, VTI - no luck. Any recommendations?

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

    presumably line 6 of that code could instead extract the dividend per share in $ and then be used to calculate yield more accurately using googlesheets share price. very backwards to start with yield to work out dividend per share like that. the divi per share is what gets set in stone by the company and we calculate our yields from that and the share price which fluctuates second by second.

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

    Still not working.

  • @Beta_Trader
    @Beta_Trader 7 месяцев назад

    Does not work for NSE stocks!

  • @gamesview3313
    @gamesview3313 9 месяцев назад

    Thanks but for me it did not work. I got a wrong message for line 2. I think the API key. Can you help me?

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

      same thing happened to me, I'm trying to troubleshoot it. Quite frustrating.

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

      I fixed it. Mine was missing an = before apiKey, make sure that's there

  • @kevinvandenboss7740
    @kevinvandenboss7740 Год назад +2

    You just made my life SOO much easier. Thank you! I never subscribe to anyone, but you just earned it!

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

    Followed down to the letter and doesn't work at all. I get 0.00%

  • @davidwilding
    @davidwilding 3 месяца назад

    Good, but what about non-USA stocks? Doesn't work for that I see! But it's a help anyway :) And how to get the actual DIVIDEND value itself?

  • @DecisiveMoves365
    @DecisiveMoves365 8 месяцев назад +2

    I created a list of 2023 dividend aristocrats in Google Sheets and tried this method. Out of 50 stocks, it returned the dividend yield for about half a dozen and zeroes for the rest. Can anyone tell me why this is happening?

    • @buddybrooks9659
      @buddybrooks9659 7 месяцев назад +1

      The free version of the API only allows 25 data requests per day.

    • @DecisiveMoves365
      @DecisiveMoves365 7 месяцев назад

      Thank you for your reply! @@buddybrooks9659

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

    This is great!

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

    Can you make a video how to see crypto closing prices or open prices?

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

    I previously posted that it didn’t work now it works. I guess it took time. Thanks Great video

  • @buddybrooks9659
    @buddybrooks9659 7 месяцев назад

    You should confirm the accuracy. The numbers I am seeing for dividends are often wrong. Sometimes by a large amount. Also note this is limited to 25 requests a day so if you own more stocks than this, you are out of luck.

  • @ivank3718
    @ivank3718 7 месяцев назад

    Great video, but the script does not determine dividends for ETFs
    How to make it defining not only for companies?

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

    It's Not Working for me, does anyone has a solution?

  • @russojar
    @russojar 7 месяцев назад +1

    I only get three rows to work. After that, it is all zero yield.

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

    dont work

  • @BERRYofficialmusic
    @BERRYofficialmusic 9 месяцев назад

    any solution??

  • @Reza_Audio
    @Reza_Audio 4 месяца назад +1

    Good tutorial, but alphavantage not supporting indexfunds and ETFs

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

    the API has stopped working today, so, I don't see it is reliable, and I am switching to a different method.

  • @polisdrakas7925
    @polisdrakas7925 10 месяцев назад +1

    Doesn't work

  • @PedroSantos-fh3oe
    @PedroSantos-fh3oe Год назад +1

    Could you just add to the description the full code?

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

    Great video thank you. for UCITS & ETFs no data is retrieved

  • @obirlik68
    @obirlik68 9 месяцев назад

    Those who get blank cell or 0 there is no problem with code problem with how to add new custom function in to the google sheet. I think google sheet does not recognize the new function.

    • @obirlik68
      @obirlik68 9 месяцев назад

      Update I made website I just a put little search box using my api key you can any us base stock symbol and gives you too much information about that company but I still couldn’t figure it out on google sheet 😢

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

    you know what we really need??? a better way to pull the ex dividend date. Finfiz stopped showing it and Yahoo keeps changing the tables. No table # seems to work on Yahoo as of June 2023.

    • @obirlik68
      @obirlik68 9 месяцев назад

      I can tell you this tho if you get the api key if you find url goes with that api you can get so much information about that company I can say that can even tell you what color underwear ceo wearin lol

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

    Only one problem. That function takes all dividend payments e.g. from January to July. But if we purchased only in the second quarter. And we received dividends only for one quarter. But that function shows us the total for the first and second quarters.

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

    DOESNT WORK. IDK WHY

  • @fabforedev
    @fabforedev 9 месяцев назад

    to be fair, other tickers are working, but obviously can't be relied upon

  • @TheSmallsAbroad
    @TheSmallsAbroad 9 месяцев назад

    For me this works about half the time, some stocks they work, some they dont, and some that work now, in 5 minutes they will show 0%, its very unreliable

  • @markdavis1524
    @markdavis1524 11 дней назад

    this exercise was a sive for time, doesn't work. would be great to paste the code snippet for copy/paste, otherwise too tedious.

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

    Please make one for top 20 gainers and losers. thx

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

    I just tried following to create a sheet for myself. The dividend function doesn’t work for. I did do the “run” and it executed with no errors. I reread the script and I don’t see any errors. What else can it be?

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

      Shall I assume there is no support here but only at patreon?

    • @mike330i
      @mike330i Год назад +3

      Same here. The script run without any issue but the dividend function returned a blank value.

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

    This doesn't work, it shows me 0% all the time.

  • @calebs9415
    @calebs9415 14 дней назад

    Wahoo

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

    This is frustrating as hell.

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

    thumbs down for email farming half way through

  • @lslewis104ca
    @lslewis104ca Год назад +3

    How do you get this to work for the Toronto Stock Exchange(TSE), or any other exchange?

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

      Looks like it doesn't work for TSX stocks...

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

      You can pull the stock using TSE:BNS, but the yield won't work.

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

      TICKER.TRT