Originally Posted by
hashcel
I'm confused.
My understanding is that you want me to move all my subsections (Site Preparation... Miscellaneous Fees) to column B. When you say "add the values A0,AA,AB,AC,AD,AE,AF,AG,AH,AZ1,AZ2", what do you mean exactly? Sum them?
I don't know what block references are, or how to append values.
I only now the very basics of excel, and I need a little more help.
Thanks!
Hi,
It's sometimes difficult to know in advance the experience that people have. Apologies if I've confused you.
No, I didn't suggest that you should move all your subsections, which is why I said you should use a 'helper' column. A helper column is an additional column to what you have, but which is filled with appropriate values to help your task. It's a bit like a chemical catalyst, something that speeds up, or in this case helps achieve a task, without affecting the underlying data.
Your problem, if I've understood it correctly, is that you can't sort on column A because your Names, A,B,C, when sorted disappear from the natural order. Presumably you're trying to get the 'B' names sorted back into position since this section comes below the 'D' Names.
That being the case, then we need to create a column which contains values that when sorted 'line up' as you would expect. The technique therefore is to create a unique code for every single row of your data. Once you have a unique code, which has some logic to it, then you can safely add or change data names and get them resorted back in line.
So add a new helper column A, so that your current column A now becomes Column B.
Now against every row in column A you need to add a code, and I gave you a suggestion.
For instance in A2 enter A0 (zero), in A3 enter AA, in A4 enter AB....etc. Can you see what we're doing? We're creating a new code which has a natural order when it is sorted. A zero sorts before a letter, and of course letters sort as you'd expect. Your data has two blank rows between each section, but since you'll require these once you've resorted, these too need to be given a code, which is why I suggested AZ1 for row A11, and AZ2 for A12. A Z1 will obviously always sort after the H, which is your last Prelims. item
Now do the same for the next 'C' block, but now use C0 (zero) for A13, CA for A14, CB for row 14 etc..
You could speed up this process by using the formula:
in cell A3 and copying it down, apart from the blank cells in column B where you'll need to manually add the AZ1, AZ2 etc.
You'll also need to alter the $B$2 to $B$13 for the next C block etc., but ignore all this last bit if it's confusing and you prefer to add all the codes manually.
Now once you've populated the new column A, you can do a normal sort on the whole of your data, including column A of course, and your sections will be back in order.
Hope I've understood your requirement. Post back if not.
Are you a QS by any chance? I spent my working career in construction and your data looks extremely familiar.
Rgds
Bookmarks