MS Excel Tips and Tricks – How to count things in Excel MS Excel的使用技巧和小窍门-如何计数的东西在E xcel

Posted on February 8, 2008 at 6:43 am发布于2008年2月8日,在上午06时43分

There’s an old wives’ tale that says most of us only use about ten percent of our brains.存在的一个老妻子的故事说,我们大多数人只使用大约百分之十的开动脑筋。 Well, that’s poppycock.那么,这poppycock 。 But what is true is that most of us use far less than 10 percent of the power in our expensive Microsoft Office applications.但问题是什么是千真万确的,就是我们大多数人的使用,远远低于10 %的电力在我国昂贵的Microsoft Office应用程序。 Take Excel for example.改进Excel为例。 I love Excel.我爱Excel的。 If you could take the most horrible job in the world and figure out a way to use Excel to do it, I think I would find it fun.如果你能采取最可怕的工作,在世界上并想出办法用Excel做,我想我会觉得好玩。

People often ask me how I learned Excel.人们常常问我如何,我知道Excel的。 I started by skimming a big, fat How to Use Excel manual , just to get an idea of what kinds of things I could do with it.我一开始掠海大,脂肪如何使用Excel手册 ,只是要知道什么样的东西,我可以用它做。 If I could conceive of a use I could make of a feature, I learned how to make use of it.如果我能够设想出一种利用我可以作的一个特点,我学会了如何利用它。 After that it was just learning by doing.经过这只是边干边学。 But enough about me.但够我。

One of the most powerful features available in Excel is its use of formulas .其中一个最强大的功能,可在Excel是使用了公式 In each cell of an Excel spreadsheet you can enter data, like numbers or text.在每一个细胞的Excel试算表,你可以输入数据,如数字或文字。 You can also enter formulas, and formulas can do almost anything with the data in other cells.你也可以输入公式,公式可以做几乎所有的东西与数据在其它细胞。

In this post I will show you how to use a simple formula to count things in Excel .在这个后我会向你展示如何利用一个简单的公式来计数的东西,在Excel Let’s pose a problem: You have a list of friends who each have a certain amount of money they owe you from different times they borrowed.让我们带来了一个问题:你有一个清单的朋友们,每一个有一定数额的金钱,他们欠你的,从不同的时代,他们借来的。 That’s right, you’re like a bank.是啊,你就像一个银行。 So your list looks like this:所以你们的名单上看起来是这样的:

photobucket

Now, if this is the full extent of your Shylock ways, you could just add up how much each friend owes you.现在,如果这是最大限度的你的夏洛克方式,你可以只添加了多少钱,每个朋友欠你的。 But if you have a lot of this stuff going on and you want to automate the process of adding what each person owes, you could set up your spreadsheet to do it for you, like this:但是,如果你有很多这种东西去和你想的过程自动化加入什么每个人的拖欠,你可以建立你的电子表格做你的,是这样的:

photobucket

So what formulas produce the sums of the amounts owed by each friend?那么什么公式产生的金额欠款数额,由每一个朋友吗? Simple: SUMIF .简单: sumif Using the SUMIF formula, I set up a little table that automatically calculates the sum totals owed by each friend.用sumif公式,我成立了一个小表会自动计算出金额总数所欠每个朋友。

Here’s what I did: I made a list of my friends in Column E. Then in cell F2 I entered the following:这里就是我做过的事:我有一个名单,我的朋友们,在体育栏,然后在细胞F2的,我进入了以下内容:

=SUMIF($B$2:$B$9,”Mike”,$C$2:$C$9) = sumif美元( b 2元: $ b 9元, "迈克" ,为元2 :元元9 )

In the next cell down,在未来的细胞,

=SUMIF($B$2:$B$9,”Janet”,$C$2:$C$9) , = sumif美元( b 2元: $ b 9元, "珍妮" ,为元2 :元元9 )

and so on, only changing the name for Excel to use as its criterion.等,不但改变了名称为Excel的使用,因为它的标准。 What you are telling Excel to do is, look in the range B2 to B9 (the $ signs make it so you can copy the formula without the range being changed); if it sees the word Mike, it should include the adjacent amount in the range C2 to C9 it its sum.你所讲的Excel做的是,看看在靶场B2的到的B9 ( $迹象,它使您可以复制公式,但无射程不被改变) ,如果它认为这个词麦克,它应该包括毗邻的金额在一系列的C2 ,以它为c9其款项。 Simple.简单的。

If you think about it you can probably think of some ways you can use the SUMIF formula.如果你去想它,你大概可以想出一些方法你可以用sumif公式。 But you should only use this power for good, not evil.但你应该只使用这项权力,为良好的,而不是邪恶。

If you enjoyed this post, make sure you 如果你喜欢这个职位,请务必 subscribe to my RSS feed 订阅我的RSS馈送 !

» Filed Under »提起下 MS Office Tips微软Office秘诀

Related Posts相关职位

One Response to “MS Excel Tips and Tricks – How to count things in Excel”一回应" MS Excel的使用技巧和小窍门-如何计数的东西在E xcel"

  1. MJ said on : 麻将说:

    Thanks for the helpful tip!感谢你们的帮助,秘诀!


    Please post your comments/suggestions!请您评论/建议!