Mock tests, Interview questions, Tutorials and Tech news
 
 
Home > Miscellaneous > Free Schedule D generator with Wash Sale Calculation

Free Schedule D generator with Wash Sale Calculation

February 24th, 2010 Vinay Leave a comment Go to comments

If your broker provides a .txf file for your stock transactions and you do not want to spend big bucks on turbo tax, use the simple Schedule D generator excel sheet below.

ScheduleD1_Generator_2008

ScheduleD1_Generator_2009

ScheduleD1_Generator_2010

ScheduleD_Generator_2011

Steps to generate wash sale and schedule D 1. Download latest txf file from your broker site save in a directory
2. Download the Schedule D generator excel file and save in a directory

3. Open Schedule D generator excel and press “Ctrl+Shift+J”

4. It will open a location for you on your computer. Point it to the directory where you have saved .txf file and select the file

5. Boom .. the magic starts. At the end it will prompt “Process Completed.  Want to generate Schedule D ? ”

6. Say yes.

7. Enter your name and SSN and it will generate the Schedule D for you

What is Schedule D generator doing on Skill-Guru ?

Thanks to Jatin , an enthusiastic programmer with a very good understanding of finances and tax returns who created this excel sheet program for himself and then donated to our readers.

PS: Jatin send us an updated version of Schedule d1 generator which works for all .txf file provided by any broker like Scottrade,  Ameritrade.  We have updated the above link with new file.  Thanks Jatin !

Update : This Schedule D wash sale calculation has been updated to take care of long term sales

Update on Feb 14 : The Schedule D Excel sheet has been updated by Jatin for year 2010

Update on Feb 23 : The Schedule D Excel sheet has been updated by Jatin for a date defect encountered by some users . Thanks to Krishna for pointing this out

Update on March 1 : One of the user has requirement to correct data in data_sheet before generating the schedule. This file is modified to allow user to generate Schedule D1 from pre-populated data.

Update March 12: This excel generates Schedule D as well as Schedule D1 forms

Update May 2 : Defect in calculation for Line#21 has been fixed

Update March  10 , 2102 : Jatin has updated Schedule D 2009, updated Schedule D 2010 and created updated Schedule D 2011 for the readers. A big thanks to Jatin for all the hard work. Schedules are attached above

Update April 10 2012 : Jatin has updated the excel with following new fetaures

1) Description column on form 8949 is made longer to fit more details.
2) More than one TXF files can be included to generate single Schedule D form

Note :

Dear Readers

Jatin has been maintaining this excel sheet from 2010 . If this wash sale has been helpful to you, donate some amount to his paypal id at this email id jat_patan@rediffmail.com

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Mixx
  • Google Bookmarks
  • IndianPad
  • Reddit
Categories: Miscellaneous Tags: ,
  1. Sniup
    March 9th, 2011 at 13:25 | #1

    Thanks for the program, this’ll make things much easier. I have a question though, it looks like the wash sales are being duplicated some how, I think this is the same issue Anup has.

    This is from the IB .txf file,

    ^
    TD
    N321
    C1
    L1
    P1 GOOG 06AUG10 510 C
    D8/5/2010
    D7/30/2010
    $171.81
    $48.99
    ^
    TD
    N682
    C1
    L1
    PWash Sale – 1 GOOG 06AUG10 510 C
    D8/5/2010
    D7/30/2010
    $0.00
    $122.83
    ^

    So it has the original sale, and the wash sale that cancels out the loss. The generated data sheet comes up with these 3 lines,

    Sell : 1 GOOG 06AUG10 510 C 08/05/2010 07/30/2010 48.99 171.81 (122.82)
    Sell : Wash Sale – 1 GOOG 06AUG10 510 C 08/05/2010 07/30/2010 122.83 0.00 122.83
    Wash sale : Wash Sale – 1 GOOG 06AUG10 510 C 08/05/2010 07/30/2010 0 122.83 (122.83)

    Thanks!

  2. March 2nd, 2011 at 00:32 | #2

    @corey
    Hi Corey,

    Here are the steps to get TXF from scottrade and then use this excel.

    1) Login to your scottrade account and then select “My Account”
    2) Select “Gain/Loss & Tax Center” from left side panel.
    3) Select “Tax Report” option now.
    4) Select Year 2010 and click on Go. It will ask you to open or save the txf file. Save the file on your PC
    5) Now download this excel to your PC and open it. If it ask for Macro option, Select Enable Macro.
    6) Press “Ctrl+Shift+J” (all together). It will ask you for txf file. Select TXF file from your PC.

    Rest will be done by this program.

    Hope this will help you.

    Thanks,

    Jatin

  3. March 2nd, 2011 at 00:19 | #3

    @Anup

    Updated excel is available now. You can download and use it.

    Thanks,

    Jatin

  4. Anup
    March 1st, 2011 at 21:51 | #4

    @Jatin
    Many thanks Jatin. Definitely will double check for the errors. The txf from IB somehow created some duplicate records in washsale transactions after the transfer and that’s why I prefer a two step process.

  5. corey
    March 1st, 2011 at 14:32 | #5

    Thanks for the download. I cannot figure out how to get my Scottrade txf. file transfered over..any help would be greatly appreciated.
    Thank you,
    Corey

  6. February 28th, 2011 at 19:14 | #6

    @Anup
    Hi Anup,

    I will modify the excel and send it to Vinay for upload.

    Note that this process works based on data in .txf file. Predefined code within txf file is used to identify short term or long term or wash sale.

    Updating data or Deleting row from Data sheet may generate wrong schedule. It is a risk that you need to take.

    Thnaks,

    Jatin

  7. Anup
    February 27th, 2011 at 20:31 | #7

    Hi Jatin/Vinay, Thanks for the great work.
    Is there a way to update the initial data sheet with some corrections (delete rows, change amount..etc due to incorrect data in txf from broker) and then to have schedule d sheets generated from the updated data?
    After pressing ‘No’ to edit the contents, it goes to Good bye message,so not sure whether it is possible just to enable the generator from that stage.
    Thanks.

  8. Jatin
    February 23rd, 2011 at 19:25 | #8

    @James
    James – You can go with this format.

  9. Jatin
    February 23rd, 2011 at 16:51 | #9

    @Krishna

    Krishna – This issue is fixed now. Download latest excel that should help you.

    Cheers,

    Jatin

  10. February 23rd, 2011 at 14:59 | #10

    @Surya
    Thanks Surya. The post has been updated with his email id. I was think of doing the same for him and it is a coincidence you mentioned the same.

  11. February 23rd, 2011 at 14:58 | #11

    @James
    Hi James the file has been updated

  12. Surya
    February 23rd, 2011 at 14:06 | #12

    Great Job – thanks – you have saved me atleast $30.

    drop me a mail with your paypay id – would like to donate $5 to you to help you make this even better and maintain it.

  13. Krishna
    February 22nd, 2011 at 14:20 | #13

    YL.

    How do you edit .txf file ?

  14. February 22nd, 2011 at 07:49 | #14

    Thank you
    This saves me a lot of money. Thank you.
    Magic tool.
    Qbmedi

  15. YL
    February 21st, 2011 at 15:40 | #15

    I have the same problem as Krishna’s. It seems to be related to the txf date format using 1 or 2 digits for month and day. For example, if change “4/7/2010″ to “04/07/2010″, it may work.

  16. Krishna
    February 20th, 2011 at 23:29 | #16

    Here is the some data from the Txf file first page
    V041
    AInteractive Brokers
    D 2/2/2011
    ^
    TD
    N321
    C1
    L1
    P5 QCOM 17APR10 43 C
    D4/7/2010
    D4/17/2010
    $239.82
    $0.00
    ^
    TD
    N321
    C1
    L1
    P1 AAPL 22MAY10 230 P
    D4/20/2010
    D5/5/2010
    $339.86
    $148.99
    ^
    TD
    N321
    C1
    L1
    P3 AAPL 17JUL10 270 C
    D4/21/2010
    D4/21/2010
    $2,402.14
    $2,611.31
    ^
    TD
    N321
    C1
    L1
    P4 AAPL 17JUL10 280 C
    D3/30/2010
    D4/20/2010
    $1,122.86
    $1,357.14
    ^
    TD
    N321
    C1
    L1
    P4 AAPL 17JUL10 280 C
    D4/7/2010
    D4/21/2010
    $1,402.26
    $2,121.74
    ^

  17. Jatin
    February 20th, 2011 at 06:09 | #17

    @Krishna

    Hello Krishna,

    Can you put some sample data from your “txf” file for the dates that are printing wrong.

    Will have a look into it.

    Thanks,

    Jatin

  18. Krishna
    February 19th, 2011 at 15:07 | #18

    Hi,

    I am getting some dates in this format,
    /2-D4/-2010
    0/-D4/-2010
    1/-D4/-2010
    0/-D3/-2010
    /2-D4/-2010
    1/-D7/-2010
    /2-D8/-2010
    3/-D4/-2010
    8/-D6/-2010
    10/08/2010
    10/13/2010
    How to change it, I am using Excel 2007

  19. James
    February 6th, 2011 at 15:48 | #19

    Ivan,

    Another thing I noticed is that the font on the 2010 D1 is a different font than 2009. I tried to copy and paste but it won’t do it. Do you think this matters to the IRS? I’m thinking I should ask.

    James

  20. James
    February 6th, 2011 at 15:47 | #20

    Ivan,

    Another thing I noticed is that the year on 2010 D1 is a different font than 2009. I tried to copy and paste but it won’t do it. Do you think this matters to the IRS? I’m thinking I should ask.

    James

  21. James
    February 6th, 2011 at 15:35 | #21

    Hey Ivan,

    Thanks, but I’m just not getting it. I don’t have any problem changing it but I don’t know how to group all the worksheets together making them all change at once. Can you walk me through it.

    Thank you,
    James Volosin

  22. Ivan
    February 6th, 2011 at 10:39 | #22

    Cool macro thanks,

    To change the year all you have to do is group the worksheets and change 2009 to 2010 changing it in one sheet will change them in all just make sure to ungroup them when done. Right click and worksheet tab and select ungroup.

  23. James
    February 3rd, 2011 at 06:58 | #23

    Thank you!

  24. February 2nd, 2011 at 09:01 | #24

    Hi James
    I will request the Guru of this Schedule D generator to create a new version.

  25. James
    February 1st, 2011 at 14:31 | #25

    Do you have a schedule D generator for the 2010 tax year?

  26. Wray Smallwood
    October 10th, 2010 at 13:31 | #26

    Forgot to mention if anyone wants to examine the TXF file format in detail:

    http://turbotax.intuit.com/txf/

    The latests there is version 041, but TT Quicken 2009 generated V042 (but it should be essentially the same, especially for stock sales).

  27. Wray Smallwood
    October 10th, 2010 at 11:50 | #27

    If you examine the format of the TXF file in any capable text editor you will see that it is ordinary text and every transaction is separate. So to combine the files all you need to do is remove the header from the 2nd file (first 4 lines of the file including the line with the caret). Your first file will have it’s last transaction ending with a caret line. Copy and paste the remaining 2nd file into your first file.

    Now this assumes that you have software that can sort them from here by date because this was not a merge this was a concatenation. If the sofware can’t read the file and sort them to calculate the wash sales and gain/loss, then you would be stuck with hand pasting each transaction from the 2nd file into its proper chronological place in the first file.

  28. Galen
    October 3rd, 2010 at 20:04 | #28

    Thanks, the reason I need to put two txf’s together is they are from different brokers and I have a couple of the same stocks may have some wash sales with different brokers.

  29. October 3rd, 2010 at 11:50 | #29

    Not sure Galen. Will check with the creator of this program

  30. Galen
    October 3rd, 2010 at 11:03 | #30

    This is a great program, but I have txf files from two brokers, do you know how I can combine them into one file so I can run the generator on it? Thanks!

  31. August 11th, 2010 at 20:40 | #31

    @Don
    Try it with Excel 2003 or 2004. Users had used with this version and did not had issues.

  32. Don
    August 11th, 2010 at 19:31 | #32

    I’m receiving a Microsoft Visual Basic error. The error is : Run-time error ‘1004′ and it also states :Application-defined or object-defined errror”.

    I’m using Windows XP, Scottrade’s “txf” report and Excel 2000.

    Could you please provide help such that this macro can be used?

    Thanks in advance.

  33. May 10th, 2010 at 13:02 | #33

    Peter
    The file has been updated to take care of long term sales. Thanks to Jatin for responding to your requirements.

  34. May 9th, 2010 at 18:16 | #34

    @ peter

    @peter
    I am not creator of this wash sale calculation excel sheet. Jatin is the Guru of this file.
    I will request him to reply to your queries.

  35. peter
    May 9th, 2010 at 12:19 | #35

    Help?

  36. PETER
    May 9th, 2010 at 00:32 | #36

    I’m using scottrade too. Downloaded TXF ‘tax report’ opened with generator, examined data, ran ‘generate’ …………………….. ALL short term on sched D.

    1. Scottrade ‘tax report’ TXF

    2. Windows XP SP 2

    3. dell latitude laptop, Pentium 4

    4. Excel 2003

    Thank you for your efforts.

  37. PETER
    May 9th, 2010 at 00:21 | #37

    VBA project password? I’m an ignoramus, but I wanted to look at the Macro…….

  38. PETER
    May 9th, 2010 at 00:19 | #38

    My profit/loss from broker confirms there is a bug…. The Sched D has the numeral “8″ where (long term) “description of Property” should go, and there seems to be a cell split/merge issue at that particular point (beginning of long term listings on sched. D). (?) It did not capture ANY long-term holdings at all – I Know this is not right., as I have examined the trades, and ALL were long term, save One.

    This would be THE SLICKEST, If I could get it to work right.

  39. May 8th, 2010 at 22:49 | #39

    Check the profit and loss statement from your broker . Does it also reflect short term ?
    This excel file does conversion of your .txf file.

  40. PETER
    May 8th, 2010 at 20:19 | #40

    I am using excel 2003, does that matter?

    How about open office?

  41. PETER
    May 8th, 2010 at 20:11 | #41

    All my transactions are coming up on short term, even though held well over one year. Ideas?

  42. Amanda
    April 25th, 2010 at 23:21 | #42

    I was able to successfully convert the csv to a txf. Thank you so much for you help and creating this file. It is definitely a life saver!!!

  43. April 25th, 2010 at 09:09 | #43

    @Amanda I think I would not be able to answer your questions now. I will talk to Guru of this Schedule D, Jatin Thakkar who has created this Schedule D .

  44. Amanda
    April 24th, 2010 at 23:56 | #44

    One more question…in what order should the columns be in the txf. file?

    i.e:

    symbol, quantity, date, etc.?

  45. Amanda
    April 24th, 2010 at 23:23 | #45

    I am downloading from Scott Trade for years 2005-2007. It gave me the option for csv. and money/quicken. Do you know if the money/quicken option is the txf. format? The Scott Trade web-site is down for maintenance through the weekend.

    Thanks!

  46. April 24th, 2010 at 22:02 | #46

    @Amanda When you download the file from your broker , it would be in a .txf format. I had used scottrade and they give the file in .txf format.
    No we have not used this with excel 2008. It was done with excel 2004 but I do not think there should be any issue. Excel supports backward compatibility

  47. Amanda
    April 24th, 2010 at 17:39 | #47

    I also seem to be having trouble with Excel 2008. Is your generator compatible with excel 2008?

    Thanks again!

    Amanda

  48. Amanda
    April 24th, 2010 at 16:57 | #48

    Hi – I am trying to use your schedule d generator. I have downloaded the trades into a csv format. How can a change the format from csv to txf so that I can use the generator?

    Thanks so much for your help!

    Amanda

  49. April 12th, 2010 at 19:30 | #49

    @John Thanks for feedback. I am glad this Schedule D generator helped you.

  50. John
    April 12th, 2010 at 16:11 | #50

    excellent schedule D generator. had lots of wash sales this year. this thing saved my life.

Comment pages
1 2 1694
  1. No trackbacks yet.
Get Adobe Flash playerPlugin by wpburn.com wordpress themes