Not 100% sure I know what the end result needs to be, but here's a possibility:
Given a table like this:
| A | B | C | D | E |
---|
Australia | Belgium | Finland | France | | |
Australia | | | | | |
Belgium | | | | | |
Finland | | | | | |
France | | | | | |
<tbody>
[TD="align: center"]50[/TD]
[TD="align: right"][/TD]
[TD="align: center"]51[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]52[/TD]
[TD="align: right"]0.97[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]53[/TD]
[TD="align: right"]0.97[/TD]
[TD="align: right"]0.98[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: center"]54[/TD]
[TD="align: right"]0.93[/TD]
[TD="align: right"]0.95[/TD]
[TD="align: right"]0.97[/TD]
[TD="align: right"]1[/TD]
</tbody>
Summary
Here's a table that completes the blank spaces along with formulas.
I created the formula in one cell and just pasted it down and across:
| A | B | C | D | E |
---|
Australia | Belgium | Finland | France | | |
Australia | | | | | |
Belgium | | | | | |
Finland | | | | | |
France | | | | | |
<tbody>
[TD="align: center"]57[/TD]
[TD="align: right"][/TD]
[TD="align: center"]58[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0.97[/TD]
[TD="align: right"]0.97[/TD]
[TD="align: right"]0.93[/TD]
[TD="align: center"]59[/TD]
[TD="align: right"]0.97[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0.98[/TD]
[TD="align: right"]0.95[/TD]
[TD="align: center"]60[/TD]
[TD="align: right"]0.97[/TD]
[TD="align: right"]0.98[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0.97[/TD]
[TD="align: center"]61[/TD]
[TD="align: right"]0.93[/TD]
[TD="align: right"]0.95[/TD]
[TD="align: right"]0.97[/TD]
[TD="align: right"]1[/TD]
</tbody>
Summary
[TABLE="width: 85%"]
<tbody>[TR]
[TD]
Worksheet Formulas[TABLE="width: 100%"]
<tbody>[TR]
[TH]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
[TR]
[TH]B58[/TH]
[TD="align: left"]=IF(
NOT(ISBLANK(B51)),B51,OFFSET($B$51,COLUMNS($B$51:B51)-1,ROWS($B$51:B51)-1))[/TD]
[/TR]
[TR]
[TH]C58[/TH]
[TD="align: left"]=IF(
NOT(ISBLANK(C51)),C51,OFFSET($B$51,COLUMNS($B$51:C51)-1,ROWS($B$51:C51)-1))[/TD]
[/TR]
[TR]
[TH]D58[/TH]
[TD="align: left"]=IF(
NOT(ISBLANK(D51)),D51,OFFSET($B$51,COLUMNS($B$51:D51)-1,ROWS($B$51:D51)-1))[/TD]
[/TR]
[TR]
[TH]E58[/TH]
[TD="align: left"]=IF(
NOT(ISBLANK(E51)),E51,OFFSET($B$51,COLUMNS($B$51:E51)-1,ROWS($B$51:E51)-1))[/TD]
[/TR]
[TR]
[TH]B59[/TH]
[TD="align: left"]=IF(
NOT(ISBLANK(B52)),B52,OFFSET($B$51,COLUMNS($B$51:B52)-1,ROWS($B$51:B52)-1))[/TD]
[/TR]
[TR]
[TH]C59[/TH]
[TD="align: left"]=IF(
NOT(ISBLANK(C52)),C52,OFFSET($B$51,COLUMNS($B$51:C52)-1,ROWS($B$51:C52)-1))[/TD]
[/TR]
[TR]
[TH]D59[/TH]
[TD="align: left"]=IF(
NOT(ISBLANK(D52)),D52,OFFSET($B$51,COLUMNS($B$51:D52)-1,ROWS($B$51:D52)-1))[/TD]
[/TR]
[TR]
[TH]E59[/TH]
[TD="align: left"]=IF(
NOT(ISBLANK(E52)),E52,OFFSET($B$51,COLUMNS($B$51:E52)-1,ROWS($B$51:E52)-1))[/TD]
[/TR]
[TR]
[TH]B60[/TH]
[TD="align: left"]=IF(
NOT(ISBLANK(B53)),B53,OFFSET($B$51,COLUMNS($B$51:B53)-1,ROWS($B$51:B53)-1))[/TD]
[/TR]
[TR]
[TH]C60[/TH]
[TD="align: left"]=IF(
NOT(ISBLANK(C53)),C53,OFFSET($B$51,COLUMNS($B$51:C53)-1,ROWS($B$51:C53)-1))[/TD]
[/TR]
[TR]
[TH]D60[/TH]
[TD="align: left"]=IF(
NOT(ISBLANK(D53)),D53,OFFSET($B$51,COLUMNS($B$51:D53)-1,ROWS($B$51:D53)-1))[/TD]
[/TR]
[TR]
[TH]E60[/TH]
[TD="align: left"]=IF(
NOT(ISBLANK(E53)),E53,OFFSET($B$51,COLUMNS($B$51:E53)-1,ROWS($B$51:E53)-1))[/TD]
[/TR]
[TR]
[TH]B61[/TH]
[TD="align: left"]=IF(
NOT(ISBLANK(B54)),B54,OFFSET($B$51,COLUMNS($B$51:B54)-1,ROWS($B$51:B54)-1))[/TD]
[/TR]
[TR]
[TH]C61[/TH]
[TD="align: left"]=IF(
NOT(ISBLANK(C54)),C54,OFFSET($B$51,COLUMNS($B$51:C54)-1,ROWS($B$51:C54)-1))[/TD]
[/TR]
[TR]
[TH]D61[/TH]
[TD="align: left"]=IF(
NOT(ISBLANK(D54)),D54,OFFSET($B$51,COLUMNS($B$51:D54)-1,ROWS($B$51:D54)-1))[/TD]
[/TR]
[TR]
[TH]E61[/TH]
[TD="align: left"]=IF(
NOT(ISBLANK(E54)),E54,OFFSET($B$51,COLUMNS($B$51:E54)-1,ROWS($B$51:E54)-1))[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
The formula pattern is:
If a cell has data in it, carry it forward
If not, reverse the columns and rows to get the new answer
What do you think?
BrianGGG