Help save me from excel hell!
September 2, 2009 4:52 PM
Subscribe
Another crazy excel question- I can't promise this won't be my last one.
I am finally to the point where I am recording macros and have found that the shorter the macro, the better.
The issue I am having is 1 of 2 things. Either there are a bunch of zeroes being added at the bottom of the chunk of data I am working with, or my formula isn't transferring through a full column.
Here is my workflow:
I have 2 worksheets that I am combing together into 1 before the start of my macro. There are roughly 30 to 35 columns in the combined worksheet, we'll call it "working." There are thousands of rows of data for every workbook I work with, all with a different number of rows, but always the same columns and number of columns (this may be where the issue is).
My first step is to copy one column to the front of the workbook by using shift+ctrl+down and then "insert copied cells" into column A, shift to the right.
My next step is to insert a new, blank column next to column A and add the formula =text(a2,"0000000") and fill handle down so the formula only goes down to the bottom of the data set.
I then cut and paste special "values" into column A so that the numbers in column A are all 7 digits instead of 2 to 7 digits long.
Obviously, this works on the worksheet I have recorded it on, but used in any other workbook returns either 1 of 2 responses, either there are a bunch of 0's below the data set in column A or the cut and paste special- values doesn't make it over to column A.
I know this is pretty long and may be a little convoluted, but if you have any suggestions on either how to fix this, or someone who can do this professionally (yes, I'm just about willing to pay someone to help me with this as it is driving me nuts right now), I would be greatly appreciative!
posted by TheBones to computers & internet (8 comments total)
Alternatively, if you are sick of dealing with it, PM me and we can work something out. I occasionally do some Excel freelancing on the side.
posted by suburbanrobot at 5:39 PM on September 2