I'm dealing with 4 Columns with the following initial layout example:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD="align: center"]COLUMN S[/TD]
[TD="align: center"]COLUMN T[/TD]
[TD="align: center"]COLUMN U[/TD]
[TD="align: center"]COLUMN V[/TD]
[/TR]
[TR]
[TD="align: center"]01, 03, 21[/TD]
[TD="align: center"]01, 03, 21[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]08, 15[/TD]
[TD="align: center"]08, 15, 08[/TD]
[TD="align: center"]15[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]30, 33, 34[/TD]
[TD="align: center"]30, 33, 34, 30, 34[/TD]
[TD="align: center"]33[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]09[/TD]
[TD="align: center"]09[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'd need, via either an equation or a macro, that the cells in Column V show the numbers I've highlighted in BLUE in each row.
Basically what's happening is that:
- If Column U = Empty, then Column T = Column S. This is fine because I do V = T, done.
- If Column U = NotEmpty, then Column T = Column S + (Column S - Column U). This is a problem, because what I'd need in Column V in these cases is only the part: Column S - Column U.
I hope that makes sense. Thanks in advance!!
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD="align: center"]COLUMN S[/TD]
[TD="align: center"]COLUMN T[/TD]
[TD="align: center"]COLUMN U[/TD]
[TD="align: center"]COLUMN V[/TD]
[/TR]
[TR]
[TD="align: center"]01, 03, 21[/TD]
[TD="align: center"]01, 03, 21[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]08, 15[/TD]
[TD="align: center"]08, 15, 08[/TD]
[TD="align: center"]15[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]30, 33, 34[/TD]
[TD="align: center"]30, 33, 34, 30, 34[/TD]
[TD="align: center"]33[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]09[/TD]
[TD="align: center"]09[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'd need, via either an equation or a macro, that the cells in Column V show the numbers I've highlighted in BLUE in each row.
Basically what's happening is that:
- If Column U = Empty, then Column T = Column S. This is fine because I do V = T, done.
- If Column U = NotEmpty, then Column T = Column S + (Column S - Column U). This is a problem, because what I'd need in Column V in these cases is only the part: Column S - Column U.
I hope that makes sense. Thanks in advance!!