Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESPP Form8949 adjustment cash only option #136

Closed
codernet opened this issue Mar 31, 2024 · 1 comment
Closed

ESPP Form8949 adjustment cash only option #136

codernet opened this issue Mar 31, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@codernet
Copy link

In ESPP sheet, Form8949, adjustment (g), for "cash only" option, should the value equal to "gain - proceeds" instead of "proceeds - gain" ? Thanks.

=LET( proceedsStyle,Reference!$E$9, proceeds,AS8, gain,AW8, numVmwShares,D8, vmwBasis, AD8, avgoQty,AI8, avgoFMV,Reference!$B$18, cashReceived,AA8, avgoTotalValue, avgoFMV*avgoQty, vmwTotalBasis, vmwBasis*numVmwShares, alternateGainAmount,AJ8, basis1099B, AT8, SWITCH(proceedsStyle, "cashOnly", proceeds - gain, "combined", basis1099B - IF(cashReceived<alternateGainAmount, avgoTotalValue, vmwTotalBasis ) ))

@hickeng hickeng added the bug Something isn't working label Apr 2, 2024
@hickeng
Copy link
Owner

hickeng commented Apr 2, 2024

You're correct - should be gain - proceeds + basis1099B for cash only (basis1099B will be 0 by IRS rules... but should have it for correctness).

Luckily there are no ESPP lots that have a basis over 128.60 (alternate gain calc threshold) so none of them should have a non-zero adjustment with Cash Only which means the result of both incorrect and correct calc will be zero.

hickeng pushed a commit that referenced this issue Apr 8, 2024
The adjustment calculation for ESPPs was incorrect on the cash-only display
for non-zero values. It should be expressed as a negative and not positive number.

Luckily, no ESPP lots have a non-zero adjustment, so when cash-only is selected
the error isn't impactful.

Fixes #136
@hickeng hickeng closed this as completed in 86c2bcc Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants