View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
JLatham JLatham is offline
external usenet poster
 
Posts: 2,203
Default extracting data and text.

You could do this with formulas:
In E2
=IF(ISERR(FIND("pipe",A2)),IF(ISERR(FIND("ell",A2) ),"","ELL"),"PIPE")
in F2
=IF(E2="","",C2)
in G2
=IF(E2="","",D2)
and fill down the sheet. Then filter by non-blank in column E to see only
those items found.

"Aligahk06" wrote:

Dear All,

Greetings of the day!!!!!
I have an excel file with bulk of contents in following format.
Col A contains description, Colc Contains (Size inches to the corresponding
description)
Col D contains the Qty. to the corresponding Description.

I want to fetch form ColA i.e( Only Pipe and ELL as a text from entire
string.)
i.e if pipe is available in string then fetch it or if ELL is available in
same string then fetch it.
But in each string only either pipe will bet there or ELL will be there or
nothing.
Possibilty of finding the string is One( i.e either pipe or ELL not both in
same string.)

From column C the corersponding inches i want to fetch.
From column D the corersponding Qty. i want to fetch.

From All three columns appear contents respectively in ColE, COlF and Col G.

Basically this is for compilation of requisite data only.
Note:- The excel file is converted from Pdf file.

Please assist with any formula or macro or the logic you can share.