Schema Tax

1099-B to Excel: One Row Per Lot, Ready to Sum

By Schema TaxPublished Updated

To get a 1099-B to Excel with one row per lot, give each sale its own row and each box its own column, store dates as dates and amounts as numbers, and add SUMIFS formulas that total proceeds, basis and wash sales by term. When those totals match the broker's summary page, the sheet holds every lot.

A 1099-B to Excel layout: one row per lot, one column per box

A 1099-B Excel sheet works best as a flat table: one row for each lot the broker reported and one column for each box on the form. A lot is a single block of shares sold in one transaction, with its own dates, proceeds and basis. Totals, notes and pivots go on other sheets.

The boxes come from the form. The IRS Instructions for Form 1099-B (2026) list what a broker reports for each sale: the description in Box 1a, date acquired in 1b, date sold in 1c, proceeds in 1d, cost or other basis in 1e, accrued market discount in 1f and wash sale loss disallowed in 1g. Box 2 says whether the gain or loss is short term, long term or ordinary, Box 5 marks a noncovered security, and Box 12 is checked when basis was reported to the IRS.

In a spreadsheet, readable labels help more than code-style names, because people scan the header while they review. The sample header row below uses the box number in each label so that anyone checking the sheet can find the matching spot on the PDF.

ABCDEFGHIJKL
AccountDescription (1a)CUSIPAcquired (1b)Sold (1c)Proceeds (1d)Basis (1e)Mkt discount (1f)Wash sale (1g)Term (2)Noncovered (5)Basis reported (12)

Format the sheet as an Excel table and name it Lots. Structured references such as Lots[Proceeds (1d)] then grow with the data, so formulas written for fifty rows still work at five thousand.

Add two working columns at the right edge: a gain column and a status column. Gain is proceeds minus basis plus any disallowed wash sale amount. Status is where you mark rows you have checked against the PDF. Keep those columns visually separate, for example with a different header color, so nobody mistakes them for broker data.

Which Form 8949 box each 1099-B lot belongs in depends on its term and whether basis was reported, which this layout already captures in the Term and Basis reported columns. The same table can be saved as a plain file, and the column names for a 1099-B CSV export show a code-friendly version of these headers.

Which formulas check a 1099-B Excel sheet against the broker's totals?

SUMIFS formulas check a 1099-B Excel sheet by adding up proceeds, basis and wash sale amounts for each combination of term and basis reporting. When each total equals the matching figure on the broker's summary page, no lot is missing or doubled. A difference points to the group that holds the problem.

The groups follow the 2025 Instructions for Form 8949. Box A covers short-term transactions reported on a 1099-B with basis reported to the IRS, and Box B covers short-term ones where basis was not reported. Boxes D and E are the long-term equivalents. If your statement has a summary page that totals by these groups, each line there gets one formula in your sheet.

Put the check block on its own sheet. The example below uses fictional summary figures typed into column C and compares them with formulas in column B.

RowA: GroupB: From the lotsC: Summary page (example)D: Difference
2Short, basis reported: proceeds=SUMIFS(Lots[Proceeds (1d)],Lots[Term (2)],"Short",Lots[Basis reported (12)],"Yes")48,210.55=B2-C2
3Short, basis reported: basis=SUMIFS(Lots[Basis (1e)],Lots[Term (2)],"Short",Lots[Basis reported (12)],"Yes")45,980.10=B3-C3
4Short, basis reported: wash sales=SUMIFS(Lots[Wash sale (1g)],Lots[Term (2)],"Short",Lots[Basis reported (12)],"Yes")212.35=B4-C4
5Long, basis reported: proceeds=SUMIFS(Lots[Proceeds (1d)],Lots[Term (2)],"Long",Lots[Basis reported (12)],"Yes")61,120.00=B5-C5
6Long, basis reported: basis=SUMIFS(Lots[Basis (1e)],Lots[Term (2)],"Long",Lots[Basis reported (12)],"Yes")55,442.00=B6-C6
7Short, basis not reported: proceeds=SUMIFS(Lots[Proceeds (1d)],Lots[Term (2)],"Short",Lots[Basis reported (12)],"No")3,400.00=B7-C7
8Lot count=ROWS(Lots[Proceeds (1d)])214=B8-C8

Every value in column D should be zero. Add a conditional format that turns any nonzero cell red, and the sheet reports its own gaps.

A difference of exactly one lot's proceeds usually means a missing row. The same amount showing up in one group and, with the opposite sign, in another means a row went in with the wrong term or status. A difference of a few cents across many rows usually means rounding crept in during a copy step, which the section on pasting below explains.

Add rows for any group your statement prints. Ordinary items, collectibles and noncovered long-term sales each get their own line when they appear.

Pivoting 1099-B lots in a spreadsheet by term and covered status

A pivot table groups 1099-B lots in a spreadsheet by term and covered status so that you can review each group as a block. A covered security is one whose basis the broker must track and report; the 1099-B instructions say a noncovered security is any security that is not a covered security.

Insert the pivot from the Lots table. Put Term in the rows area, Noncovered in the columns area, and Proceeds, Basis and Wash sale as summed values. The result is a small grid that answers the questions a reviewer asks first: how much was sold short term, how much long term, and how much of each lacks reported basis.

Noncovered lots deserve the closest look. The 1099-B instructions let a broker leave Box 1e blank when the security is not covered and Box 5 is checked. A blank basis in the sheet is then a missing value that only purchase records can fill, not a zero. Filter the pivot to the noncovered column and scan for blanks.

A second pivot by description helps with wash sales. Put Description in rows and Wash sale in values, then sort largest first. The securities you traded often show up at the top, and those are the rows to compare with the PDF.

Pivots also catch type errors. If a value in Term reads "short " with a trailing space, the pivot shows it as its own row. Fix it at the source with a cleanup formula or by retyping the cell, then refresh.

Do dates and negative amounts survive a 1099-B to Excel conversion?

Dates and negative amounts survive a 1099-B to Excel conversion only when they arrive as real dates and real numbers. Text that looks like a date sorts wrong and breaks term checks. Losses written in parentheses or with a trailing minus can land as text, and SUMIFS then skips them without warning.

Test each column first. Microsoft's page on the DATEVALUE function in Excel says Excel stores dates as sequential serial numbers so that they can be used in calculations. That makes =ISNUMBER(D2) a quick test: fill it down a helper column and filter for FALSE to find dates that arrived as text.

Blank acquisition dates are expected. The 1099-B instructions tell brokers to leave Box 1b blank for securities acquired on a variety of dates. Keep those cells empty and mark the rows in a notes column, so the column stays a date column. The word VARIOUS belongs to column (b) of Form 8949, which allows it for the same case, not to a date column in a spreadsheet.

For amounts, the 1099-B itself reports proceeds and basis rather than gain, so negative values mostly appear in your own gain column. Type losses with a leading minus sign so they stay numbers. The Form 8949 instructions say to enter negative amounts in parentheses, which is a rule for the printed form; if you want that look in the sheet, apply it as a cell format rather than typing the parentheses.

If a date column did arrive as text, the same Microsoft page describes DATEVALUE, which converts a date stored as text to a serial number Excel recognizes as a date. Use it in a helper column, then copy the results back as values. Check the total against the summary page afterward to confirm nothing was lost.

Copy and paste from a 1099-B PDF into Excel: why the columns break

Copy and paste from a 1099-B PDF into Excel breaks columns because a PDF stores text as positioned words, not as a table. Excel receives lines of text and guesses where one field ends. Descriptions with spaces, wrapped lines and page headers all shift values into the wrong columns.

The failures repeat across statements. A two-line description pushes the dates into the next row. A page break drops a header into the middle of the data. Amounts with thousands separators split when Excel treats the comma as a break. Subtotal lines look like lots and get counted twice.

Each failure changes totals in a different way, which is why the check block above matters. A sheet built by pasting can look complete and still be off by a whole page.

There are better routes. Many brokers offer a gain and loss download alongside the PDF; start there when it exists, and reconcile it to the form. When only the PDF exists, an extraction tool that reads each lot into fields does the work that pasting tries to do. The checklist of what a 1099-B OCR pass should capture for each lot lists the fields to expect from one.

If you must paste, paste one page at a time into a scratch sheet, fix that page, and move the clean rows into the Lots table. Count rows per page against the PDF as you go.

A page subtotal helps with that count. Many lot pages end with a total for the page or for the group the page belongs to. Add a page number column to the Lots table while you paste, and a small SUMIFS by page number tells you which page is off when the overall check fails. Delete the column once the sheet balances, or keep it as a pointer back to the PDF for anyone who reviews the sheet later.

Getting 1099-B Excel output from Schema Tax

Schema Tax exports 1099-B data as an Excel file on the Starter plan and above, listed at $9 a month for 100 pages. The Free plan covers 5 pages with JSON and CSV export. Each lot comes out as a row with named fields.

The fields cover what the layout above needs: dates acquired and sold, proceeds, cost basis and wash sales for every lot. Values the reader is unsure about are flagged on an editable view of the form for you to confirm before export, so the sheet starts from checked numbers.

The plan list on the pricing section shows page limits for each tier. If the 1099-B came inside a brokerage packet with dividends and interest, the guide to a consolidated 1099 in one Excel workbook shows how the other sections sit beside the lots. For more on spreadsheet and file output in general, see the CSV, Excel and JSON guides.

Schema Tax stops at the data. It does not prepare or file a return, and the SUMIFS check above is still worth running on any sheet before you rely on it.

All posts in 1099-B and Brokerage Statements