A
Allyn Okun
Hello,
I am trying to pull data out of a large Excel spreadsheet to get a
slimmed down version..
I have a large spreadsheet (100+ columns by 500+ rows, and 12
worksheets) that I'm trying to make sense of in order to import into
another program.
Each Column has a four-digit code for a "name", each row has a five-
digit code for its "name." The majority of cells have a value of '0'.
I am trying to get excel to look at the range, and if there is a value
that is not zero in a cell, give me the column name in one column, the
row name in the next column then the values of that cell in all 12
worksheets (months) in the next 12 columns.
I keep coming closer and closer, but have not reached the grail yet.
Once columns A and B (the four and five digit codes) are populated, I
have been able to get the program to look for values in all months in
that cell using Hlookup and Vlookup. At one point, I was able to get
the row name, if I knew the column and vice-versa, but I haven't been
able to get the whole thing.
EX.
4000 4010 4011 4012 4020 4040
00000 0 0 0 0 0 0
00010 0 0 0 0 3750 0
00020 0 0 0 0 0 0
00025 0 0 0 0 0 0
00030 0 0 0 0 0 0
00035 0 0 0 0 0 0
the formula would search through the above, find that there is a non-
zero value, and tell me that the column name is '4020' in one column,
the row name is '00010' in the next column, then the value (3750) in
column 3.
Each set of data has multiple cells with non-zero data, and I need
excel to search all of it to return all of the combinations (they are
account numbers), then search the next worksheet for values (there may
be a number in The April worksheet that wasn't used in the first three
months.
I hope this makes something resembling sense.
I appreciate any and all help.
Thank you,
SmokinZBT
I am trying to pull data out of a large Excel spreadsheet to get a
slimmed down version..
I have a large spreadsheet (100+ columns by 500+ rows, and 12
worksheets) that I'm trying to make sense of in order to import into
another program.
Each Column has a four-digit code for a "name", each row has a five-
digit code for its "name." The majority of cells have a value of '0'.
I am trying to get excel to look at the range, and if there is a value
that is not zero in a cell, give me the column name in one column, the
row name in the next column then the values of that cell in all 12
worksheets (months) in the next 12 columns.
I keep coming closer and closer, but have not reached the grail yet.
Once columns A and B (the four and five digit codes) are populated, I
have been able to get the program to look for values in all months in
that cell using Hlookup and Vlookup. At one point, I was able to get
the row name, if I knew the column and vice-versa, but I haven't been
able to get the whole thing.
EX.
4000 4010 4011 4012 4020 4040
00000 0 0 0 0 0 0
00010 0 0 0 0 3750 0
00020 0 0 0 0 0 0
00025 0 0 0 0 0 0
00030 0 0 0 0 0 0
00035 0 0 0 0 0 0
the formula would search through the above, find that there is a non-
zero value, and tell me that the column name is '4020' in one column,
the row name is '00010' in the next column, then the value (3750) in
column 3.
Each set of data has multiple cells with non-zero data, and I need
excel to search all of it to return all of the combinations (they are
account numbers), then search the next worksheet for values (there may
be a number in The April worksheet that wasn't used in the first three
months.
I hope this makes something resembling sense.
I appreciate any and all help.
Thank you,
SmokinZBT