Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to categorize data based on values in Excel?

doc categorize by value 1

Supposing, you need to categorize a list of data based on values, such as, if data is greater than 90, it will be categorized as High, if is greater than 60 and less than 90, it will be categorized as Medium, if is less than 60, categorized as Low as following screenshot shown. How could you solve this task in Excel?

Categorize data based on values with If function

Categorize data based on values with Vlookup function


Combine / import multiple worksheets or csv files into one worksheet or workbook:

In your daily work, to combine multiple worksheets, workbooks and csv files into one single worksheet or workbook may be a huge and headachy work. But, if you have Kutools for Excel, with its powerful utility – Combine, you can quickly combine multiple worksheets, workbooks or csv files into one worksheet or workbook.

doc calculate letter grade 1

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Categorize data based on values with If function

To apply the following formula to categorize the data by value as you need, please do as this:

Enter this formula: =IF(A2>90,"High",IF(A2>60,"Medium","Low")) into a blank cell where you want to output the result, and then drag the fill handle down to the cells to fill the formula, and the data has been categorized as following screenshot shown:

doc categorize by value 2


Categorize data based on values with Vlookup function

If there are multiple grades need to be categorized as below screenshot shown, the If function may be troublesome and difficult to use. In this case, the Vlookup function can do you a favor. Please do as follows:

doc categorize by value 3

Enter this formula: =VLOOKUP(A2,$F$1:$G$6,2,1) into a blank cell, and then drag the fill handle down to the cells you need to get the result, and all data has been categorized at once, see screenshot:

doc categorize by value 4

Note: In the above formula, B2 is the cell that you want to get the categorized grade, F1:G6 is the table range you want to look for, the number 2 indicates the lookup table column number which contains the values you want to return.



Recommended Productivity Tools for Excel

Kutools for Excel Helps You Always Finish Work Ahead of Time, and Stand Out From Crowd

  • More than 300 powerful advanced features, designed for 1500 work scenarios, increasing productivity by 70%, give you more time to take care of family and enjoy life.
  • No longer need memorizing formulas and VBA codes, give your brain a rest from now on.
  • Become an Excel expert in 3 minutes, Complicated and repeated operations can be done in seconds, 
  • Reduce thousands of keyboard & mouse operations every day, say goodbye to occupational diseases now.
  • 110,000 highly effective people and 300+ world-renowned companies' choice.
  • 60-day full features free trial. 60-day money back guarantees. 2 years of free upgrade and support.

Brings Tabbed Browsing and Editing to Microsoft Office, Far More Powerful Than The Browser's Tabs

  • Office Tab is designed for Word, Excel, PowerPoint and Other Office Applications: Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.