当前位置:主页 > Office办公

最新发布

Tables Part 1_处理列表中的数据_Excel 2007新知
Tables Part 1_处理列表中的数据_Excel 2007新知

Tables Part 1: Working With Tables Of Data列表(第一部分):处理列表中的数据(译者注:本文中的“列表”其原文为“Table”,在已经发布的Excel中有一项功能称为“模拟运算表”【在数据菜单中】,在其相应当英文版本中也是“Table”,本人认为本文讨论的Excel 12新功能不同于现在的模拟运算表,所以使用“列表”一词,在最终发布的Excel 12中文版本中所使用的名称可能与本文不同,特此说明。)For the next few posts, I'd like to spend some time explaining the work we've done in Excel 12 to improve the experience of working with tabular data in Excel.接下来几章中,我将花一些时间来解释一下Excel 12如何改善对于表格化数据(译者注:原文中的Tabular Data)的处理。One thing that we see pretty much every Excel user doing with some frequency is working with tables. Tables can mean different things to different people so let me briefly define what we think of when we use the word table. A table is a simple structure where each row corresponds to a single “thing“ (e.g. a specific transaction, an individual product, etc.), and each column denotes a specific piece of information that's shared by all rows (e.g. amount of each transaction, product quantity, etc.). Tables typically have a “header“ row at the top that defines the information that each column contains. Some examples of tables might be a list of financial transactions or the latest inventory numbers pulled from a server. Here's an example of a very simple (and fictitious) table.我相信每一个Excel的用户都会非常频繁的用到表格。在不同场合“表格”这个词有很多种含义,让我先来简单的定义一下我们所说的列表,列表是指一个简单的结构,列表的行对应于一个单一“项目”(例如:一个交易,一种产品等等),列表的列表示每个项目的某些具体信息(例如:每项交易的金额,产品数量等等)。典型的列表拥有标题行,一般位于列表的第一行,它用来定义每列所包含的内容,列表也可以是交易清单或者从服务器上得到的最新的库存数量。这里有一个非常简单的列表。The two-dimensional nature of the spreadsheet makes it an obvious canvas for manipulating and analyzing tabular data. Excel, however, has traditionally offered very little in the way of features aimed at tabular data because it had no built-in knowledge of what a table is or how it should behave. We've done a lot of work to make tables a native structure in Excel 12. When Excel knows you are working with a tabular structure, it can react much more intelligently to the actions you perform in the grid. Let me demonstrate by way of a simple example. Here is what our table might look like if we formatted the table, applied a data bar to the Profit column, added a chart, and added a formula at the top of the sheet that totals the Profit column.支持二维数据存储的电子数据表格可以很容易的处理和分析表格化数据,然而传统的Excel只能提供很少的处理表格化数据的功能,究其原因在于Excel并没有内置关于列表的相关内容,如列表是什么样子的,如何操作列表。我们做了很多工作,使列表完全的融入Excel 12。对比以前在列表中进行数据操作,在新版本中,一旦Excel认为用户在使用列表,那么它将提供更智能化的反应,让我们用一个简单的例子解释一下,下面是我们格式化后的列表,对于“Profit”列使用Data Bars(译者注:如希望更多的了解Data Bars请参考本版面的帖子“条件格式概览——Data bars”),添加一个图表并且在列表上方添加一个公式用于计算“Profit”列数据的总和。

137 次浏览
条件格式与Ribbon_Excel 2007新知
条件格式与Ribbon_Excel 2007新知

现在我们回顾一下Excel 12中新增加的条件格式功能,让我们看看要如何更容易的找到并使用这些功能。我们的目标之一,是在界面中突出展示这些新功能,所以我们把条件格式的入口放在新的Excel Ribbon中的第一个标签里面。这个标签叫做“工作表”,下面是这个标签的截在最新版本中已经发生了变动,请见文章中最后两张译者的截图)当你选择图形目录中的每一个项目,你会看见不同的可用命令列表“飞”出来。飞出来的“突出单元格规则”项目允许你基于数值创建规则,诸如多于、少于、……之间,等于,包含,等等。“突出单元格规则”项目中的每个子项都会启动一个我们称之为“快速启动对话框”的窗口,它集中了你试图创建的所有规则。在浏览条件格式的图形目录中的其他部分以前,让我们来看一个实例。比如你有一个数值区域,你希望突出显示比150小的单元格:你可以选择整个数据区域,再从“突出单元格规则”项目下点选“少于”,Excel会显示一个快速启动对话框让你填入数值和希望看到的格式:当你输入了条件值,并设置目标格式为从红色开始进行背景填充,你会发现,尽管你还没有点击“确定”来完成你的设置,但已经能够看到工作表中的单元格按规则进行了格式化。这种“实时预览”可以让你在完成规则设置以前就确定你设置的正确与否。比如,你输入150,相应的单元格会立即突出显示:你可以把目标格式改为“红字”(或者其他任何格式),情况会立即发生变化。一旦你对结果满意,你只需轻松的点击确定,条件格式会忠实的工作。注意:1、你可以从预设置的格式清单中选择(我们已经尝试提供了许多命令格式)或者设置你自己的格式。2、这里有一个“更多规则”命令,它可以开户一个更高级的条件格式对话框,允许你访问所有条件格式设置。在我继续介绍其他的部分以前,我想小结一下,所有的一切是那么简单又快捷——选择一个区域,然后点选一些选项,用户就能为他们的数据设置各种各样的强大的条件格式。再来看图形目录中往下的部分,这次飞出来的“高/低规则”项目可以让你创建基于百分比数值的规则,比如最高的n%。同样的,这里面的子项目为启动“快速启动对话框”来帮助你完成条件格式设置。

124 次浏览
Excel服务VI——用Excel Web Services创建应用程
Excel服务VI——用Excel Web Services创建应用程

Excel Services part 6: Building applications with Excel Web ServicesExcel Services(第6部分):用Excel Web Services创建应用程序While talking about scenarios for Excel Services, I mentioned “Reusing the logic encapsulated in Excel spreadsheets in custom applications” – which means accessing spreadsheets and their contents server-side via web services in a way that’s scalable and manageable. I would like to elaborate on this topic over a couple of posts. Today, I will introduce “Excel Web Services”; in a follow-up post I will show how to develop a small sample application using said web services.在介绍Excel Services 中的方案时,我提到过”在用户自定义程序中重复利用Excel电子表格的逻辑封装”——可升级和管理通过网络服务器访问电子表格和存储信息服务器端。我在上面的一些文章中就这个主题作过详细的介绍。今天,我将介绍“Excel Web Services”,接下来的文章展示如何用网络服务器开发小的应用程序示例。In a nutshell…概述Let’s briefly revisit Excel Services’ architecture. The Excel Calculation Service is the “engine” of Excel Services; it is the component that loads and calculates spreadsheets. In the “interact with the spreadsheet in your browser” scenarios covered in previous posts, Excel Calculation Services loads and calculates a spreadsheet and then hands it off to the Excel Web Access, which is the component that produces the HTML that ends up in your browser. The point of today’s post (and the post that will follow) is that developers can also use Excel Calculation Services without needing to interact with the Excel Web Access. Specifically, we have built a web service API directly on top of the Excel Calculation Services so that developers can call server-side spreadsheets directly from their own applications. For example, developers could write code that opens a spreadsheet on a server, sets cells and ranges to specific values, controls external data refresh and workbook calculation, and finally retrieves values from the calculated workbook (or retrieves the workbook in its entirety). Let’s look at some more specific examples.先简单地回顾一下Excel Services架构 。Excel Calculation Service是Excel Services的”引擎”,是装载和计算电子表格的组件。在上篇文章中介绍了”在浏览器中与电子表格相交互”, Excel Calculation Service装载和计算电子表格,并且不需要Excel Web Access(配置在浏览器中生成HTML的组件)。这篇文章接下来介绍开发者不需要Excel Web Access的配合也能运用Excel Calculation Service。具体地讲,我们在Excel Calculation Service中已经直接创建了一个网络服务器API,以便于开发者能在他们自己的应用程序中直接调用网络服务器端的电子表格。例如,开发者能够写用来打开服务器上的电子表格的代码,设置单元格和区域为指定值,控制外部数据更新和工作薄计算,并且最后从已经过计算的工作簿中取回数值(或取回整个工作薄)。下面列举了一些更详细的例子。What sorts of things are these web services good for?

132 次浏览
VIII -推迟数据透视表更新
VIII -推迟数据透视表更新

PivotTables VIII: “Defer Layout Update”, or adding multiple fields in one fell swoop数据透视表 VIII:“推迟布局更新”,还是猛然添加很多字段In this article, I’ll cover a small yet very useful PivotTable feature – deferring PivotTable updates. In current versions of Excel, PivotTables are updated each time a field is added, removed, or moved to a different position. For PivotTables based on large data sets, these actions can take some time to complete, meaning, for example, you end up waiting 7 times if you create a new a PivotTable and add 7 fields.在本文中,我将讲述一个很小,但是非常有用的数据透视表功能——推迟数据透视表更新。在Excel的当前版本里,数据透视表每次添加一个字段,删除字段,或者移动字段到一个不同的位置,就会更新一次。有大量数据集的数据透视表,这些动作会花费一些时间,例如,如果你创建一个新数据透视表并添加七个字段,那么结果你就得等七次。To address this scenario, we have added a feature to Excel 12 that allows you to control when the PivotTable is updated. As some of you may have noticed in screenshots in previous blogs, there is a checkbox and a button at the bottom of the field list. 为了实现该方案,我们在Excel 12里添加了一个功能,让你可以控制何时更新数据透视表。你们中有些人可能已经注意到前面日志中的截屏,在字段列表的下面有一个勾选框和一个按钮。"Defer Layout Update" controlsWhen this checkbox is checked, the “Update” button next to it becomes enabled, and now you can add, remove and move fields around without the PivotTable updating itself. When you are done arranging fields, you press the Update button, and the PivotTable does one and only one update.当该复选框被勾选上时,旁边的“Update”按钮就会被激活,现在你就可以添加,删除已经移动字段,而数据透视表不会自己更新了。当你完成字段的安排后,你按下更新按钮,数据透视表就会执行一次,仅仅一次更新。

109 次浏览
透视表终曲_值字段技巧(一)
透视表终曲_值字段技巧(一)

Pivot Tables grand finale: Tricks with the Values field透视表终曲:值字段技巧This is going to be the last PivotTable post, at least for a while. Unlike the last several posts, the subject matter that follows applies to any PivotTable, not just those connected to SQL Server Analysis Services.这是本阶段内最后一篇关于透视表的文章了。和前几篇文章不同,本主题相关的应用不只是用于连接到SQL Server Analysis Services的,而是任何透视表。In current versions of Excel, one of the capabilities that exist in PivotTables is the ability to adjust the position of the labels that describe the values in the Values region of the PivotTable (i.e. “Sum of Sales”). Excel PivotTables offer significant flexibility in this area – the labels can be on rows, on columns, and anywhere in the hierarchy on either of those areas. When we visit customers to talk to them about how they use PivotTables, though, we see a couple of things. First, the majority of users aren’t fans of our initial placement of the labels. Second, most people have never figured out that the labels can be repositioned. We have tried to address both of these items in Excel 12.在这个版本的Excel中,透视表的一个功能就是,用于描述透视表(例如"Sum of Sales")中选定范围内值的标签的位置是可以改变的。这一点上Excel透视表非常的灵活,标签可以被放在行,列,或者那些区域层级的任意位置。当我们去客户那里,告诉他们怎么使用透视表的时候,通常,我们会遇到两种情况。一种是,大多数用户不喜欢标签的初始位置。另一种,多数客户根本不知道这些标签是可以移动位置的。我们已经试着在Excel12中解决这些问题了。This area is probably best explained by walking through an example, so here goes. To start with, imagine you were building the following PivotTable. It has some items on rows and columns, and Sales Amount summarized in the Values area.看一个例子,应该是解释这个问题的最好的方式,所以:),here goes。开始,想象一下你原来做下面这张表的时候。列和行上都有一些项目,后面的计算区域还有销售统计额。If you add a second field to the Values area – say Product Cost – then Excel adds some captions (“Sum of Sales Amount”, “Sum of Product Cost”) below the years (“2003”, “2004”) to help the user distinguish which numbers are Sales and which numbers are Product Cost.

116 次浏览
透视表终曲_值字段技巧(二)
透视表终曲_值字段技巧(二)

If you want to re-position the captions elsewhere, you can simply drag-and-drop the “∑ Values” field to another drop zone or another position in the drop zone that currently contains the “∑ Values” field. Say I wanted to see the labels above the “Year” field in the Column area. All I need to do is start dragging the “∑ Values” field, and I get feedback as to where the field will end up when I am done (blue bar, new cursor).如果您想把标题放到其它地方,您只需拖拽"∑ Values"字段到其它拖放区域或者已含有"∑ Values"字段的拖放区域的别的位置。也就是说当我要查看列区域中"Year"字段上面的标签的时候,我所要做的就是拖动"∑ Values"字段,当我要放下(蓝色边,不一样的鼠标指针)的时候就会看见字段竖起来。If I drag the “∑ Values” field above the “Year” field and let go, the PivotTable will refresh, and the captions will now be outside the year information, showing me a different view of my data. Here is what that looks like.如果我将"∑ Values"字段拖到"Year"字段上放下,透视表就会刷新,并且标题也会显示出年度的信息,显示出来的是一个不同的视图。如下:I can also move the captions to the Row area. Here is what the PivotTable looks like when I have moved the “∑ Values” field to the bottom of the hierarchy on the Row area.我也可以将标题移动到行上。下面是当我移动"∑ Values"字段到行的底端相应级别时透视表的样子:Further, I can move the captions anywhere else in the hierarchy in the Row area. Here is what the PivotTable looks like when I have moved the “∑ Values” field in between the Product Name and Product Category fields.而且,我可以在行的同级别里随意移动标题。下面是我将"∑ Values"字段移到Product Name 和Product Category字段中间的样子:By now you are probably getting the idea – the placement of the labels is infinitely flexible, allowing you to see the data pretty much any way you want. Hopefully folks see this as a useful feature. As always, I am interested to hear your feedback.

114 次浏览
技巧1_色彩缤纷的Data Bars
技巧1_色彩缤纷的Data Bars

Conditional Formatting Trick 1 – Multi-Coloured Data Bars条件格式技巧1——色彩缤纷的Data BarsA few months ago, I described the new features we have added to Excel 2007 in the area of conditional formatting. One of the new formats we added is called a “data bar” … check out this earlier post for a refresher, but the basic idea is that Excel draws a bar in each cell representing the value of that cell relative to the other cells in the selected range. Here is a shot from that post.几个月以前,我讲述了在Excel 2007中新增加的有关条件格式的各种特性,其中之一就是我们称之为“data bar”的……可参阅以前的文章。但是我们只讲到最基础的概念,即在一个选定的区域里面,由Excel根据不同单元格的数值对比情况,在每个单元格中绘制一个色带。下面是以前文章中的截图:The Excel 2007 UI allows you to choose whatever colour you want for your data bars, but, by default, all the data bars you apply to a range have to be the same colour. Someone on our team recently showed me how to use a tiny bit of VBA to simulate having multiple colours of data bars on a range conditionally applied, so I thought I would pass along the trick.Excel 2007允许你为你的data bars选择任何你想要的颜色,但是,默认情况下,同一区域中的data bars,只能有同一种颜色。最近,开发团队中的某位成员向我展示了如何在同一区域中创建多种颜色的data bars,只需要利用非常简单的VBA代码即可。所以,我想我应该好好发挥这个技巧的威力。Say, for example, you are looking at student grades, and you want all the data bars for students with a passing mark (60%+ and above) to be green, and those with a failing grade (59% or less) to be red. The first thing you would do is to add some red data bars to your data, and then some green data bars. By default, Excel shows you the last set applied, so the data bars would be green. If you then launch the VB Editor (Alt + F11) and in the immediate window (Ctrl+G), type:selection.FormatConditions(1).formula = "=if(c3>59, true, false)"You would see that your data now looks like this, which makes it easy to spot the failing grades.

226 次浏览
Excel服务——体系架构
Excel服务——体系架构

Excel Services – Architecture Excel服务——体系架构Before I continue to drill down on the features of Excel Services, I would like to explain the architecture at a high level and touch on configuration possibilities. 在我继续勾勒Excel服务的特性以前,我想从一个较高的层次解说Excel服务的体系架构。Excel Services is built on the SharePoint products and technologies platform. There are three core components of Excel Services Excel服务是建立在SharePoint产品和技术平台之上,有三个核心组件。Excel Calculation ServiceExcel Web AccessExcel Web Service

167 次浏览
数据集函数Part1 概述(二)
数据集函数Part1 概述(二)

What are the new CUBE functions?新增的数据集函数是什么?We have implemented seven new CUBE functions that can be used in Excel formulas just like any other function in Excel. These functions permit Excel to fetch data from SQL Server Analysis Services (2000 & 2005), including any member, set, aggregated value, property, or KPI (Key Performance Indicator) from the OLAP cube. This data can then be placed anywhere in the spreadsheet, intermingled with other local calculations and/or within other formulas. Here are the seven new CUBE functions:我们补充了7个新数据集函数,同其它工作表函数一样,可以在Excel公式中使用。这些函数允许Excel从 SQL Server Analysis Services (2000 & 2005) 提取数据,包括任意成员、子集、汇总值、属性或KPI(关键业绩指标)。这些数据可以放在电子表格的任何地方参与本地计算,或者作为其他公式的一部份参与计算。CUBEMEMBER (connection, member_expression,)This function will fetch the member or tuple defined by the member_expression. For example, (from the illustration above,) the formula: =CUBEMEMBER ("Adventure Works", "[Sales Reason].[On Promotion]") returns the member named “On Promotion” from the “Sales Reason” dimension of the Adventure Works cube.该函数通过定义member_expression(成员表达式)提取成员或成员组。例如,上个实例的公式=CUBEMEMBER ("Adventure Works", "[Sales Reason].[On Promotion]"), 从Adventure Works 数据集的“销售成因”维度返回了一个“促销”成员。CUBEVALUE (connection, [member_expression_1], [member_expression_2], …)This function will fetch the aggregated value from the cube filtered by the various member_expression arguments. For example, the formula: =CUBEVALUE ("Adventure Works","[Measures].[Gross Profit]","[Product].[Category].[Bikes]","[Date].[Fiscal Year].[FY 2004]") returns the value $5,035,271.22 which is the aggregated amount in the Adventure Works cube for Gross Profit for Bikes in Fiscal 2004.

135 次浏览
介绍Excel服务
介绍Excel服务

Introduction to Excel Services, or “running Excel spreadsheets on a server”介绍Excel服务或者说“在服务器上运行Excel工作簿”Back in September, I posted an article on the big picture which mentioned that we are creating an all-new “Excel Services” server technology as part of our Excel 12 work. Some of you may have caught a glimpse of Excel Services being demonstrated as part of our BI announcement in October. For the next few weeks, I am going to cover the work we have done in this area.在9月, 我张贴了有大图的文章提及我们创造了全新Excel服务器技术作为我们Excel12开发工作的一部分。 你们也许瞥见了Excel服务器作为我们BI 公告一部分 在10月发布。 在今后几星期, 我将报道我们完成的这个部分的工作。What is it?Excel Services is brand new server technology that will ship with Office 12. Excel Services supports loading, calculating, and rendering Excel spreadsheets on servers. There are two primary interfaces: a web-based UI that lets you view spreadsheets in the browser, and a web services interface for programmatic access. I will spend some time on both of these interfaces in future posts. For now, let’s start with an example of the type of work flow that we anticipate will be common using Excel services’ web-based UI. Specifically, let’s look at how a sales analyst would share some work done in Excel with a sales manager.它是什么?Excel服务器是将运用于Office12 的全新的服务器技术。 Excel服务支持装载, 计算, 并且反馈Excel报表在服务器。 有二个主要接口: 让您在基于互联网浏览器的观看报表用户界面;存取列表的网络服务器界面。 在以后的文章中我在这两个接口上将花费一些时间用来介绍。 现在, 让我们用一个工作流程的例子来看看我们期望的基于互联网的Excel用户交流界面。 在下面的例子中, 我们看看在销售管理中销售分析员如何分享Excel上的工作。A sales analyst authors a sales analysis spreadsheet using Excel 12

136 次浏览
共计75934条记录 上一页 1.. 856 857 858 859 860 861 862 ..7594 下一页