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!請您評論/建議!