Hi all,
Small 2 part problem
Need to "extract" values which add up to 6 from column B to column C, starting from bottom, which would look like:
[TABLE="class: grid, width: 50"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Jan[/TD]
[TD]4[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Feb[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Mar[/TD]
[TD]3[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Apr[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
Note: value in column A might be higher than 6, not less than 0
After that, in cell A6, list values from column A, starting from bottom, as many times the value is in column C
[TABLE="class: grid, width: 50"]
<tbody>[TR]
[TD="align: center"]Mar[/TD]
[/TR]
[TR]
[TD="align: center"]Mar[/TD]
[/TR]
[TR]
[TD="align: center"]Mar[/TD]
[/TR]
[TR]
[TD="align: center"]Feb[/TD]
[/TR]
[TR]
[TD="align: center"]Jan[/TD]
[/TR]
[TR]
[TD="align: center"]Jan[/TD]
[/TR]
</tbody>[/TABLE]
Column C is not really needed, can only serve as a help for the final list.
Hope it's simple enough and understood.
Thank you
Small 2 part problem
Need to "extract" values which add up to 6 from column B to column C, starting from bottom, which would look like:
[TABLE="class: grid, width: 50"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Jan[/TD]
[TD]4[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Feb[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Mar[/TD]
[TD]3[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Apr[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
Note: value in column A might be higher than 6, not less than 0
After that, in cell A6, list values from column A, starting from bottom, as many times the value is in column C
[TABLE="class: grid, width: 50"]
<tbody>[TR]
[TD="align: center"]Mar[/TD]
[/TR]
[TR]
[TD="align: center"]Mar[/TD]
[/TR]
[TR]
[TD="align: center"]Mar[/TD]
[/TR]
[TR]
[TD="align: center"]Feb[/TD]
[/TR]
[TR]
[TD="align: center"]Jan[/TD]
[/TR]
[TR]
[TD="align: center"]Jan[/TD]
[/TR]
</tbody>[/TABLE]
Column C is not really needed, can only serve as a help for the final list.
Hope it's simple enough and understood.
Thank you
Last edited: