[FONT="]Hi, I have a table created from some CSV data that looks like this[/FONT]
<thead style="margin-left: 0px; margin-right: 0px; margin-top: 0px;">
[TH="align: left"]Foo[/TH]
[TH="align: left"]Bar[/TH]
[TH="align: left"]text[/TH]
</thead><tbody style="margin-left: 0px; margin-right: 0px; margin-bottom: 0px;">
</tbody>[FONT="]I would like to it to look like this[/FONT]
<thead style="margin-left: 0px; margin-right: 0px; margin-top: 0px;">
[TH="align: left"]Foo[/TH]
[TH="align: left"]Bar[/TH]
[TH="align: left"]text[/TH]
</thead><tbody style="margin-left: 0px; margin-right: 0px; margin-bottom: 0px;">
</tbody>[FONT="]This seems to be 3 operations that need to occur[/FONT]
[FONT="]1, find all cells in Foo (A) that are empty and COPY the value from the cell above[/FONT]
[FONT="]2, find all cells in text (C) that a empty and MOVE the value from the cell to its left[/FONT]
[FONT="]3, find all cells in Bar (B) that are empty and COPY the value from the cell above[/FONT]
[FONT="]Could someone give me some advice regarding this?[/FONT]
[FONT="]Thank you.[/FONT]
ham | ben | dave |
egg | mark | |
james | sam | |
cheese | frank | rob |
<thead style="margin-left: 0px; margin-right: 0px; margin-top: 0px;">
[TH="align: left"]Foo[/TH]
[TH="align: left"]Bar[/TH]
[TH="align: left"]text[/TH]
</thead><tbody style="margin-left: 0px; margin-right: 0px; margin-bottom: 0px;">
</tbody>
ham | ben | dave |
egg | ben | mark |
egg | james | sam |
cheese | frank | rob |
<thead style="margin-left: 0px; margin-right: 0px; margin-top: 0px;">
[TH="align: left"]Foo[/TH]
[TH="align: left"]Bar[/TH]
[TH="align: left"]text[/TH]
</thead><tbody style="margin-left: 0px; margin-right: 0px; margin-bottom: 0px;">
</tbody>
[FONT="]1, find all cells in Foo (A) that are empty and COPY the value from the cell above[/FONT]
[FONT="]2, find all cells in text (C) that a empty and MOVE the value from the cell to its left[/FONT]
[FONT="]3, find all cells in Bar (B) that are empty and COPY the value from the cell above[/FONT]
[FONT="]Could someone give me some advice regarding this?[/FONT]
[FONT="]Thank you.[/FONT]