NEW Dividend Function In Google Sheets

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2025

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

  • @jayantketkar8711
    @jayantketkar8711 ปีที่แล้ว +21

    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?

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

      Me 2 😢

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

      Did you find dividend function in your sheet?

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

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

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

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

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

      Nothing changed. Still works. Recheck your spelling in the function code.

  • @greyhaircapitan
    @greyhaircapitan ปีที่แล้ว +14

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

  • @Kage-Plays
    @Kage-Plays ปีที่แล้ว +6

    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.

  • @descubreloporti
    @descubreloporti ปีที่แล้ว +13

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

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

      Me too March 24

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

      Not working here either.

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

      same here

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

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

      Same for me

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

      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 ปีที่แล้ว

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

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

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

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

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

      having the same problem here.

  • @kviswanathan10
    @kviswanathan10 ปีที่แล้ว +7

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

  • @JoshyypooTCG
    @JoshyypooTCG 8 หลายเดือนก่อน +1

    it loads the cell but then its blank?

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

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

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

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

  • @donaldhardaway
    @donaldhardaway 22 วันที่ผ่านมา

    The function is not returning my ETFs and ibm

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

    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.

  • @wreinus
    @wreinus ปีที่แล้ว +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

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

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

    Any one else figure out why it is not returning the data? I am not getting an error just nothing displayed. I used all the examples he did in the video with no luck. If you have, have you also figured out how to get this to work with ETFs? Or does anyone know of all code that will wotk for ETFs.

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

    doesnt work for in Argentina, for some reason

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

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

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

    Thanks for this. I got it to work easily, but it only returns a few yields then it starts showing 0% for new ones. I redid the API key and it worked, then stopped again. Any idea?

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

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

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

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

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

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

  • @Cherokeeman96
    @Cherokeeman96 ปีที่แล้ว +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 ปีที่แล้ว +3

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

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

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

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

    not working
    cell showing blank

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

    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?

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

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

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

    Does not work for NSE stocks!

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

    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.

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

    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 ?

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

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

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

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

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

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

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

    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 ปีที่แล้ว

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

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

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

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

    Great video! Thanks for making this very easy to follow. I'm getting the error reference error url not defined line 4

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

    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 ปีที่แล้ว +1

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

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

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

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

  • @DecisiveMoves365
    @DecisiveMoves365 ปีที่แล้ว +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 ปีที่แล้ว +1

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

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

      Thank you for your reply! @@buddybrooks9659

  • @AmanpreetSingh-mm9ih
    @AmanpreetSingh-mm9ih ปีที่แล้ว +5

    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

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

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

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

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

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

    I do it and it is all right!!!! can you do the same with the dividend day?

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

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

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

    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.

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

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

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

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

  • @EmilyBeery
    @EmilyBeery ปีที่แล้ว +143

    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 ปีที่แล้ว

      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 ปีที่แล้ว

      @@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 ปีที่แล้ว

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

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

    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?

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

    any solution??

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

    Still not working.

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

    doesnt work in my case

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

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

  • @kevinvandenboss7740
    @kevinvandenboss7740 ปีที่แล้ว +2

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

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

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

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

    DOESNT WORK. IDK WHY

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

    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.

  • @jakeo1209
    @jakeo1209 9 วันที่ผ่านมา

    You are a master blaster, my friend. Thank you.

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

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

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

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

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

    Good tutorial, but alphavantage not supporting indexfunds and ETFs

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

    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

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

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

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

    Great video, however, it seems the API Key keeps breaking or simply just working. I would get another Free API Key and the function would start working again but after a while, it would stop and only generate a return of 0. About 3 or 4 times, of getting another free key it would tell me to use another email address.
    Again, a great video, easier, better, and more accurate with dividend numbers than scraping data from Finviz. If only you didn't have to get a new API Key every time.

  • @Tanejasinghangadast2
    @Tanejasinghangadast2 ปีที่แล้ว +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

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

    dont work

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

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

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

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

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

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

  • @PedroSantos-fh3oe
    @PedroSantos-fh3oe ปีที่แล้ว +1

    Could you just add to the description the full code?

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

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

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

    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 ปีที่แล้ว

      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 😢

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

    you are a god. Thanks for not putting this through a paywall like the rest of the universe. Consider a donate button.

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

    Excellent tutrorial - thank you!

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

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

  • @MichaelStevens-z7y
    @MichaelStevens-z7y ปีที่แล้ว

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

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

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

  • @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 ปีที่แล้ว

      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

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

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

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

    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

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

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

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

    Amazing!

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

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

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

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

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

  • @ezekiel5577
    @ezekiel5577 21 วันที่ผ่านมา

    This is amazing!

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

    Good job. Thank you.

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

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

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

    This could have been a blog post.

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

    This is great!

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

    Please make one for top 20 gainers and losers. thx

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

    This is frustrating as hell.

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

    Too complicated, sorry.

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

    Doesn't work