+ Reply to Thread
Results 1 to 7 of 7

Where column a and b matches col d and e then put the value of f in col c

  1. #1
    Registered User
    Join Date
    02-06-2019
    Location
    California, USA
    MS-Off Ver
    2016
    Posts
    7

    Question Where column a and b matches col d and e then put the value of f in col c

    Here's what I have, haven't used Excel in a while and need help

    Col a Col b Col C Col d Col E Col F
    Server1 DB1 Null Server2 DB1 100
    Server1 DB2 Null Server2 DB2 80
    Server 2 DB1 Null Server1 DB1 50
    Server2 DB2 Null Server1 DB2 20


    When col A and B match Col D and E, enter the value of col F in Col C

    So this is what I would end up with

    Col a Col b Col C Col d Col E Col F
    Server1 DB1 50 Server2 DB1 100
    Server1 DB2 20 Server2 DB2 80
    Server 2 DB1 100 Server1 DB1 50
    Server2 DB2 20 Server1 DB2 20

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Where column a and b matches col d and e then put the value of f in col c

    Hi & welcome to the board.
    In C2 copied down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

  3. #3
    Registered User
    Join Date
    02-06-2019
    Location
    California, USA
    MS-Off Ver
    2016
    Posts
    7

    Re: Where column a and b matches col d and e then put the value of f in col c

    Thanks for the welcome and the quick response!
    It did give me what I needed, but now I realize I need a third column matched, so Col A and B, actually D and E and also F, the other col to match are K and L and M and then take the value of N and put it in col H
    How would I add the third match?
    Thanks in advance

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Where column a and b matches col d and e then put the value of f in col c

    If there will only ever be 1 match try this simpler formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    02-06-2019
    Location
    California, USA
    MS-Off Ver
    2016
    Posts
    7

    Re: Where column a and b matches col d and e then put the value of f in col c

    It's working, thanks I appreciate your help!!!
    Last edited by w84me; 02-07-2019 at 07:16 PM.

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Where column a and b matches col d and e then put the value of f in col c

    You're welcome & thanks for the feedback

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Where column a and b matches col d and e then put the value of f in col c

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. [SOLVED] INDEX on a cell in Column H if field $A4 matches Column D *OR* Matches Column E?
    By StevenCranford in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-09-2017, 09:05 PM
  2. [SOLVED] Summing the matches of one column only if its corresponding description matches a list
    By bishop-jese-erl in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-19-2015, 04:26 PM
  3. Replies: 5
    Last Post: 05-03-2014, 03:00 AM
  4. [SOLVED] Delete rows if column A matches number and meets condition in another column
    By stokiejames09 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-05-2014, 05:03 PM
  5. Replies: 1
    Last Post: 09-26-2013, 12:16 PM
  6. Replies: 3
    Last Post: 06-22-2013, 12:54 PM
  7. Replies: 4
    Last Post: 04-14-2011, 03:46 AM

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