I would like to extract the account numbers in Col A based on the follwing categories
Internal Internal
Output Sales
Expense Input
NA NA
The account category heading must appear first for eg Output Sales following by the account numbers pertaining to the category , then the next category folowing be the account numbers atc
See sample data below
Internal Internal
Output Sales
Expense Input
NA NA
The account category heading must appear first for eg Output Sales following by the account numbers pertaining to the category , then the next category folowing be the account numbers atc
See sample data below
Excel 2012 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | |||
1 | 12300 | 58390.95 | NA | NA | ||||||||||
2 | 12301 | 765.228 | NA | NA | ||||||||||
3 | 12302 | -1030.33 | NA | NA | ||||||||||
4 | 12304 | -563.333 | Expense | Input | ||||||||||
5 | 12480 | 2558.611 | Expense | Input | ||||||||||
6 | 12485 | -4682.11 | Expense | Input | ||||||||||
7 | 12510 | -69489.6 | NA | NA | ||||||||||
8 | 12515 | -2450.21 | Output | Sales | ||||||||||
9 | 12518 | -90.0667 | NA | NA | ||||||||||
10 | 12520 | -289.067 | NA | NA | ||||||||||
11 | 12610 | 469.1627 | NA | NA | ||||||||||
12 | 12700 | 5938.991 | Internal | Internal | ||||||||||
13 | 12710 | 293.3947 | Internal | Internal | ||||||||||
14 | 12715 | 727.9267 | NA | NA | ||||||||||
15 | 13050 | 57996.53 | NA | NA | ||||||||||
16 | 13055 | 360.4333 | Expense | Input | ||||||||||
17 | 13300 | -31472.9 | NA | NA | ||||||||||
18 | 13305 | 1186.267 | NA | NA | ||||||||||
19 | 13350 | 18733.14 | Internal | Internal | ||||||||||
20 | 13359 | -237.174 | Output | Sales | ||||||||||
21 | 13400 | 7447.298 | NA | NA | ||||||||||
22 | 13405 | 582.57 | NA | NA | ||||||||||
23 | 13410 | -271.465 | Output | Sales | ||||||||||
24 | ||||||||||||||
25 | ||||||||||||||
26 | ||||||||||||||
27 | ||||||||||||||
28 | Internal | Internal | 24965.53 | |||||||||||
29 | Output | Sales | -2958.85 | |||||||||||
30 | Expense | Input | -2326.4 | |||||||||||
31 | NA | NA | 25193.9 | |||||||||||
32 | ||||||||||||||
33 | 44874.17 | |||||||||||||
Sheet1 |