Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Read multiple Range data from excel in talend

Hi
Can we extract specific range of cells from excel in talend like from below excel sheet i have two data's in single sheet which needs to be extracted and inserted into two different tables.
0683p000009MER9.jpg 0683p000009ME7F.jpg 0683p000009MEWr.jpg 0683p000009MEXt.jpg
Labels (2)
9 Replies
Anonymous
Not applicable
Author

You can try tFileExcelSheetInput component, this is a cutomer component on talend exchange:
http://www.talendforge.org/exchange/index.php?eid=663&product=tos&action=view&nav=1,1,1
Anonymous
Not applicable
Author

I have downloaded the component from exchange and have imported the component as per below link
https://community.talend.com/t5/Design-and-Development/how-to-add-a-component-to-Talend/td-p/76494
but it is not showing in my pallette. i have closed and opened talend again but same thing.
can you suggest me on the same. i am using Talend Open Studio 5.1.1 r84309 version
Anonymous
Not applicable
Author

Hi Aspirant,
Please see the talend official KB article on talend help center about Installing a custom component.
Best regards
Sabrina
Anonymous
Not applicable
Author

Sabrina,
Thanks for the link now the components are available in my pallette.
Shong,
How can i read the named range cells like i have mentioned above. using tFileExcelSheetInput and tFileExcelWorkbookOpen components.
Can you help on the same.
Anonymous
Not applicable
Author

Hi Aspirant
Can you capture a screenshot of your excel file and explain what data you want to extract?
Shong
Anonymous
Not applicable
Author

Shong,
I have uploaded a screen shot , in that excel i have two data's which are available at different range of cells in same sheet.
i have to extract the two data's and insert into two different tables.
I have also named the range for two data's lets say for fist data named range is 'A' and for 2nd 'B'
suggest me on the same.
Anonymous
Not applicable
Author

Your use case is terrible.
I would read the rows starting with the row 1.
Read without ignoring empty rows.
In a first tMap I would check about the word id and if you detect it set a particular boolean context var and use it to filter the next rows.
If you detect deptno, you can switch off the boolean context var and the flow should go to another flow.
tFileInputExcel -> tJavaRow (to detect the area and set bool context var) -> tMap (with 2 output flows and filter based on the bool context var).
This is a very weak input source and a better way is by far to talk to the author of this excel file to montivate use different tabs.
alevy
Specialist
Specialist

Since the two blocks of data are going to different tables, why not just use two separate subjobs i.e. separate tFileInputExcel components with the appropriate starting points?
Anonymous
Not applicable
Author

Jlolling,
Thanks for the reply, the same thing with a slight change i.e if the column name is numeric and when i am tring to use tFileExcelSheetInput and tFileExcelWorkbookOpen components , i am getting error as attached in new images,
Is it something like tFileExcelSheetInput does not support numeric column names or is there any alternative for this to achive.