malvdh
New Member
- Joined
- Jul 26, 2011
- Messages
- 11
Hello all, (Excel 2007 user)
I have a spread sheet that has data dumped into one column. I need to assign each row of each page the corresponding Fund and Account number.
There are keywords that can be used to search and capture.
Each page has a keyword, lets say TopOfPage.
The Fund number is in a fixed location under the TopOfPage, lets say two rows down
The Account number is also fixed under the Fund number, three rows down from TopOfPage
The Fund number should be in column A.
The Account number should be in column B.
Leaving the data in column C.
Is there a formula that will take the Fund number (first five digits of that row) and copy it in column A.
The Account number is anywhere from the first four digits to six digits, and would need to be copied into column B.
Is there a formula that I can paste into column A and B that will accomplish this? I am looking for one formula that can be changed to fit both the Fund number and the Account number. The x-factors that would need to be changed are; which column to look up for the 'TopOfPage', and the number of rows down from the 'TopOfPage'. This is ofcourse only possible if the formula can pull the first digits from the string. There are spaces after the Fund and Account numbers.
Please note that once the formulas have been established they will not need to change, I just need five of this same formula changed to suit the data.
Any help or nudging in the right direction would be great.
-marc
I have a spread sheet that has data dumped into one column. I need to assign each row of each page the corresponding Fund and Account number.
There are keywords that can be used to search and capture.
Each page has a keyword, lets say TopOfPage.
The Fund number is in a fixed location under the TopOfPage, lets say two rows down
The Account number is also fixed under the Fund number, three rows down from TopOfPage
The Fund number should be in column A.
The Account number should be in column B.
Leaving the data in column C.
Is there a formula that will take the Fund number (first five digits of that row) and copy it in column A.
The Account number is anywhere from the first four digits to six digits, and would need to be copied into column B.
Is there a formula that I can paste into column A and B that will accomplish this? I am looking for one formula that can be changed to fit both the Fund number and the Account number. The x-factors that would need to be changed are; which column to look up for the 'TopOfPage', and the number of rows down from the 'TopOfPage'. This is ofcourse only possible if the formula can pull the first digits from the string. There are spaces after the Fund and Account numbers.
Please note that once the formulas have been established they will not need to change, I just need five of this same formula changed to suit the data.
Any help or nudging in the right direction would be great.
-marc