October 4, 2007 at 12:03 pm
Sent you a PM
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgOctober 4, 2007 at 12:04 pm
October 4, 2007 at 12:09 pm
I dont know how to check pm's. I dont know what the hell im missing here, this just isnt working.
Ok, lets say cell a1 has the value 0000000000000011234
I highlighted the cell, copied the code =RIGHT(TEXT(A1, "0000000"), 7)
into the fx box, hit enter, and all that displays in the box now is the code. what does the "0000000" in the code do?
October 4, 2007 at 12:17 pm
October 4, 2007 at 12:18 pm
October 4, 2007 at 12:19 pm
Thanks!! That was it, i didnt know it had to be an empty cell, and i already had the cells padded, that probably why the other one didnt work. Thanks again guys!
October 4, 2007 at 12:21 pm
wow, so all i need the whole time was to copy this code in a empty cell =RIGHT(TEXT(A1, "0000000"), 7) and that would pad it AND pull the first seven charcaters from the right, wow. Im definetly going to be filing that knowledge.
October 4, 2007 at 12:30 pm
Or, you can highlight the cells you want to change, right click and choose format. Select the Custom Category. Then in the Type: field, type in a zero for each digit you want, in this case 0000000. It will automatically left fill with zeros so the value is x number of characters long.
Brian
October 4, 2007 at 12:47 pm
bdohmen (10/4/2007)
Or, you can highlight the cells you want to change, right click and choose format. Select the Custom Category. Then in the Type: field, type in a zero for each digit you want, in this case 0000000. It will automatically left fill with zeros so the value is x number of characters long.Brian
well, that won't actually CHANGE the data in the cells, only the way it's displayed. That would/will be fine if it's just for display purposes.
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgViewing 9 posts - 16 through 23 (of 23 total)
You must be logged in to reply to this topic. Login to reply