ad

对编辑公式功能的改进Part 3_Excel 2007新知-英雄云拓展知识分享

匿名投稿 259 2024-01-14

译者:apolloh  来源:其他
发表于:2006年7月7日

Formula editing improvements Part 3: new functions
对编辑公式功能的改进 Part 3:新增函数

In addition to improving the formula editing UI in Excel 12, the team has spent some time adding to Excel’s function library.  Over the years, customers have found new ways to combine and leverage the functions in Excel to build all sorts of things, but there remain many areas where our customers would like to see need new capability. This release, we have targeted three areas in which to improve our function library – the Analysis ToolPak, SQL Server Analysis Services, and the most common requests we hear from customers.
除改进编辑公式的界面外,我们还在Excel 12的内置函数库上花了些工夫。多年以来,用户发掘出许多新方法,整合和发挥Excel函数的功能,创建各式各样的公式。虽然如此,用户还是期望具有更多新的函数。此版本中,我们瞄准了3个方面来扩充Excel内置函数库,它们是——分析工具库,SQL Server Analysis Services和用户提出的最具代表性的需求。

First, we have fully integrated the Analysis ToolPak functions into the Excel function library, making these functions first-class citizens and eliminating issues relating to the fact that they had been delivered as an add-in in the past.  Users already find a great deal of value in these functions and, from Excel 12 on, they can rely on them to simply work the way the rest of the Excel function library works. This means users no longer have to run the add-in to use the functions, the functions will show up in Formula Autocomplete (see previous post), the functions will offer the same tooltips as other native Excel functions, etc.
首先,我们把分析工具库函数整合到Excel内置函数库中,使其成为“一等公民”,并取消了原来的加载宏。这些函数对用户10分有价值。从Excel 12起,它们就能够和其它Excel内置函数一样方便地使用。这意味着,使用者不需要加载宏,可以直接使用这些函数。它们会出现在Formula AutoComplete功能提供的下拉列表中(见前面的帖子),且和其他内置函数一样也有相应的功能提示。

Second, we have added a new set of functions that allow users to extract information from SQL Server Analysis Services. For the benefit of readers that are NOT familiar with SQL Server Analysis Services, let me give you a really high-level overview.  In addition to its relational database product, SQL Server includes a feature named Analysis Services which provides business intelligence and data mining capabilities (for those interested, more information can be found here). In Excel 12, we have added a set of functions that give users the ability to retrieve SQL Server Analysis Services data directly into cells. There is a fair bit to cover in this area, so I will write a few posts on these formulas in a few weeks.
第2,我们还新增了一套函数,允许用户从SQL Server Analysis Services中获得数据。斟酌到一些读者其实不熟习SQL Server Analysis Services,我先简单地大致一下。除相干数据库产品外,SQL Server 还包括一个称为Analysis Services 的功能,提供商业智能和数据发掘能力(有兴趣的读者可以在这里找到更多信息)。在Excel 12 中,这些新增的函数可从SQL Server Analysis Services 直接获得数据,寄存到单元格里。由于触及面较广,接下来的几周里,我会再写些帖子介绍这些函数。

对编辑公式功能的改进Part 3_Excel 2007新知-英雄云拓展知识分享

Third, we’ve added five commonly requested functions to the Excel function library:
第3,我们新增了5个在用户提出的需求中具有代表性的函数,作为Excel的内置函数:

IFERROR

AVERAGEIF

AVERAGEIFS

SUMIFS

COUNTIFS

Here is more detail on each:
下面是这5个函数的介绍:

IFERROR(Value, value_if_error)
The most common request we hear in the area of functions is something to simplify error checking.  For example, if a user wants to catch errors in a VLOOKUP and use their own error text opposed to Excel’s error, they have to do something like this using the IF and ISERROR functions:
我们收到关于函数的最具普遍性的需求,是用户要求简化毛病值的处理进程。举例来看,想要截获VLOOKUP计算结果中的毛病值,并将其替换为用户自定义内涵的毛病提示,就不能不采取像IF和ISERROR这样的函数组合。

=IF(ISERROR(VLOOKUP(“Dave”, SalesTable, 3, FALSE)), ” Value not found”, VLOOKUP(“Dave”, SalesTable, 3, FALSE))
As you can see, users need to repeate the VLOOKUP formula twice.  This has a number of problems.  First, it is hard to read and hard to maintain – if you want to change a formula, you have to do it twice.  Second, it can affect performance, because formulas are quite often run twice. The IFERROR function solves these problems, enabling customers to easily trap and handle formula errors. Here is an example of how a user could use it in the same situation:
如您所见,这里两次应用了VLOOKUP公式。这样做会有几个问题。首先,保护公式比较麻烦,如果你想改动公式,就不能不修改两处。其次,它作用运算速度,公式常常会被多运算一遍。IFERROR函数解决了这些问题,它可让用户方便地截获并处理公式算出的毛病值。下例,我们采取IFERROR函数处理上述的情形:

=IFERROR(VLOOKUP(“Bob”, SalesTable, 3, false), “Value not found”)
Less to author, less to maintain, faster performance.
与之前的公式相比较,该公式书写少了,保护少了,运算速度也更快了。

AVERAGEIF(Range, Criteria, [Average  Range])
Another very common request is for a single function to conditionally average a range of numbers – a complement to SUMIF and COUNTIF.  Accordingly, we have added AVERAGEIF, allowing users to easily average a range based on a specific criteria.  Here is an example that returns the average of B2:B5 where the corresponding value in column A is greater than 250,000:
另外一个用户普遍关心的需求是,想要一个条件平均函数作为SUMIF和COUNTIF的补充。相应地,我们新增了AVERAGEIF函数,对在一定范围内满足某条件的数据进行求平均值。举例来看,在B2:B5单元格区域中按条件求平均值,条件是A列与之相对应的单元格的值大于250000。

=AVERAGEIF(A2:A5, “>250000”, B2:B5)
SUMIFS(sum_range, criteria_range1, criteria1 [,criteria_range2, criteria2…])
COUNTIFS(criteria_range1, criteria1 [,criteria_range2, criteria2…])
AVERAGEIFS(average_range, criteria_range1, criteria1 [,criteria_range2, criteria2…])

A third very common question we hear is “how do I sum/count/average a range with multiple criteria”.  For example, if a user had the following range, how could they sum “Value” where Fruit = “Apple” and Value = “One”.  (译者注:Value = “One”应当改成Number= “One”)
第3个非常有代表性的问题是,“如何对一个范围的数据进行多条件的汇总/计数/平均”。 举例,如图所示,怎样对满足Fruit = “Apple” 且 Number= “One”的Value列的数值求和。

There are a number of ways to do this in Excel 2003 – for example, our user could array-enter the following formula:
在Excel2003中,有许多方法可以做到这点——比如,我们可用数组公式的方式输入下面的公式:

=SUM(IF(C2:C17=”Apple”, IF(D2:D17=”One”, B2:B17, 0), 0))
But the formula is hard to set up correctly, many users do not know about array formulas, and it is harder to read.
但是,对许多不了解数组公式的用户来讲,正确地创建这个公式其实不容易。而且,数组公式比较难理解。

In Excel 12, this task will be much simpler using the SUMIFS formula:
Excel 12 中我们仅用SUMIFS一个函数便可方便地做到:

=SUMIFS(B3:B18, C3:C18,”=Apple”, D3:D18, “=One”)
The formula is much simpler to write, easier to read, and doesn’t require array entry. 
这个公式书写起来简单,理解起来也容易,而且没必要以数组公式的方式输入。

COUNTIFS and AVERAGEIFS, also new to Excel 12, work the same way with the same benefits.
COUNTIFS 和 AVERAGEIFS 也是Excel 12 的新函数,而且也有着一样的好处。

That sums up our new functions (more detail to come on the Analysis Server functions later though).  Next up… Formula Editing Part 4: Defined Names.
以上是Excel 12所有的新函数。(固然,更多的内容在以后的Analysis Server函数中还会触及)下期预告: 编辑公式 Part 4:定义内涵名称。

Published Thursday, October 20, 2005 2:28 PM by David Gainer
Filed Under: Formulas and functions

 
注:本文翻译自其他,原文作者为David Gainer(a Microsoft employee)。


选择英雄云云表单=选择更智能的Excel

在现代企业管理中,数据的高效管理和处理至关重要。随着信息技术的不断发展,英雄云云表单已经成为了提高数据录入、管理和分析效率的不可或缺的工具。让我们来深入探讨英雄云-云表单的几大优势。

基础字段:多样性满足业务需求

英雄云云表单中包括了各种基础字段,如单行文本多行文本数字输入框单选框复选框下拉框下拉复选框日期时间分割线等。这些字段的多样性使用户可以根据具体的业务需求,轻松进行文本、数据和时间信息的录入或修改。例如,您可以使用单行文本字段录入员工姓名、产品型号等,或者使用下拉框进行多选,根据不同情况选择更加方便的字段类型。

高级字段:提升工作效率

英雄云云表单还提供了高级字段,如地址图片附件手写签名手机子表关联数据关联查询以及流水号。这些高级字段在基础字段的基础上升级,可帮助用户完成一些琐碎的工作。例如,使用地址字段可以避免逐字打字,而流水号字段可以自动生成规律性的编号,非常适用于合同编号生成等场景。

部门成员字段:精确管理与通讯录的关联

英雄云的部门成员字段允许企业对各个部门的成员进行精确管理。用户可以通过部门成员字段获取通讯录中的部门成员信息,应用于记录报销人、报销部门等场景。这些成员字段还细分为成员单选成员多选,可根据具体需求在通讯录中选择一个或多个成员。

聚合表:数据处理更智能

英雄云聚合表功能用于对已存在的表单数据进行聚合计算,从而得到一张聚合表,后续其他表单可调用聚合表进行数据联动、关联查询和关联数据等操作完成数据处理。这一功能可应用于多种场景,如进销存管理、财务管理和门店零售管理等,帮助企业完成数据处理,提高工作效率。

表单权限设置:灵活管理数据访问

英雄云的表单权限设置允许用户根据企业的具体需求管理表单的访问和操作权限。用户可以根据系统权限或自定义权限对不同成员或团队进行权限设置,以确保数据的安全和合规性。这一功能使企业能够根据变化的业务需求和团队结构,实时调整权限设置。

自定义打印模板:文档输出更便捷

英雄云云表单支持自定义打印模板,可将表单数据转换为可打印的Word文档。用户可以根据自己的需求进行排版和编辑,将产品规格说明书等文档轻松生成。这一功能提供了一种标准化的文档输出方式,简化了信息整理的过程。

综合来看,选择英雄云云表单意味着选择更智能、更灵活、更高效的数据管理工具。无论是提高工作效率,精确管理数据,还是实现数据处理,英雄云云表单都能满足您的多样化需求,助力您的业务发展。

如果您正在寻找一款强大的云表单工具,不妨考虑英雄云,它将为您带来更多的便捷和智能,助您事半功倍。


免责声明

本网址(www.yingxiongyun.com)发布的材料主要源于独立创作和网友匿名投稿。此处提供的所有信息仅供参考之用。我们致力于提供准确且可信的信息,但不对材料的完整性或真实性作出任何保证。用户应自行验证相关信息的正确性,并对其决策承担全部责任。对于由于信息的错误、不准确或遗漏所造成的任何损失,本网址不承担任何法律责任。本网站所展示的所有内容,如文字、图像、标志、音频、视频、软件和程序等的版权均属于原创作者。如果任何组织或个人认为网站内容可能侵犯其知识产权,或包含不准确之处,请即刻联系我们进行相应处理。

上一篇:15个经常使用的Excel函数公式-英雄云拓展知识分享
下一篇:Excel实用技能,值得收藏-英雄云拓展知识分享
相关文章

 发表评论

暂时没有评论,来抢沙发吧~

×