+ Reply to Thread
Results 1 to 7 of 7

Classification to a specific Range

  1. #1
    Registered User
    Join Date
    03-29-2012
    Location
    Santiago de Chile
    MS-Off Ver
    Excel 2007
    Posts
    36

    Classification to a specific Range

    Hi,

    I have a list of Companies indicated by a specific Number in this case "SIC Code" (column B). Given are different industries in this case (Consumer, Manufactoring, Others) with specific ranges in column A. In column C I would like to indicate the respective Industry classification according to each SIC code. Attached is a simplified version.

    I hope somebody can help me with that. Thanks in advance.

    Paul
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Classification to a specific Range

    Hi Paul,
    it requires a little reorganization. First you need to make a table with the lowest value for each grouping in 1 column with the industry in the next (Col E and F). Second, change your SEC numbers to numbers not text. You can format cells>Custom > 0000 to keep the preceeding zeros.

    Then in C2

    =VLOOKUP(B2,$E$2:$F$22,2) dragged down.
    Will that work for you? See attachment
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    03-29-2012
    Location
    Santiago de Chile
    MS-Off Ver
    Excel 2007
    Posts
    36

    Re: Classification to a specific Range

    Hi,
    Thank you for the quick response. Your result looks good. The only problem is that the reorganization will be quite time consuming as i am facing 12 industry ranges with more than 15 subranges.Well, if there is no other way than using the vlookup with true, I will have to deal with it then. Thank you very much i will try it out and let you know if it works.
    regards,
    Paul

  4. #4
    Registered User
    Join Date
    03-29-2012
    Location
    Santiago de Chile
    MS-Off Ver
    Excel 2007
    Posts
    36

    Re: Classification to a specific Range

    ok so i have reorganized everything and it should actually work. However there seems to be a small formating problem. If you could help me, that would be great. I cant find the mistake
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-29-2012
    Location
    Santiago de Chile
    MS-Off Ver
    Excel 2007
    Posts
    36

    Re: Classification to a specific Range

    ok problem solved, somehow it blocked me from formating it into numbers

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Classification to a specific Range

    Glad you got it working. Good luck.

  7. #7
    Registered User
    Join Date
    03-29-2012
    Location
    Santiago de Chile
    MS-Off Ver
    Excel 2007
    Posts
    36

    Re: Classification to a specific Range

    thank you very much

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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