S
soph
Hi
I have one sheet with a data export which has names in one column and in the
rows has multiple pieces of information in different columns. The problem
is that the information in the rows for one name is not necessarily in the
same columns as the information in rows for another, despite being the same
information. eg:
Bob Smith address (blank) age DOB job (blank)
(blank)
Sam Jones (blank) address (blank) age DOB (blank)
job
Additionally, some rows are blank also. What I want to do is have this
information copied over to a new sheet with the blanks removed so that I get
the below (consecutive columns):
Bob Smith address age DOB job
Sam Jones address age DOB job
So far I have managed to return all names without blanks to a new sheet
using the formula:
=IF(ROWS(C$2:C2)<=C$1,INDEX('ICC establishment
export.csv'!$C$5:$C$1500,SMALL(IF('ICC establishment
export.csv'!$C$5:$C$1500<>"",ROW('ICC establishment
export.csv'!$C$5:$C$1500)),ROWS(C$2:C2))-ROW('ICC establishment
export.csv'!C$5)+1),"")
Now I just need to return the corresponding row data without the blanks. I
thought it would be a matter of identifying the columns with data in them
from a total range and then returning the data within those columns
referenced but I am struggling to put this in a formula. If anyone could
help it would be greatly appreciated!
Hope this makes sense )
Cheers
Soph
I have one sheet with a data export which has names in one column and in the
rows has multiple pieces of information in different columns. The problem
is that the information in the rows for one name is not necessarily in the
same columns as the information in rows for another, despite being the same
information. eg:
Bob Smith address (blank) age DOB job (blank)
(blank)
Sam Jones (blank) address (blank) age DOB (blank)
job
Additionally, some rows are blank also. What I want to do is have this
information copied over to a new sheet with the blanks removed so that I get
the below (consecutive columns):
Bob Smith address age DOB job
Sam Jones address age DOB job
So far I have managed to return all names without blanks to a new sheet
using the formula:
=IF(ROWS(C$2:C2)<=C$1,INDEX('ICC establishment
export.csv'!$C$5:$C$1500,SMALL(IF('ICC establishment
export.csv'!$C$5:$C$1500<>"",ROW('ICC establishment
export.csv'!$C$5:$C$1500)),ROWS(C$2:C2))-ROW('ICC establishment
export.csv'!C$5)+1),"")
Now I just need to return the corresponding row data without the blanks. I
thought it would be a matter of identifying the columns with data in them
from a total range and then returning the data within those columns
referenced but I am struggling to put this in a formula. If anyone could
help it would be greatly appreciated!
Hope this makes sense )
Cheers
Soph