I have a spreadsheet with multiple columns. In each column I have entered data. I need to take that data in each column, and in a different workbook, somehow get that data in an exact format/layout. For example, in column A, it is a date. The date is entered as "0113". On the other workbook, I need that date to show up as 7 characters long, with the 0113 at the end, like 0000113. On the next row down, i have another date "0413". On the other workbook, I need it below 0000113 as 0000413. I have another date below 0413 and need that below 0000413, and so on. Then column B i need the same thing, but it needs to be 10 characters long on the new workbook but I only enter 3 characters in the data. Also, i have a column that is a $. When i enter the data, i put $10 in as 10.00. On the other workbook, i need that to be 15 characters long with 10.00 at the end, however, the decimal can't be there. So it would need to look like 000000000001000. I have lots of columns that need this done. What is the best way to do this? I would appreciate any suggestions. Do i use a macro? Do i just use formulas? I attached an example. Check out Sheet1 and Sheet2. Sheet1 is where i put the data in. Sheet2 is the one i need the data converted to different # of character fields with "0" placed where I didn't put data. Example.xlsx
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
-Mike Kapnisakis, Warner Bros
With your subscription - you'll gain access to our exclusive IT community of thousands of IT pros. You'll also be able to connect with highly specified Experts to get personalized solutions to your troubleshooting & research questions. It’s like crowd-sourced consulting.
We can't always guarantee that the perfect solution to your specific problem will be waiting for you. If you ask your own question - our Certified Experts will team up with you to help you get the answers you need.
Our certified Experts are CTOs, CISOs, and Technical Architects who answer questions, write articles, and produce videos on Experts Exchange. 99% of them have full time tech jobs - they volunteer their time to help other people in the technology industry learn and succeed.
We can't guarantee quick solutions - Experts Exchange isn't a help desk. We're a community of IT professionals committed to sharing knowledge. Our experts volunteer their time to help other people in the technology industry learn and succeed.
Our community of experts have been thoroughly vetted for their expertise and industry experience.