Forum Discussion

shardae's avatar
shardae
Copper Contributor
Apr 03, 2020
Solved

Excel Formula Help....

Hello, I am looking for help in developing my Microsoft Excel spreadsheet. I am attempting to create a sort of "calculator". I believe I need to use "If cell contains certain text, put a value in an...
  • mathetes's avatar
    mathetes
    Apr 04, 2020

    shardae 

     

    Not quite. I would like to simply enter a zip code and have the name of the recruiter populate. That's it.

     

    I figured since you had the names of the schools you wanted to be able to give anybody calling from outside of your own zone of responsibility not only the name of the recruiter but also the several schools at which he or she might be found.

     

    I have attempted to sort & filter and did not like the result due to the fact that it would skew the info of the other columns.

     

    I'm not sure what you mean by "it would skew the info of the other columns"

     

    IF there is only a one-to-one relationship between any given zip code and any given recruiter, a simple VLOOKUP would work with that same table.

     

    Excel works far better with a single table as the source for information.

     

    By way of background in Excel basics, it's often important in situations like this to separate the input (or data source) end of things from the output. Part of what made your original layout difficult to work with was that you'd (to this Excel basics way of thinking) confused the two, by putting time and energy into arranging multiple lists of schools and their associated zip codes under the names of each of the several recruiters, thus, in effect, needing whatever formula or function you might come up with have to look in multiple places for a single (and simple) piece of information. You also put time and energy into making it look nice. I have no issue with making things look nice, but would recommend that you begin with first making any workbook function; add the sizzle after it functions.

     

    So here's a variation on what I set up last night, this time using VLOOKUP to find the entered zip code and deliver nothing but the name of the corresponding recruiter. And I just want to note that (because there are quite a few zip codes that appear more than once in your total database, this will just get the first instance of a match. That will serve your stated need IF there aren't any cases of two (or more) recruiters overlapping in a given zip code.

     

Resources