C
C Castle
Hello !
I am totally stumped by this one, probably because I'm not an Excel
expert, but logic has served me well thus far....which is why I'm
puzzled by this now....
I am creating an excel sheet for my sales guys, they send to me and I
convert to txt file to send to the warehouse. Each column must be a
certain length, alignment and either zero filled or space filled. ie:
Column A is 10 characters in length, right aligned and zero filled but
that data is not always that many digits, so it must look like this:
0000004587 or 0005896321 or 0000058971 etc.
I found a formula on this board yesterday, allowed the formulas to
recognize labels, and tried putting the formula at the bottom of the
column of data. It worked!
=IF(LEN(Sheet1!A)<10,CONCATENATE(REPT"0",10-LEN(Sheet1!A)),Sheet1!A),Sheet1!A)
I copied the formula to bottom of each column, changed the label names
and fill requirements for each, tried it out and it was fine last
night.
Shut down the computer and went to bed, this morning, there are nice
formulas at the bottom of the sheet, but they don't work. Tried
re-typing them, don't work....tried opening a brand new workbook
thinking the alignment of the columns might have cause a
problem...still don't work...
Like I said, this one seems totally illogical to me...got
ideas...other than finding a less taxing job.....?!
Thanks....
CC
I am totally stumped by this one, probably because I'm not an Excel
expert, but logic has served me well thus far....which is why I'm
puzzled by this now....
I am creating an excel sheet for my sales guys, they send to me and I
convert to txt file to send to the warehouse. Each column must be a
certain length, alignment and either zero filled or space filled. ie:
Column A is 10 characters in length, right aligned and zero filled but
that data is not always that many digits, so it must look like this:
0000004587 or 0005896321 or 0000058971 etc.
I found a formula on this board yesterday, allowed the formulas to
recognize labels, and tried putting the formula at the bottom of the
column of data. It worked!
=IF(LEN(Sheet1!A)<10,CONCATENATE(REPT"0",10-LEN(Sheet1!A)),Sheet1!A),Sheet1!A)
I copied the formula to bottom of each column, changed the label names
and fill requirements for each, tried it out and it was fine last
night.
Shut down the computer and went to bed, this morning, there are nice
formulas at the bottom of the sheet, but they don't work. Tried
re-typing them, don't work....tried opening a brand new workbook
thinking the alignment of the columns might have cause a
problem...still don't work...
Like I said, this one seems totally illogical to me...got
ideas...other than finding a less taxing job.....?!
Thanks....
CC