How To Pull Dividend Data Into Google Sheets

Поділитися
Вставка
  • Опубліковано 7 вер 2024

КОМЕНТАРІ • 351

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

  • @sarubinca
    @sarubinca 9 місяців тому +14

    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?

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

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

  • @svbhave
    @svbhave Рік тому +14

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

  • @grezm0nkey
    @grezm0nkey 2 роки тому

    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

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

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

  • @TradingWithCJ
    @TradingWithCJ 3 роки тому +6

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

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

  • @ivanpalamarenko3729
    @ivanpalamarenko3729 10 місяців тому +4

    My didn't work and I needed to put table "10" instead of ""9" Maybe they updated a web site with added table on top. Thanks a LOT!!!!!!!!!!!!!!!!!!!!!!

    • @simulateandtrade
      @simulateandtrade 10 місяців тому

      THIS! Thank you sooo much!

    • @IsaacTheGray
      @IsaacTheGray 9 місяців тому +1

      Yeah this fixed it for me, thanks!! Anyone know how to check the table location in the future in case it moves again?

  • @pressrepeat2000
    @pressrepeat2000 3 роки тому +4

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

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

  • @callumhewson8514
    @callumhewson8514 9 місяців тому +2

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

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

  • @jeevanmangalya
    @jeevanmangalya 11 місяців тому +2

    unable to get data from yahoo finance, can you help me in this regard

  • @IbadassI
    @IbadassI 2 роки тому

    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!

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

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

  • @ionelmitel9835
    @ionelmitel9835 2 роки тому

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

  • @junabad3412
    @junabad3412 3 роки тому +1

    Super Cool! Just followed all your steps and got what i needed. More blessings to 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!

  • @bngolfin
    @bngolfin Рік тому +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

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

  • @giandigiandomenico9179
    @giandigiandomenico9179 3 роки тому +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?

  • @Thomas-il6el
    @Thomas-il6el 3 роки тому +1

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

  • @1stFoxmovie
    @1stFoxmovie 3 роки тому +3

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

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

  • @georgebruno9846
    @georgebruno9846 3 роки тому +3

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

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

  • @strowie1697
    @strowie1697 2 роки тому

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

  • @swedesam
    @swedesam 2 роки тому

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

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

  • @masterbaitt
    @masterbaitt Рік тому +1

    Another enhancement we can do in this, is to multiply the shares with dividend amount when it is declared and log the date and dividend amount in history tab for the shares I currently hold and add it to the dashboard as dividend received.
    This thing no one has done it yet, so I'll be working on it and let you know if got success.
    Btw thanks for this, now I have something which can be improved further.

  • @RedCirclePottery
    @RedCirclePottery 5 місяців тому

    Has anyone recently dont this? The issue i have with pully from finvis is that the yield pct is importing as text with both the yeld pct and payout dollar ammount. For instance VZ shows as 2.63 (6.29%) anyone know how to deal with that?

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

  • @joelpolese
    @joelpolese Рік тому

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

  • @NaveedAhmad-zg3rd
    @NaveedAhmad-zg3rd 3 роки тому +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?

  • @nullnoob
    @nullnoob 3 місяці тому

    Any update toyour revised function. Get the same error as below: Error
    Function INDEX parameter 2 value is 8. Valid values are between 0 and 1 inclusive.

  • @akshatrastogi9063
    @akshatrastogi9063 2 роки тому

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

  • @kdsev700
    @kdsev700 10 днів тому

    hey i kowla
    iam late to the game you might have already figured it out but i used the importxml formu

  • @hectormunoz4812
    @hectormunoz4812 2 роки тому

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

  • @omarfuentes2856
    @omarfuentes2856 Рік тому

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

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

  • @theintelligentinvestor300
    @theintelligentinvestor300 3 роки тому +2

    Hello my friend could you please explain me the first number that you have wrote after "table" ?? how do you know that this is the number to choose ? Thanks you so much

    • @jorgp.1966
      @jorgp.1966 3 роки тому +1

      have the same question

  • @werrtvnsioftuzrngkld
    @werrtvnsioftuzrngkld 3 роки тому +4

    Aren´t Ex-Dividend Date and Pay date still two seperate things?

    • @Inviting1word
      @Inviting1word 2 роки тому

      Yes ones when you have to own the stocks by and the other is when you get money for owning that stocks.

  • @Pegaroo_
    @Pegaroo_ Рік тому +1

    Ex-dividend date formula
    =index(importhtml(Concatenate("YAHOO WEB ADDRESS",A2),"table",2),7,2)
    you'll need to replace YAHOO WEB ADDRESS with what's shown at 9:36

    • @northinvestor
      @northinvestor Рік тому

      it doesn't work

    • @Pegaroo_
      @Pegaroo_ Рік тому

      @@northinvestor well you'll just need to copy it from the video then

    • @Pegaroo_
      @Pegaroo_ Рік тому

      @@EpicTalesHub-d7z I've just spotted a typo in my original post, I had B2 where it should be A2 so formula was looking at wrong cell to get ticker

  • @darkpaladin4917
    @darkpaladin4917 2 роки тому

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

  • @charenk
    @charenk 3 роки тому +2

    when I tried to create dividend yield, I am getting "#REF!" error with text "Function INDEX parameter 3 value is 2. Valid values are between 0 and 1 inclusive."
    Am I missing something here

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

  • @MostafaAbdelaziz
    @MostafaAbdelaziz Рік тому +1

    it doesn't work with me
    I don't know why!

  • @nedh.8792
    @nedh.8792 Рік тому +1

    Great content. Subscribed! FYI I'm getting the following error message when trying to import this data into Google sheets - "Function INDEX parameter 2 value is 8. Valid values are between 0 and 3 inclusive." Any suggestions on how to fix this? Thanks.

    • @bigc716
      @bigc716 Рік тому

      I changed the table number back to 9. worked for me.

  • @richardbender3784
    @richardbender3784 Рік тому +1

    Followed instructions exactly but I receive the following errors - "#REF! #ERROR! #ERROR! #ERROR!" Looking for solutions please

    • @nuthingoinon
      @nuthingoinon Рік тому +1

      finviz has changed the table number again - its now 10 instead of 9. I'm still trying to figure out where yahoofinance has hidden their table though 😕 hope this helps you some. -FC

    • @richardbender3784
      @richardbender3784 Рік тому

      @@nuthingoinon Got things to work with FINVIZ #10 but they don't have the XDATE in their sheet. Can't seem to find the key for the Yahoo Finance transfer for Xdate

  • @craigschleppi2573
    @craigschleppi2573 3 роки тому

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

  • @jorgebaia865
    @jorgebaia865 3 роки тому

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

  • @DH-pz7bc
    @DH-pz7bc 2 роки тому

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

  • @mrironleg
    @mrironleg 3 роки тому +2

    I need to import dividend yield data for Canadian securities also; any ideas?

  • @GlenDonohue
    @GlenDonohue 3 роки тому +4

    Not working anymore

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

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

  • @ProdLeo
    @ProdLeo 3 роки тому

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

  • @JDJRN
    @JDJRN Рік тому +1

    How do you know the "table #" is?

  • @Pharaoo2012
    @Pharaoo2012 2 роки тому

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

  • @dhivadaks
    @dhivadaks 2 роки тому +1

    Hi., this is a great Material to world of investing.. can you please tell how to pull other than US Stocks for example Indian NSE stock market.. I tried for ACC.NS, but it turned out to be #N/A whereas it returns value for AAPL.. can you please enlighten?

  • @Mostafizur_rahman188
    @Mostafizur_rahman188 9 місяців тому

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

  • @gonzalosecchi7381
    @gonzalosecchi7381 2 місяці тому

    A ver si puedes actualizarlo a como es ahora, sería muy útil, a mi no me funciona, pero ví que tu video es muy bueno

  • @kanegs1
    @kanegs1 Місяць тому

    Good stuff but Not working anymore...any updates?

  • @broadwaygypsy3304
    @broadwaygypsy3304 3 роки тому

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

  • @buffsurfer
    @buffsurfer 2 роки тому

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

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

  • @philiptran617
    @philiptran617 4 місяці тому

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

  • @87bhavneet
    @87bhavneet 11 місяців тому

    I tried the function you posted in your description but I keep getting the error index 2 parameter value is 8, valid values are 0 and 1

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

  • @sachidanandsadhguru3703
    @sachidanandsadhguru3703 Рік тому

    Yahoo Finance function as shown in above video is Returning error for table, 2. Says, "Resource at url not found".

  • @PacPacBumGaming
    @PacPacBumGaming 2 роки тому +1

    Great video! But I encounter a problem when trying to fetch data for a quote like RNO(dot)PA for example(on yahoo). It seems to be the dot before PA that cripples the Google Sheets. If you find any way around it, please do let me know! Thanks again for the video!

    • @BetasCoin
      @BetasCoin Рік тому

      Instead of pulling data using htmlimport, then you can pull all data on Yahoo Finance using the fact that it is build on Javascript. I just made a video showcasing my version of this if you need. ua-cam.com/video/MAi62N3V1H4/v-deo.html

  • @investinggrind
    @investinggrind 10 місяців тому

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

  • @fitbh703
    @fitbh703 2 роки тому

    exactly what i was looking for (ex dividend date)

  • @sartajbhullar3782
    @sartajbhullar3782 6 місяців тому +1

    this won't work anymore, since the table got updated in finviz. Now it displays both dividend and dividend yield in the same cell of the table.

    • @AndyDeitrich
      @AndyDeitrich 6 місяців тому

      You can use LEFT and RIGHT to trim the result.

    • @randolfeo9277
      @randolfeo9277 6 місяців тому +1

      Delete *1 at the end of the formula. If it's still causing an error, then trim whitespace (data, data cleanup, trim whitespace).

    • @CreditDelinquencies
      @CreditDelinquencies 5 місяців тому

      @@randolfeo9277 just to clarify, I am using TGT at initial cell A10 hence the specific numbers of * 4.17 (2.52%) * ( there is no space between the * and 4 or ) and * )

  • @aarthiarun9440
    @aarthiarun9440 2 роки тому

    exactly what I needed. Thank u so much !

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

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

  • @strangergranger10
    @strangergranger10 9 місяців тому

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

  • @abutaymiyyahlectures
    @abutaymiyyahlectures 2 роки тому +1

    does the link still work?

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

  • @drtham
    @drtham Рік тому

    Great video. showing me how to auto extract the ex-dividend date. Please show the code for extracting the dividend.and the dividend yield? For example Yahoo Finance shows : Forward Dividend & Yield 1.92 (15.74%) for stock OCR.

  • @riccardovarrazza6979
    @riccardovarrazza6979 2 роки тому

    Seems not working for LSE. Strange enough it works for SHEL.L and VOD.L but not for the others . It get stuck in loading or #n/A
    Any help?
    Cheers

  • @investinggrind
    @investinggrind Рік тому

    Just watched your video on the ex-dividend date. Can you do the same video for Canadian viewers. Thans man

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

  • @johncox6
    @johncox6 2 роки тому

    Would like to pull dividend PAY date as well. 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?

  • @darkho0
    @darkho0 2 роки тому

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

  • @nasserkareem3705
    @nasserkareem3705 2 роки тому

    I want to sum my dividends from multiple stocks. Some stocks don't have dividends and it return #value. How can i replace the #value with a zero?

  • @swarleycx1406
    @swarleycx1406 3 роки тому

    This just does not seem to work for me, I always get an error, even if I copy the code from your description and change the C6 to my own one. Or if I delete the &C6 and just put the ticket directly into the parentheses. Always an error. Any suggestions ?

  • @Paddlehappy
    @Paddlehappy 2 роки тому

    Hi , thank you so much for this video much appreciated

  • @LomdomsilverDe
    @LomdomsilverDe 2 роки тому

    Hmm... doesnt work :-/ I just copied yout code but nothing works. Is it changed by google last times?

  • @nodems613
    @nodems613 Рік тому

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

  • @krystalyan4264
    @krystalyan4264 Рік тому

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

  • @masoncnc
    @masoncnc 2 роки тому

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

  • @bluesticker
    @bluesticker 2 роки тому +2

    The table index was 9, then 8 and now it's 7