If person has both a Roth and 401K display earnings amount once in gross earnings row.

Status
Not open for further replies.

Cyndi2210

New Member
Joined
Jul 12, 2018
Messages
17
Office Version
  1. 2016
Platform
  1. Windows
If the person has a Roth and 401K contribution I need earnings to display in only one of the rows, not both.


[TABLE="width: 767"]
<colgroup><col><col><col span="2"><col span="5"></colgroup><tbody>[TR]
[TD="align: left"]Name[/TD]
[TD][/TD]
[TD="align: left"]Earnings[/TD]
[TD="align: left"]Gross Earnings[/TD]
[TD="align: left"]Type[/TD]
[TD="align: left"]401K[/TD]
[TD="align: left"]401L[/TD]
[TD="align: left"]Roth[/TD]
[TD="align: left"]Total[/TD]
[/TR]
[TR]
[TD="align: left"]Name 1[/TD]
[TD="align: right"]6/18/2012[/TD]
[TD="align: right"]574.75[/TD]
[TD][/TD]
[TD="align: left"] 401[/TD]
[TD="align: right"]28.74[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]28.74[/TD]
[/TR]
[TR]
[TD="align: left"]Name 1[/TD]
[TD="align: right"]6/18/2012[/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD="align: left"]401L[/TD]
[TD][/TD]
[TD="align: right"]38.28[/TD]
[TD][/TD]
[TD="align: right"]38.28[/TD]
[/TR]
[TR]
[TD="align: left"]Name 2[/TD]
[TD="align: right"]4/1/2004[/TD]
[TD="align: right"]1206[/TD]
[TD][/TD]
[TD="align: left"] 401[/TD]
[TD="align: right"]241.20[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]241.20[/TD]
[/TR]
[TR]
[TD="align: left"]Name 3[/TD]
[TD="align: right"]9/20/1980[/TD]
[TD="align: right"]1750[/TD]
[TD][/TD]
[TD="align: left"] 401[/TD]
[TD="align: right"]400.00[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]400.00[/TD]
[/TR]
[TR]
[TD="align: left"]Name 4[/TD]
[TD="align: right"]6/27/2000[/TD]
[TD="align: right"]1769.23[/TD]
[TD][/TD]
[TD="align: left"] 401[/TD]
[TD="align: right"]88.46[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]88.46[/TD]
[/TR]
[TR]
[TD="align: left"]Name 4[/TD]
[TD="align: right"]6/27/2000[/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD="align: left"]401L[/TD]
[TD][/TD]
[TD="align: right"]43.72[/TD]
[TD][/TD]
[TD="align: right"]43.72[/TD]
[/TR]
[TR]
[TD="align: left"]Name 4[/TD]
[TD="align: right"]6/27/2000[/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD="align: left"]401L2[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]106.51[/TD]
[TD="align: right"]106.51[/TD]
[/TR]
[TR]
[TD="align: left"]Name 5[/TD]
[TD="align: right"]9/30/1980[/TD]
[TD="align: right"]2700[/TD]
[TD][/TD]
[TD="align: left"] 401[/TD]
[TD="align: right"]50.00[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]50.00[/TD]
[/TR]
[TR]
[TD="align: left"]Name 6[/TD]
[TD="align: right"]12/2/2014[/TD]
[TD="align: right"]1136.61[/TD]
[TD][/TD]
[TD="align: left"] 401[/TD]
[TD="align: right"]56.83[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]56.83[/TD]
[/TR]
[TR]
[TD="align: left"]Name 7[/TD]
[TD="align: right"]1/17/2018[/TD]
[TD="align: right"]551.25[/TD]
[TD][/TD]
[TD="align: left"] 401[/TD]
[TD="align: right"]27.56[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]27.56[/TD]
[/TR]
[TR]
[TD="align: left"]Name 8[/TD]
[TD="align: right"]10/7/1992[/TD]
[TD="align: right"]1102.82[/TD]
[TD][/TD]
[TD="align: left"] 401[/TD]
[TD="align: right"]110.28[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]110.28[/TD]
[/TR]
[TR]
[TD="align: left"]Name 9[/TD]
[TD="align: right"]10/7/1992[/TD]
[TD="align: right"]1830.4[/TD]
[TD][/TD]
[TD="align: left"] 401[/TD]
[TD="align: right"]183.04[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]183.04[/TD]
[/TR]
[TR]
[TD="align: left"]Name 10[/TD]
[TD="align: right"]5/9/2005[/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD="align: left"]401L[/TD]
[TD][/TD]
[TD="align: right"]20.99[/TD]
[TD][/TD]
[TD="align: right"]20.99[/TD]
[/TR]
[TR]
[TD="align: left"]Name 11[/TD]
[TD="align: right"]8/13/2018[/TD]
[TD="align: right"]476.25[/TD]
[TD][/TD]
[TD="align: left"] 401[/TD]
[TD="align: right"]9.53[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]9.53[/TD]
[/TR]
[TR]
[TD="align: left"]Name 11[/TD]
[TD="align: right"]8/13/2018[/TD]
[TD="align: right"]476.25[/TD]
[TD][/TD]
[TD="align: left"]ROTH[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]13.18[/TD]
[/TR]
[TR]
[TD="align: left"]Name 12[/TD]
[TD="align: right"]7/5/2017[/TD]
[TD="align: right"]955.5[/TD]
[TD][/TD]
[TD="align: left"] 401[/TD]
[TD="align: right"]28.67[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]28.67[/TD]
[/TR]
[TR]
[TD="align: left"]Name 12[/TD]
[TD="align: right"]7/5/2017[/TD]
[TD="align: right"]955.5[/TD]
[TD][/TD]
[TD="align: left"]ROTH[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]18.75[/TD]
[/TR]
[TR]
[TD="align: left"]Name 13[/TD]
[TD="align: right"]8/9/2004[/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD="align: left"]401L[/TD]
[TD][/TD]
[TD="align: right"]75.21[/TD]
[TD][/TD]
[TD="align: right"]75.21[/TD]
[/TR]
[TR]
[TD="align: left"]Name 13[/TD]
[TD="align: right"]8/9/2004[/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD="align: left"]401L2[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]33.21[/TD]
[TD="align: right"]33.21[/TD]
[/TR]
[TR]
[TD="align: left"]Name 14[/TD]
[TD="align: right"]4/23/2001[/TD]
[TD="align: right"]1097.2[/TD]
[TD][/TD]
[TD="align: left"] 401[/TD]
[TD="align: right"]32.92[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]32.92[/TD]
[/TR]
[TR]
[TD="align: left"]Name 15[/TD]
[TD="align: right"]9/7/2006[/TD]
[TD="align: right"]518.61[/TD]
[TD][/TD]
[TD="align: left"] 401[/TD]
[TD="align: right"]15.56[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]15.56[/TD]
[/TR]
[TR]
[TD="align: left"]Name 15[/TD]
[TD="align: right"]9/7/2006[/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD="align: left"]401L[/TD]
[TD][/TD]
[TD="align: right"]13.06[/TD]
[TD][/TD]
[TD="align: right"]13.06[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Duplicate https://www.mrexcel.com/forum/excel...ount-once-gross-earnings-row.html#post5201244

Please do not post the same question multiple times. All clarifications, follow-ups, and bumps should be posted back to the original thread.
Per forum rules, posts of a duplicate nature will be locked or deleted (rule 12 here: Forum Rules).

Note that sometimes posts from new users require Moderator approval before you can see them on the public forums. When this happens, you should see a message to that effect when you try to post it.
Please be patient and do not attempt to post the question again.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,633
Latest member
DougMo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top