P
pfflah
Hi,
I have a list of budget categories and accounts and would like to format the
list to use as a drop down when categorizing actual expenses. I have the
list in cols a, b, and c in a worksheet formatted as a budget with cols a, b,
c, and columns for monthly budget amounts and a total column. I want to take
columns a, b, and c from this worksheet and format it to:
1, remove column a ( not needed for the drop down)
2. retain column b category headings
3. remove column b totals (not needed in drop down)
4. remove the blank lines but keep a blank line between expense categories
(in col b)
5. and lastly insert spaces in the account so that it offsets in the drop
down so it is easy to distinguish when categorizing an actual expense
Whew!
For example:
Col a Col b Col c
1
2 Income
3 Oper Inc
4 Acct 1
5 Acct 2
6 Acct 3
7
8 Total Oper Inc
9
10 Other Inc
11 Acct 4
12 Acct 5
13
14 Total Other Inc
15
16 Expense
17
18 Professional Fees
19 Acct 6
20 Acct 7
21 Acct 8
22
23 Total Prof Fees
24
25 Maint Fees
26 Acct 9
27 Acct 10
28 ... and so on
So what I'd like to end up with is:
Col a
1 Oper Inc
2 Acct 1
3 Acct 2
4 Acct 3
5
6 Other Inc
7 Acct 4
8 Acct 5
9
10 Professional Fees
11 Acct 6
12 Acct 7
13 Acct 8
14
15 Maint Fees
16 Acct 9
17 Acct 10
18 and so on...
After the reformatting is complete I plan to name col A and use it in a data
validation list in another worksheet.
I need help with the logic to do the reformatting of the text. If the range
could be named in the same code that would also be good.
I have a list of budget categories and accounts and would like to format the
list to use as a drop down when categorizing actual expenses. I have the
list in cols a, b, and c in a worksheet formatted as a budget with cols a, b,
c, and columns for monthly budget amounts and a total column. I want to take
columns a, b, and c from this worksheet and format it to:
1, remove column a ( not needed for the drop down)
2. retain column b category headings
3. remove column b totals (not needed in drop down)
4. remove the blank lines but keep a blank line between expense categories
(in col b)
5. and lastly insert spaces in the account so that it offsets in the drop
down so it is easy to distinguish when categorizing an actual expense
Whew!
For example:
Col a Col b Col c
1
2 Income
3 Oper Inc
4 Acct 1
5 Acct 2
6 Acct 3
7
8 Total Oper Inc
9
10 Other Inc
11 Acct 4
12 Acct 5
13
14 Total Other Inc
15
16 Expense
17
18 Professional Fees
19 Acct 6
20 Acct 7
21 Acct 8
22
23 Total Prof Fees
24
25 Maint Fees
26 Acct 9
27 Acct 10
28 ... and so on
So what I'd like to end up with is:
Col a
1 Oper Inc
2 Acct 1
3 Acct 2
4 Acct 3
5
6 Other Inc
7 Acct 4
8 Acct 5
9
10 Professional Fees
11 Acct 6
12 Acct 7
13 Acct 8
14
15 Maint Fees
16 Acct 9
17 Acct 10
18 and so on...
After the reformatting is complete I plan to name col A and use it in a data
validation list in another worksheet.
I need help with the logic to do the reformatting of the text. If the range
could be named in the same code that would also be good.