Exctracting information from Excel DataTable

Hello friends,
I should extract some information from the Excel File that I’m attaching here.
EC_1021756_formato_Excel.xls (107.5 KB)

I need to extract from the Excel sheet “pag 2” the data inserted in the column highlighted.
image; in particular I should extract all the data in the rows “Nro contratot”, “Assicurato”, “Compagnia” and “Premio”.
Can you please help me in extracting these values and exposing them in Message Boxes?
Thank you so much,
Camilla :slight_smile:

Can anyone please try to help me in resolving this issue?
Thank you so much for your kind help,
Camilla :smile:

Hi @CamiCat,
Have tried to read the data into datatable by using the Read Range activity by specifying the range “E12:AH16”.

Regards
Balamurugan

1 Like

Yes that’s the simplest way which I have tried.
Is there a way to extract these data when they will be placed in a different position?
Also the number of rows will not be fixed.
Thank you so much @balupad14.
Camilla :slight_smile:

Hi @CamiCat,
Here i have attached the soure .

File : Main.zip (1.8 KB)

Regards
Balamurugan

1 Like

Thank you so much @balupad14.
The one thing that I should obtain is to extract the data only from particular columns, which are located not always in the same place in the Excel File.
Thank you.
Camilla

1 Like

When i read the total rows with out Read Range . It reads 24 rows count.

For example the Nro contratot is now in E12.
You are saying that it will be in Same Row position and different column.Right

It will increase above the SINISTRI

Regards
Balamurugan

1 Like

Hi @CamiCat,
Let me assume that first we have to search the column name and then have to read the data. Right ?

Regards
Balamurugan

1 Like

Yes @balupad14.
That’s correct. It’s what I was trying to say before :slight_smile:
Thank you so much,
Camilla.

Hi @CamiCat,
Give me some more minutes. I will send the file.

Regards
Balamurugan

1 Like

Hi @CamiCat,
Initially you have 2 blank column. Can i remove it. and do the process.

Regards
Balamurugan.

1 Like

Yes, @balupad14, sure :slight_smile:
Thank you so much.
Camilla :slight_smile:

1 Like

Hi @CamiCat,

Here I have attached the source. It searches the column Range for “Nro contratot”

Where ever you change position of the column name . it will find the starting Row column and ending row .

File : Camicate.zip (60.3 KB)

Regards
Balamurugan

1 Like

Thank you so much @balupad14.
Tomorrow I’ll try it and let you know.
Thank you.
Camilla :blush::blush:

1 Like

Hi @CamiCat,
Ok. WelCome. I have done it for only “Nro contratot”. further you can able to add more columns.

Regards
Balamurugan

1 Like

Hello @balupad14.
Can you please tell me which activity should be inserted where I get the error?


Thank you so much,
Camilla. :slight_smile:

Hi @CamiCat,
It is “Invoke workflow file” Activity.

Regards
Balamruugan

1 Like

Hi @CamiCat,
If you open the xml file in notepad , you can able to see the arguments like below.

image

Regards
Balamurugan

1 Like

Thank you so much @balupad14.
The problem is that I don’t find the variable which must be associated to in_Search_Text


Can you please help me?
Camilla.

Hi @CamiCat
It is like below.

Regards
Balamurugan

1 Like