How To Pull Dividend Data Into Google Sheets

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 มิ.ย. 2024
  • How To Pull Dividend Data Into Google Sheets
    📈 Link to download all my Portfolio Trackers: / thinkstocks
    🌎 Follow me on Twitter: / keithfrislid
    🎥 Here is the camera I use for my videos: amzn.to/2PB865Q
    🔶Get 50% off Seeking Alpha Premium with my Promo Link!!!🔶
    www.sahg6dtr.com/28KL61/R74QP/
    In this video, I will show you how to pull live dividend data into your google sheets portfolio tracker. If you have messed around with google sheets you may already know about the google finance function. And if you know about that you also know you cannot pull dividend data from it which is the dumbest thing on Google's part. Like, come on Google. You are a multi-billion dollar company and you cant let us pull dividend data??
    Anyway, there's a nice workaround to that by pulling from Finviz which I will show you how to in the first half of the video. But that will only get you so far. One thing Finviz does not have is the Ex-Dividend Date, which a lot of people want to know when that date it, so you know when they need to invest to get the next dividend payment. After a lot of research, I was able to find a way to pull the ex-dividend date so from a place outside of google finance and Finviz. Make sure to watch this video to find out!
    **Finviz code update** In the video my I'm pulling from table 9, but now it is from Table 7.
    - The codes below have been updated so you shouldn't have a problem
    - for company name you need to pull from Google Finance now.
    - The code for the company name is also updated below!
    Pulling from Finviz:
    =(substitute(index(IMPORTHTML("finviz.com/quote.ashx?t="&C6,"table", 7),8,2),"*",""))*1
    Pulling the Ex-Dividend Date:
    Watch the video to find out the secrete code ;)
    Disclaimer: This is not financial advice. I am not a financial advisor. This video is meant for education and entertainment. Do not use this video as investing advice and consult with a professional advisor before buying or selling securities.
    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.
    #dividenddata #googlesheets #howtogooglesheets

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

  • @KaiRush
    @KaiRush 3 ปีที่แล้ว +5

    No...You rock!!! This was so easy. I read over 20 blogs and the steps were so out there. You made it so easy! Thank you and I hit "Subscribe."

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

    Super useful. Much better than similar videos because you go through the formula so clearly. Subscribed!

  • @TradingWithCJ
    @TradingWithCJ 3 ปีที่แล้ว +6

    Great tips man! Having it all in documentation is great to see and track those dividends!

  • @stevenfair3992
    @stevenfair3992 3 ปีที่แล้ว +9

    This is amazing. I’ve been trying to do this for months and was completely stuck on it. I can’t wait to incorporate this into my spreadsheet. Thank you.

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

    you saved my life. I've been trying to figure this out all day and you helped me in 5 mins. You rock

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

    Super Cool! Just followed all your steps and got what i needed. More blessings to you.

  • @brucecampbell208
    @brucecampbell208 2 ปีที่แล้ว

    I cant thank you enough for making this video. I was trying to figure this out for many hours. 5 stars for your content.

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

    Thank you. I tried multiple things, but your solution is simple and works perfectly

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

    Pretty useful! I was looking for this solutions for months...Thanks! Subscribed

  • @swedesam
    @swedesam 2 ปีที่แล้ว

    Dude!!, this was epic and helpful beyond words. I'm working on a dividend stock screener/tracker and this is perfect.

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

    I wish I could like this 100 times! You've earned a subscription from me. I can put this into a dividend calendar and it will tell me where to concentrate my money every month so I maximise the dividend payout instead of spreading it everywhere at the same time. This will boost my dividends snowball! Thank you so so much!

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

    Thanks, this was great! I saw your last video about pulling the dividend amount, and I couldn't get the formula to work. I used this one, adjusting row, column, and my personal spreadsheet cell, and it works great. Awesome!

    • @ThinkStocks
      @ThinkStocks  3 ปีที่แล้ว

      Thanks! And glad it works for you!

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

    Thanks brother. You have made my life much much much easier now!!. Super love your video here. Thank you so much for the info and looking forward to seeing more of your videos here! Cheers

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

    made personal sheet in 2015 and for the life of me couldnt accomplish or find solution till now, many many thx, hats off to you.....cheers

  • @Thomas-il6el
    @Thomas-il6el 2 ปีที่แล้ว +1

    Thanks a lot. I saw it on a blog, but with a vidéo, this is day better ! 👌🏻👍🏻

  • @darkpaladin4917
    @darkpaladin4917 2 ปีที่แล้ว

    you're awesome, huge thanks for all your hard work in sharing your wisdom

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

    I copied and pasted your revised function. I get an error: "Function ERROR parameter 2 value is 8. Valid values are between 0 and 1 inclusive." Any correction to this?

  • @broadwaygypsy3304
    @broadwaygypsy3304 3 ปีที่แล้ว

    EXCELLENT THANKS ,INFORMATIVE AND ACTULLY WORKS, REAL JOY!!!

  • @hectormunoz4812
    @hectormunoz4812 2 ปีที่แล้ว

    You went hard on this video and thanks for the updated code it was exactly what I needed. Thank you sir

  • @ProdLeo
    @ProdLeo 3 ปีที่แล้ว

    thank you so much! this was so helpful, cant thank you enough!

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

    Thanks for the code. If anyone is getting a REF error, please update table number to 7 and the issue will be resolved. The table number is updated since this video was uploaded.

    • @JohnnyWalkerYT
      @JohnnyWalkerYT 2 ปีที่แล้ว

      thanks man, literally came back because of that

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

      I am still getting error loading data...

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

      It says “parameter 2 value is 8. Valid values are between 0 and 2.”

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

      Table number is 9 now.

    • @petera4640
      @petera4640 2 ปีที่แล้ว

      @@thecantstopwontstopentrepr4156 Legend!

  • @rp19loring
    @rp19loring 3 ปีที่แล้ว

    This is very helpful, thank you!

  • @DH-pz7bc
    @DH-pz7bc 2 ปีที่แล้ว

    Thanks for the video. Very helpful and easy to follow.

  • @ThinkStocks
    @ThinkStocks  3 ปีที่แล้ว +18

    ***FINVIZ UPDATE*** Hey everyone! Finviz likes to change around its backend code and the table we are pulling from will change every now and then. When I made this video the table we were pulling from was table 9. Now it changed to table 7! If your code doesn't work its because they changed around the tables, but it is usually a very easy fix!

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

      Hi, how can we figure out the table number?

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

      Yay having a hard time getting the correct table number

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

      I don't see how you can tell the table number for the chart? How do you know it is say table 7 vs table 8 or 1 for that matter, Thanks. Love the instruction!!

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

      Great question and unfortunately I don't have an answer to it. Not sure if anyone does yet! It's all trial and error! I've had several of my coder friends try to figure it out too and nothing. But its been table 8 for a while now so hopefully it stays that way!

    • @vortac2k9
      @vortac2k9 3 ปีที่แล้ว

      Ok... yes, EX-Dividend date is the hardest one, and it became even harder for me...wonder if you have some code or formula to fix this?
      Here it is:
      Seems like the YAHOO Finance tables don’t follow a pattern in terms of the information available.... meaning that the same cell either has different data if dividend information is not available, so they fill it with other stats.
      As a result when I export to my sheet, some numbers are correct (ex. 44721), some are from other data (ex. 0.00634) and some give you and N/A error message because the cell has no data...
      The challenge is: how to filter ONLY the data that has numbers like 44127 (which will yield the correct date when converted) and just display a “-“ character for either an error message or any number not resembling 44286 for example
      I hope I didn’t confuse you too much, but your help would be much appreciated

  • @aarthiarun9440
    @aarthiarun9440 2 ปีที่แล้ว

    exactly what I needed. Thank u so much !

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

    Thanks for the video. It took me some tries to make the code work, but I finally did it today.

    • @ThinkStocks
      @ThinkStocks  3 ปีที่แล้ว

      Thats awesome, glad it works for you!

  • @craigschleppi2573
    @craigschleppi2573 3 ปีที่แล้ว

    You are a god send. I have been looking for this information! Thanks

  • @akshatrastogi9063
    @akshatrastogi9063 2 ปีที่แล้ว

    Man u r genius, I have been looking for this forever!

  • @kpwong1439
    @kpwong1439 3 ปีที่แล้ว

    Amazing work! Thank you so much!

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

    This is awesome man, thank you so much!

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

    As of April 21, 2023 it's Table 10.

  •  2 ปีที่แล้ว

    thanks you, very useful material !!

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

    Hi , thank you so much for this video much appreciated

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

    This is fantastic! Thank you! 🙂

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

    Thank you so much for posting this. This is very helpful. :)

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

    Hi, Just watched your video. This is amazing, you used hidden techniques to get this data. Thank you for making this video.

    • @ThinkStocks
      @ThinkStocks  3 ปีที่แล้ว

      My pleasure, glad you liked it!

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

    You are the man for my spreadsheet nightmare. Subscribed! Thanks and take care

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

    Wow - that is so cool.
    Thank you.

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

    This was helpful, thank you. Can you advise how i determine what the table number is if i choose a different html website ?

  • @angelogramatica9967
    @angelogramatica9967 2 ปีที่แล้ว

    Wow! Awesome dude. Thanks a lot. Learned a lot again. Works not for all stocks but still a big help. Doesn't work for a stock like UBS f.e.

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

    Very helpful video, "Subscribed". Hoping to learn a lot from this channel.

  • @tamarcutler910
    @tamarcutler910 3 ปีที่แล้ว

    Great video. Thanx for the guidance. Gonna subscribe to the channel

  • @AndreaVaturi
    @AndreaVaturi 3 ปีที่แล้ว

    Great job man 👌🏻👌🏻👌🏻

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

    Thank you so much for this

  • @yurathejeweler
    @yurathejeweler 2 ปีที่แล้ว

    Thank you! Thank you! Thank you!

  • @darkho0
    @darkho0 2 ปีที่แล้ว

    Liked the video, will check out the rest of the channel. Thank you for the educational video.

  • @rhlogic
    @rhlogic 2 ปีที่แล้ว

    Wow! This is crazy brilliant!

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

    You're so right. I just couldn't get the importxml function to work with Yahoo Finance data. A mega mega mega thanks.

  • @michaelcloresandersm.d.7050
    @michaelcloresandersm.d.7050 2 ปีที่แล้ว

    Thanks Nikhil, that worked!

  • @buffsurfer
    @buffsurfer 2 ปีที่แล้ว

    You are a genius. I don't know how to thank you!

  • @Pharaoo2012
    @Pharaoo2012 2 ปีที่แล้ว

    Great explanation, thanks a lot. Can we do this with MSFT Excel?

  • @SurferBum1002
    @SurferBum1002 2 ปีที่แล้ว

    Amazing. Thanks!

  • @georgebruno9846
    @georgebruno9846 3 ปีที่แล้ว +3

    Thanks for the very valuable information. Is there any way formula for getting Dividend Payout Date.

  • @strowie1697
    @strowie1697 2 ปีที่แล้ว

    AYO NO CAP THIS WAS MAD HELPFUL, I ALWAYS WONDERED HOW PEOPLE GET THE DATE OMG TYSM TYSM TYSM TYS

  • @monroe1262
    @monroe1262 3 ปีที่แล้ว

    This is awesome!

  • @kevinspaeth5895
    @kevinspaeth5895 2 ปีที่แล้ว

    Great video! Do you think you could reverse engineer this to pull the stocks that have an ex-dividend date within a certain date range?

  • @jengs12
    @jengs12 3 ปีที่แล้ว

    Excellent!

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

    Thanks 🙏🏻

  • @verywai
    @verywai 2 ปีที่แล้ว

    Thank you, nice

  • @cbg1992
    @cbg1992 2 ปีที่แล้ว

    thanks so much

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

    Hey man, this was a great video. Can you also make a video on pay dates? Thanks so much man

  • @adamstruss7434
    @adamstruss7434 3 ปีที่แล้ว +3

    How do you know what number to plug in for the table that will be pulled from finviz? Not the rows and columns but the actual table.
    I'm also having an issue where it is telling me I can only use numbers 0 or 1 for rows and columns. Thanks so much!

  • @alphabeta01
    @alphabeta01 2 ปีที่แล้ว

    Fantastic video. I tried and all these work great. Only issue is that it takes a long time to load the data esp for symbols like AAPL. JNJ, GSK and ARKK. Thanks.

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

    excellent content

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

    Any idea on a data source for ASX stocks? Thank you!

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

    I am teacher and I am telling you...you can teach! Keep making videos! Do you have any videos on how to do covered calls, if you already own 100 shares of a stock?

    • @ThinkStocks
      @ThinkStocks  3 ปีที่แล้ว

      Thanks! And not yet but thats a good idea for a video!

  • @jorgebaia865
    @jorgebaia865 2 ปีที่แล้ว

    In the formula you provide to Copy the sell is not the correct one "C6" intead off "A2"
    Great job

  • @masoncnc
    @masoncnc 2 ปีที่แล้ว

    great vid. Yahoo doesn't post ex div for ETFS

  • @fitbh703
    @fitbh703 2 ปีที่แล้ว

    exactly what i was looking for (ex dividend date)

  • @Steve_Gouws
    @Steve_Gouws 2 ปีที่แล้ว

    Thanks for this. I’m trying to pull divided payments date into Google sheets. Any idea what that formula would be? Thanks

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

    How do you know that it's table 9 on finviz? What if they change their site up? How would we find that?

  • @ruddvann
    @ruddvann 3 ปีที่แล้ว

    Also is there a way to do this for mutual funds for trackings sake

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

    Good work!
    You mentioned payday, whereas the Ex-dividend date is not actually the pay date, it is the date you have to be invested in the underlying, to get paid on the actual pay date. Just to clarify.
    Thanks for your work!
    I guess the tables have been changed again as the link no longer works. in native Windows, the options for selecting tables is available, but not in the Mac version 365, much to my dismay.

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

    Yes,...you are right......

  • @1stFoxmovie
    @1stFoxmovie 3 ปีที่แล้ว +2

    I have a problem with the exdate. Idk what I have done wrong but I am getting a "loading" error and no result....

  • @jameshayes4900
    @jameshayes4900 2 ปีที่แล้ว

    😊 thanks

  • @carlosfernandoam
    @carlosfernandoam 3 ปีที่แล้ว +20

    Got a #REF error when trying it first, but I corrected it by typing 8 instead of 9 (the one that goes after "table", ). In case someone else had the same problem ;)

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

      Talking about the first Dividend Yield formula.

    • @JohnnyWalkerYT
      @JohnnyWalkerYT 3 ปีที่แล้ว

      thanks man, got the same thing

    • @cheetah-virusxi7560
      @cheetah-virusxi7560 3 ปีที่แล้ว

      Thank you,was getting the same problem

    • @Razorhead12345
      @Razorhead12345 2 ปีที่แล้ว

      does it still run? can you copy the formula in here? for me it doesnt run with 9 and 8 and other numbers. TY

    • @justin3814
      @justin3814 2 ปีที่แล้ว

      @@Razorhead12345 same
      Did u find the solution?

  • @hanshausen2676
    @hanshausen2676 3 ปีที่แล้ว

    This was very helpful, thanks. Just one question, How as the finviz table identified as 9? I don't see a numbering system. Your help is appreciated.

    • @ThinkStocks
      @ThinkStocks  3 ปีที่แล้ว

      Glad you liked it and currently finviz is pulling from table 8. They had a major update to their page a few months back but luckily it has been at table 8 for a while now. And honestly it was trial and error figuring out the table!

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

    Any suggestions on how you found the 'table number'? You said - this is table 9 but not sure how you figured that out.

  • @ruddvann
    @ruddvann 3 ปีที่แล้ว

    Hi I cannot get the asterixis out of the way even with your modified code. Is there a fix to this. Thanks!

  • @tmmedia1000
    @tmmedia1000 2 ปีที่แล้ว

    How do you know its table 9? I'm trying to apply this to another site with a table, but have to find out which table I'm looking at, thanks.

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

    I have been trying to figure out how to auto-populate dividend info into google sheets for a while. I tried the formula you listed above, but was not successful. Do you know if this formula is still current in January, 2023, or has something changed again like the table number?

  • @GH-qx1lx
    @GH-qx1lx 2 ปีที่แล้ว

    What is the formula for the stock ticker plz?

  • @arikissel9512
    @arikissel9512 3 ปีที่แล้ว

    Hi, do you have a solution to not show any number (or just 0) when a stock (for example paypal) doesnt pay any dividends? It just shows the #value error and I cant seem to figure out how to fix it

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

    Hey bro, awesome videos. So my spreadsheet worked beautiful up until the other day, now it won't pull any data from Yahoo, displays N/A with an error that says " could not fetch url". All of my dividend paying stocks now have that error from Yahoo, so any other cells that reference those for calculations also don't work. Any ideas? Thank you

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

    Your the Bully!! Thanks

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

    Good, but Finviz doesn't have a complete listing of dividend paying stocks on the TSX. Could you suggest another screener that pull dividend data from the TSX please?

    • @Fadliadiputra
      @Fadliadiputra 2 ปีที่แล้ว

      Hello have you found out another website that can use this method?

  • @callumhewson8514
    @callumhewson8514 6 หลายเดือนก่อน +2

    I keep getting an ERROR message :(( it says = "Function INDEX parameter 2 value is 7. Valid values are between 0 and 1 inclusive"

  • @NaveedAhmad-zg3rd
    @NaveedAhmad-zg3rd 2 ปีที่แล้ว +2

    Hi Mate, I am having this error message each time I load the code. I have checked everything but nothing. Can you please help?
    Error
    Function MULTIPLY parameter 1 expects number values. But '-' is a text and cannot be coerced to a number

  • @AutomationMaestro
    @AutomationMaestro 3 ปีที่แล้ว +3

    THe Ex div date from Yahoo isn't working for me. Could you please place the formula in the comments?

  • @krishnakantchoudhary0917
    @krishnakantchoudhary0917 3 ปีที่แล้ว

    Great trick....

  • @cgrablew
    @cgrablew 2 ปีที่แล้ว

    Any idea how you get valuation data from morningstar?

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

    do you have an update for the Ex-Dividend Date line getting NA

  • @jameswelker226
    @jameswelker226 3 ปีที่แล้ว

    Thank you for your video, i have been using your videos to take my spreadsheet up a notch. I had a problem with the ex-div formula not working for my ETF's. Any ideas? Thanks.

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

      Glad you like them! And ETFs are just one of those tricky ones. Still trying to figure out the best formula for them

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

      @@ThinkStocks Anything new on getting rid of 12/30/1899?

  • @ryanparr516
    @ryanparr516 2 ปีที่แล้ว

    can you pull free cash flow from yahoo? or is this only able to be pulled from the first page? Thanks for your help

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

    As someone pointed out to get the dividend payout you now use table 10 instead of nine.
    Now the dividend date on yahoo has changed, has anyone figured this out yet?
    Thanks

  • @lmao9222
    @lmao9222 3 ปีที่แล้ว

    Ex-dividend only appeared in the cell i put the formula in for that stock but not the others. How could i fix this?

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

    Why do I keep getting n/a or resource at url not found when trying to change the dynamic cell from where I input to ticker after changing the url for the cell where I input the ticker?

  • @lihk9412
    @lihk9412 2 ปีที่แล้ว

    Thanks, but the dividend is the total annual dividend, not the exact dividend in the Ex-dividend date ? how it can be resolved?

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

    Any update for what table is for the ex dividend date???