Forum Discussion
Leighleigh33
Oct 13, 2023Copper Contributor
Return multiple values across multiple sheets
I have multiple sheets in a workbook for teachers to record marks in tests students take. Students will progress through these tests at different rates and I want a summary of what test students are ...
peiyezhu
Oct 14, 2023Bronze Contributor
all roads to Roman.
I guess if you provide the source workbook and expected result,the discussion on the spesific automation solution can start soon.
I guess if you provide the source workbook and expected result,the discussion on the spesific automation solution can start soon.
Leighleigh33
Oct 16, 2023Copper Contributor
I have just loaded the sample and the last sheet title summary is what i want returned from the other sheets in the workbook.
- peiyezhuOct 16, 2023Bronze Contributor
This is an ETL(Extract-Transform-Load) task.
I would like running sql to automate it.
//select rowid old_rowid,colIndex[1:19] from consolidateSheet; create temp table aa as select rowid old_rowid,colIndex[1:19] from consolidateSheet where f04!='Students'; cli_one_dim_with_zero~temp.aa~4; create temp table cc as with bb as ( select *,(cast(regexp2('\d+',属性) as int)-1)/2 grp from aaunion order by old_rowid) select *,regreplace('(\d+)\/(\d+)\/(\d+)','20$3-$1-$2',group_concat(数量,'</td><td>')) Date_Result from bb group by old_rowid,grp; cli_no_header; select f03,f04,f02,Date_Result from cc;You can find other ways to acheive it too.
- Leighleigh33Oct 16, 2023Copper ContributorWhoa thanks I am a real newbie here can you explain how this works?
- peiyezhuOct 17, 2023Bronze ContributorHave you watched the video?
You can try this online tool if possible.
http://e.anyoupin.cn/EData/?p=tools.consolidate.consolidateshts/consolidateWithNewF