Origin Ver. and Service Release (Select Help-->About Origin): 2018 Operating System: Windwos 10[
Hello,
I would appreciate if anyone could point me in the right direction to parse the multiple excel or csv files using batch processing. Please see below:
File 1
Water (cc) 30 Mass (kg) 28 Height (cm) 180 Pressure 1015
File 2
Pressure 1040 Water (cc) 40 Mass (kg) 56 Height (cm) 190
What I want after batch processing of file 1 and file 2? *********************** File 1 File 2 Water (cc) 30 40 Mass (kg) 28 56 Height (cm) 180 190 Pressure 1015 1040
You can try to import these file in the multiple workbook(or worksheet) and then sort these worksheet by first column. You can add this script in the "Script after Each File Imported" edit box, then the imported datasets are sort by first column
wsort descending:=1;
Then Append the Worksheets into one Worksheet (set Recalulate to None), then delete the repeated columns.
The excel file actually contains a lot of parameters along with their values. What I wanted to try is:
Search for specific parameter (e.g., mass), and parse this specific parameter "mass" along with its value (e.g., 28). I would like this result to be in a different sheet or workbook. I do not want to extract other parameters that exist in the excel sheet.
After you import your datasets in to Origin, you can try to use Worksheet Query tool to extract your dataset. Choose menu Worksheet: Worksheet Query to open the dialog.