NEW Dividend Function In Google Sheets

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 มิ.ย. 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.

ความคิดเห็น • 123

  • @EmilyBeery
    @EmilyBeery 5 หลายเดือนก่อน +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 5 หลายเดือนก่อน

      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 5 หลายเดือนก่อน

      @@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 5 หลายเดือนก่อน

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

  • @greyhaircapitan
    @greyhaircapitan 11 หลายเดือนก่อน +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).

  • @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 หลายเดือนก่อน

      same here

  • @Kage-Plays
    @Kage-Plays 10 หลายเดือนก่อน +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 10 หลายเดือนก่อน

      Me 2 😢

    • @pankajkumars7316
      @pankajkumars7316 10 หลายเดือนก่อน

      Did you find dividend function in your sheet?

    • @jerryball7783
      @jerryball7783 5 หลายเดือนก่อน +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

  • @OmaticFever
    @OmaticFever 6 หลายเดือนก่อน +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.

  • @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

  • @Androidpower20
    @Androidpower20 ปีที่แล้ว

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

  • @Tanejasinghangadast2
    @Tanejasinghangadast2 9 หลายเดือนก่อน +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

  • @kviswanathan10
    @kviswanathan10 11 หลายเดือนก่อน +5

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

  • @theresamartin5170
    @theresamartin5170 11 หลายเดือนก่อน

    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_ 2 หลายเดือนก่อน

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

  • @Moguiman
    @Moguiman 11 หลายเดือนก่อน

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

  • @descubreloporti
    @descubreloporti 10 หลายเดือนก่อน +13

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

    • @thejudge2352
      @thejudge2352 3 หลายเดือนก่อน +2

      Me too March 24

    • @joelnichols3611
      @joelnichols3611 หลายเดือนก่อน

      Not working here either.

  • @otmastitel
    @otmastitel 7 หลายเดือนก่อน

    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

  • @jivepatrol6833
    @jivepatrol6833 6 หลายเดือนก่อน

    Excellent tutrorial - thank you!

  • @wellsohn
    @wellsohn ปีที่แล้ว +4

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

  • @Cherokeeman96
    @Cherokeeman96 9 หลายเดือนก่อน +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 8 หลายเดือนก่อน +2

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

  • @user-li1oi4ii3e
    @user-li1oi4ii3e 8 หลายเดือนก่อน

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

  • @gamingc1981
    @gamingc1981 ปีที่แล้ว +8

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

    • @vp2777
      @vp2777 10 หลายเดือนก่อน +1

      Oh thats a shame!

  • @martinunger9545
    @martinunger9545 2 หลายเดือนก่อน

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

  • @alaattinozturk9883
    @alaattinozturk9883 8 หลายเดือนก่อน

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

  • @bfrock01
    @bfrock01 7 หลายเดือนก่อน

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

  • @pankajkumars7316
    @pankajkumars7316 10 หลายเดือนก่อน

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

  • @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!

  • @arielonnis1
    @arielonnis1 5 หลายเดือนก่อน +1

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

  • @ultrasrock
    @ultrasrock 9 หลายเดือนก่อน

    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 ?

  • @ellasprihatini7148
    @ellasprihatini7148 5 หลายเดือนก่อน

    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?

  • @floridaboz1
    @floridaboz1 10 หลายเดือนก่อน +1

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

    • @NajiKelley
      @NajiKelley 9 หลายเดือนก่อน

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

  • @jcvzz
    @jcvzz 8 หลายเดือนก่อน

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

  • @RoniejeBuh
    @RoniejeBuh 2 หลายเดือนก่อน

    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?

  • @cristiantesuri958
    @cristiantesuri958 10 หลายเดือนก่อน +1

    doesnt work for in Argentina, for some reason

  • @GroundUpTrading
    @GroundUpTrading ปีที่แล้ว

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

  • @nimrodhadany9504
    @nimrodhadany9504 11 หลายเดือนก่อน

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

  • @polisdrakas7925
    @polisdrakas7925 10 หลายเดือนก่อน

    Good job. Thank you.

  • @ShanAiyaz
    @ShanAiyaz 11 หลายเดือนก่อน +1

    not working
    cell showing blank

  • @pkaronis1
    @pkaronis1 6 หลายเดือนก่อน

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

  • @dawens3199
    @dawens3199 9 หลายเดือนก่อน

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

  • @wreinus
    @wreinus 7 หลายเดือนก่อน +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

    • @BreakingGravityPT
      @BreakingGravityPT 6 หลายเดือนก่อน

      I am having the exact same problem.

    • @JuniorHel
      @JuniorHel 5 หลายเดือนก่อน

      Me too 😓

  • @pcsharma8926
    @pcsharma8926 3 หลายเดือนก่อน

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

  • @Gragento
    @Gragento ปีที่แล้ว

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

  • @earthman4748
    @earthman4748 4 หลายเดือนก่อน

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

  • @leesmith9299
    @leesmith9299 หลายเดือนก่อน

    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.

  • @valleywineandcheese
    @valleywineandcheese ปีที่แล้ว

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

  • @greyhaircapitan
    @greyhaircapitan 11 หลายเดือนก่อน

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

  • @obirlik68
    @obirlik68 8 หลายเดือนก่อน

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

  • @sarubinca
    @sarubinca 7 หลายเดือนก่อน

    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)?

  • @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 8 หลายเดือนก่อน

      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 7 หลายเดือนก่อน

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

    • @obirlik68
      @obirlik68 7 หลายเดือนก่อน

      @@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.

  • @januszjaxaxa9929
    @januszjaxaxa9929 2 หลายเดือนก่อน

    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).

  • @joshuarosenberg1528
    @joshuarosenberg1528 หลายเดือนก่อน

    it loads the cell but then its blank?

  • @Reza_Audio
    @Reza_Audio 3 หลายเดือนก่อน +1

    Good tutorial, but alphavantage not supporting indexfunds and ETFs

  • @buddybrooks9659
    @buddybrooks9659 6 หลายเดือนก่อน

    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.

  • @kevinvandenboss7740
    @kevinvandenboss7740 11 หลายเดือนก่อน +2

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

  • @Winston0Boogie
    @Winston0Boogie 9 หลายเดือนก่อน

    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.

  • @ivank3718
    @ivank3718 6 หลายเดือนก่อน

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

  • @RedBarnFinancialTV
    @RedBarnFinancialTV 9 หลายเดือนก่อน

    This is great!

  • @Beta_Trader
    @Beta_Trader 5 หลายเดือนก่อน

    Does not work for NSE stocks!

  • @davidwilding
    @davidwilding 2 หลายเดือนก่อน

    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?

  • @russojar
    @russojar 6 หลายเดือนก่อน +1

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

  • @noahschreiber2988
    @noahschreiber2988 ปีที่แล้ว +1

    Still not working.

  • @noahschreiber2988
    @noahschreiber2988 ปีที่แล้ว

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

  • @Paddlehappy
    @Paddlehappy 5 หลายเดือนก่อน

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

  • @BERRYofficialmusic
    @BERRYofficialmusic 8 หลายเดือนก่อน

    any solution??

  • @DecisiveMoves365
    @DecisiveMoves365 7 หลายเดือนก่อน +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 6 หลายเดือนก่อน +1

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

    • @DecisiveMoves365
      @DecisiveMoves365 6 หลายเดือนก่อน

      Thank you for your reply! @@buddybrooks9659

  • @PedroSantos-fh3oe
    @PedroSantos-fh3oe 11 หลายเดือนก่อน +1

    Could you just add to the description the full code?

  • @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 8 หลายเดือนก่อน

      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

  • @susigan
    @susigan ปีที่แล้ว +1

    dont work

  • @DavidHk28
    @DavidHk28 11 หลายเดือนก่อน

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

  • @obirlik68
    @obirlik68 8 หลายเดือนก่อน

    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 8 หลายเดือนก่อน

      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 😢

  • @fabforedev
    @fabforedev 7 หลายเดือนก่อน

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

  • @polisdrakas7925
    @polisdrakas7925 9 หลายเดือนก่อน +1

    Doesn't work

  • @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

  • @gamesview3313
    @gamesview3313 8 หลายเดือนก่อน

    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 7 หลายเดือนก่อน

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

    • @dianawojcik3261
      @dianawojcik3261 7 หลายเดือนก่อน

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

  • @powerclash8488
    @powerclash8488 หลายเดือนก่อน

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

  • @greyhaircapitan
    @greyhaircapitan 11 หลายเดือนก่อน

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

  • @georgestephens411
    @georgestephens411 4 หลายเดือนก่อน

    Please make one for top 20 gainers and losers. thx

  • @TheSmallsAbroad
    @TheSmallsAbroad 8 หลายเดือนก่อน

    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

  • @ericborzoni1399
    @ericborzoni1399 7 หลายเดือนก่อน

    DOESNT WORK. IDK WHY

  • @polisdrakas7925
    @polisdrakas7925 10 หลายเดือนก่อน

    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.

  • @Ilakovi
    @Ilakovi ปีที่แล้ว

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

  • @lollipop1894
    @lollipop1894 4 หลายเดือนก่อน

    This is frustrating as hell.

  • @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.

  • @SoCalChunkybutt
    @SoCalChunkybutt 5 หลายเดือนก่อน

    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