I have a huge dataset which needs reformatting.
Currently it is like this;
But i need it to be like this;
I have got as far as this formula, which would be inserted into column 'Area A' of the second picture
=IF(AND(Table1[Cell ID]=Table2[Cell_ID],Table1[EUNIS_desc]=Table2[[#Headers],[Acid alpine, subalpine and extensive grassland]]),Table1[AREA],0)
However whilst this populates the first row correctly. All other blocks below in the same column just respond false giving "0" even when they should also have a true value.
Another problem is that the formula for some reason extends the table massively (down) with empty false values.
Kind Regards,
Harrison


=INDEX(Table1[AREA],MATCH(1,IF((Table1[CELL ID]=j2,0)*(Table1[EUNIS_desc]="COVER A"),1,0),0))). Being an array it needs to be confirmed with Ctrl-Shift-Enter instead of enter when exiting edit mode. - Scott Craner