close

Hi All,

I have text similar to the following..
----------------------------------------------
field b831 B831 write AASLQ0300000l;

PCPACIMTAAABl [B29 ]

field B7 b7 ;
field a8 @latestdate(quot;PCP2EHSEAAAAhquot;, jEnd);
field b8 @if(a8 lt;jStart, @latest(quot;PCP2EHSEAAAAhquot;, jEnd),
@avg(quot;PCP2EHSEAAAAhquot;, jStart, jEnd));
--------------------------------------------------------
All this code is in column A and I want excel to search through the text and
copy codes (e.g. PCPACIMTAAABl, PCP2EHSEAAAAh) wherever there may be in the
string, into the corresponding row in column B.

These codes all share the following characteristics,

1) they are all 13 characters in length
2) the last character in the code is always either a quot;lquot;, quot;hquot; or a quot;cquot;.

Is this possible to do using functions such as index, search or find?

Any help at all will be much appreciated. If you need more explanation,
please ask and I will be happily explain things further.

Many Thanks

Pinda.Hi Pinda,

What are the possible delimiters?

Is quot;eld a8 @lquot; a code? It is 13 characters and ends with quot;lquot;

Or are there other restrictions?

--
Kind regards,

Niek Otten

quot;Bhupinder Rayatquot; gt; wrote in message
...
| Hi All,
|
| I have text similar to the following..
| ----------------------------------------------
| field b831 B831 write AASLQ0300000l;
|
| PCPACIMTAAABl [B29 ]
|
| field B7 b7 ;
| field a8 @latestdate(quot;PCP2EHSEAAAAhquot;, jEnd);
| field b8 @if(a8 lt;jStart, @latest(quot;PCP2EHSEAAAAhquot;, jEnd),
| @avg(quot;PCP2EHSEAAAAhquot;, jStart, jEnd));
| --------------------------------------------------------
| All this code is in column A and I want excel to search through the text and
| copy codes (e.g. PCPACIMTAAABl, PCP2EHSEAAAAh) wherever there may be in the
| string, into the corresponding row in column B.
|
| These codes all share the following characteristics,
|
| 1) they are all 13 characters in length
| 2) the last character in the code is always either a quot;lquot;, quot;hquot; or a quot;cquot;.
|
| Is this possible to do using functions such as index, search or find?
|
| Any help at all will be much appreciated. If you need more explanation,
| please ask and I will be happily explain things further.
|
| Many Thanks
|
| Pinda.
|
Hi Niek

Good spot.

I suppose another charactistic is that it is a continuous string with no
spaces, and the first 12 characters are always in CAPS followed by a lower
case quot;lquot;, quot;hquot; or quot;cquot;.

Hope this helps,

Thanks,

Bhupinder
quot;Niek Ottenquot; wrote:

gt; Hi Pinda,
gt;
gt; What are the possible delimiters?
gt;
gt; Is quot;eld a8 @lquot; a code? It is 13 characters and ends with quot;lquot;
gt;
gt; Or are there other restrictions?
gt;
gt; --
gt; Kind regards,
gt;
gt; Niek Otten
gt;
gt; quot;Bhupinder Rayatquot; gt; wrote in message
gt; ...
gt; | Hi All,
gt; |
gt; | I have text similar to the following..
gt; | ----------------------------------------------
gt; | field b831 B831 write AASLQ0300000l;
gt; |
gt; | PCPACIMTAAABl [B29 ]
gt; |
gt; | field B7 b7 ;
gt; | field a8 @latestdate(quot;PCP2EHSEAAAAhquot;, jEnd);
gt; | field b8 @if(a8 lt;jStart, @latest(quot;PCP2EHSEAAAAhquot;, jEnd),
gt; | @avg(quot;PCP2EHSEAAAAhquot;, jStart, jEnd));
gt; | --------------------------------------------------------
gt; | All this code is in column A and I want excel to search through the text and
gt; | copy codes (e.g. PCPACIMTAAABl, PCP2EHSEAAAAh) wherever there may be in the
gt; | string, into the corresponding row in column B.
gt; |
gt; | These codes all share the following characteristics,
gt; |
gt; | 1) they are all 13 characters in length
gt; | 2) the last character in the code is always either a quot;lquot;, quot;hquot; or a quot;cquot;.
gt; |
gt; | Is this possible to do using functions such as index, search or find?
gt; |
gt; | Any help at all will be much appreciated. If you need more explanation,
gt; | please ask and I will be happily explain things further.
gt; |
gt; | Many Thanks
gt; |
gt; | Pinda.
gt; |
gt;
gt;
gt;

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()