+ Reply to Thread
Results 1 to 4 of 4

Identify value beside cell, match it against another column, then insert value next to it

Hybrid View

Scottcha Identify value beside cell,... 03-18-2016, 02:03 PM
dosydos Re: Identify value beside... 03-18-2016, 02:07 PM
Scottcha Re: Identify value beside... 03-18-2016, 02:12 PM
dosydos Re: Identify value beside... 03-18-2016, 02:16 PM
  1. #1
    Registered User
    Join Date
    03-18-2016
    Location
    London, England
    MS-Off Ver
    Professional Plus 2010
    Posts
    2

    Identify value beside cell, match it against another column, then insert value next to it

    Hi folks.

    What I'm needing to do here is well beyond the scope of my Excel abilities, so I'm really hoping that someone could help me out.

    Basically, there's a column with category names and a column with the category ID (which is currently blank). I need a way to identify the category name in each cell, reference a separate set of columns containing the category name and category ID, and then insert the current category ID into each cell beside it. An example might be easier:

    Currently two columns side by side as so:

    214589w.png

    There are hundreds of category names in the column across thousands of products, and I need to insert the correct category ID beside each category name.

    In another column, I have this:

    anc979.png

    Which lists the correct category ID for each category name.

    What I need is a formula to insert in each AB cell which:

    - Checks the category name value in column AC beside it.
    - Finds the value in column AR (2nd image)
    - When it's found, take the value in AQ to the left of it
    - Insert this value into the AB cell where the formula is

    The result would be that all of the category names in AC will have their correct respective category ID in column AB.

    If anyone could help me with this I would be forever grateful. Thank you.
    Attached Images Attached Images

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    MA, USA
    MS-Off Ver
    365(PC) V:2412
    Posts
    1,477

    Re: Identify value beside cell, match it against another column, then insert value next to

    Assuming the first category ID you need is in AB3 put this in AB3

    =index($aq:$aq,match(ac3,$ar:$ar,0))

  3. #3
    Registered User
    Join Date
    03-18-2016
    Location
    London, England
    MS-Off Ver
    Professional Plus 2010
    Posts
    2

    Re: Identify value beside cell, match it against another column, then insert value next to

    Quote Originally Posted by dosydos View Post
    Assuming the first category ID you need is in AB3 put this in AB3

    =index($aq:$aq,match(ac3,$ar:$ar,0))
    You sir, are a genius.

    I could have spent hours and hours trying to figure that out but you came up with a solution in about 45 seconds. Just shows what I know.

    Thank you very much.

  4. #4
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    MA, USA
    MS-Off Ver
    365(PC) V:2412
    Posts
    1,477

    Re: Identify value beside cell, match it against another column, then insert value next to

    Glad I was able to help.
    If your question is solved please mark this thread as Solved by going to thread tools.

+ 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. Replies: 5
    Last Post: 03-18-2015, 10:14 AM
  2. [SOLVED] UNSOLVED - Identify highlighted cells in column, copy cell value to column B of active row
    By Armitage2k in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-16-2014, 04:42 AM
  3. Replies: 3
    Last Post: 06-22-2014, 08:55 AM
  4. Formula to identify part of a text in cell from range of cells & insert adjacent cell text
    By Novicebutnotforlong in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-19-2013, 02:11 AM
  5. Replies: 4
    Last Post: 08-29-2013, 04:27 PM
  6. Identify cells that contain a match to a cell in another column
    By Calab in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-25-2013, 06:03 AM
  7. Search in every column for a value in a specific row, then insert a column before if match
    By manueslapera in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-18-2012, 04:48 PM

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