列标题 如何删除gridcontrol_如何用Excel对文件夹里的工作簿一键汇总并刷新?

06afeae6ed8b71e971b058cf23906fb1.png

在工作中,除了对单独一个工作簿合并外,有时候有很多工作簿也需要合并,那么你就需要用到Power Query这个技能了。

2013版本以下需要在微软官方下载Power Query插件。

比如下图:有三个工作簿,在同一文件夹下,标题一致:

6ed16a2b42aae27b03f873a8cd528561.png

(以下步骤在office365中完成,其它版本略有不同)

第一步:数据—获取数据/新建查询—来自文件—从文件夹

445c90645ed4304a36a79d12cd9351d6.gif

接着,找到文件夹所在的位置:

816977419a28c04f2b0c621814751d5b.png

点击“转换数据”/“编辑”:

34b4a7082b4d44dbb50074599ebf5e35.png

进入Power Query编辑器之后,我们需要添加一列,将工作簿的内容展开:添加列—自定义列—输入公式 “Excel.Workbook([Content])”。

注意:[Content] 是点击“插入”,不是手动输入。

cde085b0fa3446f0ae3edd2c1597294d.gif

所有的数据都在这个Table里面:

bfd0855909ad4e8f7dcac4200eb13502.png

我们需要展开Table获取数据:

a233e19a3c5f98f088c9717983a621af.gif

这个时候,我们只是打开了工作簿,还需要再打开工作表:

387997398341ea3e58fbdd1a251594dc.gif

得到如下图:

98777f0f909556a350e9a15511985ee1.png

我们只需要保留工作表里的数据,选中不需要的列直接按Delete键就可以删除:

e4b5fff436a06f9127344ebc668ae2cd.png

这时,我们要提升首行作为标题:

987dcec4ce02390d681a1fee4c717e12.png

但是,上面的操作只是将第一个工作表的标题提升了,其它工作表的标题还存在,怎么办呢?

e756e1fef02aaf83792a7bd883cb8270.png

只需要将这些文字筛选掉就可以了:

2d7924f05d45e5a0e190059170587c42.png

最后修改一下标题,再上传到Excel中就OK了:

995dec8b36b5c1c9bd40531478ee8278.gif

如果新增了工作簿:

8ce130741c64392c41bf13f1abd2ed49.png

你只需要点一下鼠标右键中的刷新就ok了:

5673c7607befaf81689e2dbbebe86270.gif

再不用挨个打开工作簿复制粘贴到一个表了,只需要刷新,所以的工作簿都汇总在一起了。

So easy!

summary: In this paper, we establish a regression model based on the passing network to evaluate the influence of team structure strategy and opponents’ counter-strategy on the match results. Fortask1,wefirstlistsomeHuskiesmatchstatisticsforthisseasonandanalyzetheteamin brief. Secondly, we construct a passingnetwork based on the number of passes and visualizes the passing network diagram of three games under three different coaches. We use these three diagrams to describe and compare the changes in Huskies’ strategies. After that, we identify network patterns of dyadic and triadic configurations and count 15 kinds of these two configurations in the above three matches, reflecting the structural indicators of the passing network. We also explore time scale and micro scale by giving the change of the team’s centroid over time in the first match and the Huskies’ 4 positions heat map over the season. For task 2, we construct the regression model not only introducing the basic data representing Huskies’ and opponents’ ability, but also extracting six independent variables from the indicators of the passing network into the model. Considering opponents’ counter-strategies, we also introduce the product interaction term between opponents’ data and network structure indicators. Through the training of regression model, we can judge whether the independent variables introduced have influence, what kind of influence and how much influence the independent variables introduced have on the result of the match. For task 3, by bringing in data for training, the model leaves 10 variables including interactionterms. Inordertoverifytheaccuracyofthemodel,weuseLeaveOneOutcrossvalidation, andthepredictedaccuracyoftheraceresultreached71.05%. Then,basedonthetrainedmodel, we point out the effective structural strategies Huskies currently have, such as the strong connection between the core players. Meanwhile, we also give specific advice for Huskies team to improve team success, such as the emphasis on triadic configurations among players. Fortask4,weextendthemodelappliedtohuskiestoallteamworkscenariosandintroduce the IPOI model. The IPOI model conducts multi-level induction of influencing factors and selection of assessment indicators from the four aspects of team input, process, output and reinput, taking into account team construction, operation, management, feedback and other aspects. WeconsiderthattheexistingHuskiemodelisprogresspartofIPOImodel,andweadd the evaluation system of input, output and reinput part, taking the university scientific research team modeling as an example. Insummary,ourmodelispracticalandreliableforhandlingnetwork-basedteamworkproblems in society. Keywords: football strategy, network science, regression analysis, IPOI model.
DevExpress是一种功能强大的开发工具,可以用来快速创建各种类型的应用程序界面。其中,GridControl和CardView是DevExpress中常用的控件,可以帮助我们展示和编辑数据。 GridControl是一个可用于显示大量数据的网格控件,可以以表格的形式展示数据,并且支持排序、筛选、分组等功能。CardView是GridControl的一种显示方式,它以卡片的形式展示数据,每个卡片代表一条数据记录。下面是一些使用示范: 1. 导入DevExpress命名空间 首先,需要在代码文件中导入DevExpress命名空间,以便使用DevExpress的控件和功能。 2. 创建GridControl控件 在代码中创建一个GridControl控件,并设置其基本属性,例如大小、位置等。 3. 创建CardView视图 在GridControl中创建一个CardView视图,通过设置GridControl的MainView属性来指定当前的视图为CardView。 4. 设置数据源 通过设置GridControl的DataSource属性来指定数据源,可以是一个DataTable、一个List集合或其他数据源。 5. 设置卡片布局 可以通过CardView的Layout和Options属性来设置卡片的布局方式,例如通过设置CardView的ColumnCount属性来调整一行显示多少个卡片。 6. 设置卡片显示字段 可以通过CardView的Columns属性来设置卡片显示的字段,每个字段对应数据源中的一个属性。 7. 添加编辑和选择功能 CardView支持编辑和选择功能,可以通过设置CardView的Editable和OptionsSelection属性来启用或禁用这些功能。 8. 添加排序和筛选功能 CardView也支持排序和筛选功能,可以通过设置CardView的OptionsCustomization属性来启用或禁用这些功能。 总结:以上是一个简单的devexpress设置gridcontrol_cardview的使用示范,通过这些步骤可以创建一个显示数据的CardView界面,并且可以对数据进行编辑、选择、排序和筛选等操作。通过掌握DevExpress的相关功能,我们可以更高效地开发精美的应用程序界面。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值