+ Reply to Thread
Results 1 to 10 of 10

Categorization and Vlookup

  1. #1
    Registered User
    Join Date
    08-24-2013
    Location
    Bremen
    MS-Off Ver
    Excel 2010
    Posts
    4

    Post Categorization and Vlookup

    I have to categorize each restaurant size as ‘Small’, ‘Medium’, ‘Large’ or ‘Really Big’ according to their ‘Annual Store Sales’ by using the following table.

    Annual Sales Levels Size Label
    Less than $1,000,000 Small
    $1,000,000 and more Medium
    $2,000,000 and more Large
    $3,000,000 and more Really Big

    Here's the file

    Data.xlsx

    How to use Vlookup function to resolve this ?

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Categorization and Vlookup

    Hi,

    Is this what you wanted?
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Categorization and Vlookup

    Is this a homework question?

    See the attached file.

    In N3 (green cell) you find the result.

    Please reply.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Registered User
    Join Date
    08-24-2013
    Location
    Bremen
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Categorization and Vlookup

    Yes, but i ned to do according to these instructions
    Use ‘Restaurant Size by Sales’ column in ‘Information’ worksheet to categorize each restaurant size as ‘Small’, ‘Medium’, ‘Large’ or ‘Really Big’ according to their ‘Annual Store Sales’ by using the following table. (You need to use VLOOKUP function for this; and the table needs to be stored in a new worksheet: ‘Size Table’)
    Annual Sales Levels Size Label
    Less than $1,000,000 Small
    $1,000,000 and more Medium
    $2,000,000 and more Large
    $3,000,000 and more Really Big

  5. #5
    Registered User
    Join Date
    08-24-2013
    Location
    Bremen
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Categorization and Vlookup

    Quote Originally Posted by oeldere View Post
    Is this a homework question?

    See the attached file.

    In N3 (green cell) you find the result.

    Please reply.
    Thanks mate :D

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Categorization and Vlookup

    @ajryan88

    Tip:

    You can better make an table of that data (like I did)
    (of course this is an personal opinion).

    Why:

    1) if you have more than 7 options you won't be able to make this formula in an Excel 2003 environment

    2) it is much easier to change if, if the criteria changes

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Categorization and Vlookup

    @Einsjam

    Please answer the question, Is this an homework question?

  8. #8
    Registered User
    Join Date
    08-24-2013
    Location
    Bremen
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Categorization and Vlookup

    yes this is a homework question, and I didnt understand the VLookup function, i knew how to use the IF statement to categorize, but the teacher had specifically asked to use the Vlookup function

  9. #9
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Categorization and Vlookup

    Thanks oeldere! Of course, the approximate VLOOKUP. So obvious in hindsight!

  10. #10
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Categorization and Vlookup

    @Einsjam / ajryan88

    Thanks for the reply,

    Glad I could help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Auto Categorization
    By PurpleBerry in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-12-2013, 07:04 PM
  2. Categorization
    By jdizzle921 in forum Excel General
    Replies: 1
    Last Post: 02-25-2012, 09:52 PM
  3. Auto Categorization
    By jitendrarameja in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-24-2011, 02:00 AM
  4. Auto categorization macro
    By bebo in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-21-2011, 12:51 PM
  5. [SOLVED] Categorization of expenses.
    By John Henry in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 07-24-2005, 07:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1