Page 1
Page 1
Started By
Message

I figured out how to frame my excel problem!

Posted on 1/21/16 at 10:50 pm
Posted by yankeeundercover
Buffalo, NY
Member since Jan 2010
36373 posts
Posted on 1/21/16 at 10:50 pm
I have column B which has names of employees and column A has employee ID. How do I add the name in column B if column A contains same exact employee ID more than once?

eta: obviously column B isn't completely filled out with names
This post was edited on 1/21/16 at 10:53 pm
Posted by Spock's Eyebrow
Member since May 2012
12300 posts
Posted on 1/21/16 at 11:11 pm to
Add the name to what?

In any case, see if COUNTIF will help you.
Posted by yankeeundercover
Buffalo, NY
Member since Jan 2010
36373 posts
Posted on 1/21/16 at 11:25 pm to
Basically, Col.B doesn't have all the employee names and there's 12,000 lines.

All of the employee ID's are there in Col.A... so I want to scrub the Col.A for an associated "partner" in Col.B...

I need to populate Col.B if the number matches from Col.A...

If Col.A has a Name Match in Col.B (save that for later), then, if Col.B is BLANK and Col.A matches another Col.B (that isn't BLANK) then replace BLANK with the Employee Name...
Posted by yankeeundercover
Buffalo, NY
Member since Jan 2010
36373 posts
Posted on 1/21/16 at 11:44 pm to
The closest thing I could come up with is:

IF A has EMPLOYEE ID and NAME is present in B (anywhere), then replace "BLANK" with NAME
Posted by SlapahoeTribe
Tiger Nation
Member since Jul 2012
12083 posts
Posted on 1/22/16 at 5:31 am to
Okay, you want to go from this:



And have it automatically do this:



Is that what you want it to do?
Posted by jeff5891
Member since Aug 2011
15761 posts
Posted on 1/22/16 at 7:07 am to
Do you know how to use sql? Much easier for this
Posted by TU Rob
Birmingham
Member since Nov 2008
12732 posts
Posted on 1/22/16 at 8:58 am to
Copy the columns into another sheet in the workbook. Sort by the Names so that the blanks are at the bottom. Delete those rows. In the original sheet, use a Vlookup function. =vlookup,A1,then highlight the cells on the other tab, and press F4,2,false) Drag this formula down all of column B and it will return the values for every cell. Then you can copy/paste special values.
Posted by CubsFanBudMan
Member since Jul 2008
5064 posts
Posted on 1/22/16 at 9:58 am to
quote:

Copy the columns into another sheet in the workbook. Sort by the Names so that the blanks are at the bottom. Delete those rows. In the original sheet, use a Vlookup function. =vlookup,A1,then highlight the cells on the other tab, and press F4,2,false) Drag this formula down all of column B and it will return the values for every cell. Then you can copy/paste special values.



This is how I would start. Only change would be to convert the lookup tab into a table so that you can add employees to the table without having to update the vlookup range.
Posted by FreddieMac
Baton Rouge
Member since Jun 2010
20970 posts
Posted on 1/22/16 at 3:18 pm to
Write a macro to do this, it would be easier than a formula.

first pageprev pagePage 1 of 1Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on Twitter, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookTwitterInstagram