Dougmclain
New Member
- Joined
- Aug 18, 2014
- Messages
- 6
[TABLE="width: 700"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 500, align: right"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]Table 1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Interest[/TD]
[TD]Clubhouse[/TD]
[TD]Dividend[/TD]
[TD]Rental[/TD]
[TD]Parking[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]5[/TD]
[TD]100[/TD]
[TD]20[/TD]
[TD]0[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD]Table 2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Clubhouse[/TD]
[TD]100[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Dividend[/TD]
[TD]20[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Interest[/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Parking[/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD]130[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am trying to create table 2 in descending order based on the row data in table 1. I only want a row in table 2 with a description to show up if the number is greater than zero and then total the numbers. I used =large(A2:E2,1) for cell B4, and =large(A2:E2,2) for cell B5. I can't figure out how to get the description cell above to show up in Table 2 in the correct order. I also don't know how to exclude a row if the value of a cell is zero, and then to put the total in the correct cell.
Thanks,
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 500, align: right"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]Table 1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Interest[/TD]
[TD]Clubhouse[/TD]
[TD]Dividend[/TD]
[TD]Rental[/TD]
[TD]Parking[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]5[/TD]
[TD]100[/TD]
[TD]20[/TD]
[TD]0[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD]Table 2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Clubhouse[/TD]
[TD]100[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Dividend[/TD]
[TD]20[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Interest[/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Parking[/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD]130[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am trying to create table 2 in descending order based on the row data in table 1. I only want a row in table 2 with a description to show up if the number is greater than zero and then total the numbers. I used =large(A2:E2,1) for cell B4, and =large(A2:E2,2) for cell B5. I can't figure out how to get the description cell above to show up in Table 2 in the correct order. I also don't know how to exclude a row if the value of a cell is zero, and then to put the total in the correct cell.
Thanks,