MS Excel:如何将收入范围分成几组?

时间:2012-02-18 08:05:43

标签: excel group-by excel-2007 excel-formula

我有一个有2500行的表。

Income的值为范围。

10000 - 14999
100000 - 149999
15000 - 19999
150000 - 174999
175000 - 199999
20000 - 24999
200000 - 249999
25000 - 29999
250000+
30000 - 34999
35000 - 39999
40000 - 44999
45000 - 49999
50000 - 54999
55000 - 59999
60000 - 64999
65000 - 74999
75000 - 99999
Under 10000

有些是空白单元格。

我需要根据此

创建一个新列
1.$ 30000- $50000- Low Income Group
2.$ 51000-$125,000-Medium Income Group
3.$ 125,00-$ 250,000-Higher Medium Income Group
4.$ 251,000- $ 500,000-Donor Group
5.$ 500,000 and Over- Bigger Donor Group

我不擅长Excel,有人可以指导我完成吗?

我将不胜感激,我正在使用Excel 2010

1 个答案:

答案 0 :(得分:1)

假设您输入如下单元格A所示,并且您希望输出如单元格B& C.然后你需要在Cell D,Cell E& C中写下我所拥有的东西。 Cell F.

获得输出,如单元格B&你需要在下面写一下。

Cell B1&中的

=VLOOKUP(A2,$D$2:$F$20,2,FALSE)单元格C1中的=VLOOKUP(A1,$D$1:$F$19,3,FALSE)。公式为列的拖动。

+ Cell A         +  Cell B     +    Cell C       ++      Cell D        +     Cell D     +     Cell F        +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+10000 - 14999   + US Dollar 1 +  Income Group 1 ++   10000 - 14999    +  US Dollar 1   +   Income Group 1  +
+10000 - 14999   + US Dollar 1 +  Income Group 1 ++   100000 - 149999  +  US Dollar 2   +   Income Group 2  +
+10000 - 14999   + US Dollar 1 +  Income Group 1 ++   15000 - 19999    +  US Dollar 3   +   Income Group 3  +
+100000 - 149999 + US Dollar 2 +  Income Group 2 ++   150000 - 174999  +  US Dollar 4   +   Income Group 4  +
+25000 - 29999   + US Dollar 8 +  Income Group 8 ++   175000 - 199999  +  US Dollar 5   +   Income Group 5  +
+250000+         + US Dollar 9 +  Income Group 9 ++   20000 - 24999    +  US Dollar 6   +   Income Group 6  +
+                +             +                 ++   200000 - 249999  +  US Dollar 7   +   Income Group 7  +
+                +             +                 ++   25000 - 29999    +  US Dollar 8   +   Income Group 8  +
+                +             +                 ++   250000+          +  US Dollar 9   +   Income Group 9  +
+                +             +                 ++   30000 - 34999    +  US Dollar 10  +   Income Group 10 +
+                +             +                 ++   35000 - 39999    +  US Dollar 11  +   Income Group 11 +
+                +             +                 ++   40000 - 44999    +  US Dollar 12  +   Income Group 12 +
+                +             +                 ++   45000 - 49999    +  US Dollar 13  +   Income Group 13 +
+                +             +                 ++   50000 - 54999    +  US Dollar 14  +   Income Group 14 +
+                +             +                 ++   55000 - 59999    +  US Dollar 15  +   Income Group 15 +
+                +             +                 ++   60000 - 64999    +  US Dollar 16  +   Income Group 16 +
+                +             +                 ++   65000 - 74999    +  US Dollar 17  +   Income Group 17 +
+                +             +                 ++   75000 - 99999    +  US Dollar 18  +   Income Group 18 +
+                +             +                 ++   Under 10000      +  US Dollar 19  +   Income Group 19 +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

注意

您需要更新E& a列; F根据您的要求。如果您需要我创建的示例excel,请告诉我您的电子邮件ID。

祝你好运!!!