Desu Nota from Columbus
Well-known Member
- Joined
- Mar 17, 2011
- Messages
- 556
I have files that were generated by three different people (Fred, Josh, Tiffany) with his/her name saved within the file name (see examples below).
I need a formula that pulls out the person's name and adds it to all rows that has data in it. Let us assume that we are adding this into A3 and continuing down the column until there are no more records.
The file names are the following:
Fred 1 EP Line 1
Fred 1 EP Line 10
Fred 2 EP Line 1
Fred 2 EP Line 10
Tiffany 1 EP Line 1
Tiffany 1 EP Line 10
Tiffany 2 EP Line 1
Tiffany 2 EP Line 10
Josh 1 EP Line 1
Josh 1 EP Line 10
Josh 2 EP Line 1
Josh 2 EP Line 10
There is data in columns B-AB, and I need the person's name added to Column A for each row with data.
Ex. For file Josh 1 EP Line 1 in column A, row 3 (or A3) it should say Josh. Then I want to copy this formula all the way down column A filling in Josh from the filename for all records.
Hopefully Ive explained what I am looking to do with enough detail. I haven't been able to figure out how to deal with the varying length of the file names.
The files are stored in the same folder, so they have a similar path until the actual names.
<table border="0" cellpadding="0" cellspacing="0" width="533"><colgroup><col width="533"></colgroup><tbody><tr height="17"> <td class="xl22" style="height:12.75pt;width:400pt" height="17" width="533">\\Epfiles\qa minolta\Minolta\Gauge R & R Study\Fred's Iteration Info\Fred 1 EP Line 1.txt</td> </tr></tbody></table>
I need a formula that pulls out the person's name and adds it to all rows that has data in it. Let us assume that we are adding this into A3 and continuing down the column until there are no more records.
The file names are the following:
Fred 1 EP Line 1
Fred 1 EP Line 10
Fred 2 EP Line 1
Fred 2 EP Line 10
Tiffany 1 EP Line 1
Tiffany 1 EP Line 10
Tiffany 2 EP Line 1
Tiffany 2 EP Line 10
Josh 1 EP Line 1
Josh 1 EP Line 10
Josh 2 EP Line 1
Josh 2 EP Line 10
There is data in columns B-AB, and I need the person's name added to Column A for each row with data.
Ex. For file Josh 1 EP Line 1 in column A, row 3 (or A3) it should say Josh. Then I want to copy this formula all the way down column A filling in Josh from the filename for all records.
Hopefully Ive explained what I am looking to do with enough detail. I haven't been able to figure out how to deal with the varying length of the file names.
The files are stored in the same folder, so they have a similar path until the actual names.
<table border="0" cellpadding="0" cellspacing="0" width="533"><colgroup><col width="533"></colgroup><tbody><tr height="17"> <td class="xl22" style="height:12.75pt;width:400pt" height="17" width="533">\\Epfiles\qa minolta\Minolta\Gauge R & R Study\Fred's Iteration Info\Fred 1 EP Line 1.txt</td> </tr></tbody></table>