+ Reply to Thread
Results 1 to 8 of 8

Match formula (match from two different columns

  1. #1
    Registered User
    Join Date
    11-03-2020
    Location
    Manchester
    MS-Off Ver
    MS Excel 365
    Posts
    44

    Match formula (match from two different columns

    Hi Guys,

    i know this may seem easy for some of you guys, but i am after a formula that looks to match a value on one cell against an other to see if match and if not, looks at the next cell for a match

    Example

    Does the value in B3 match the value in K3 (if yes return 'same' in cell L) if not, does the value in C3 match the value in K3 if yes return 'same' in cell L. IF nether return 'miss match'

    I hope want i've put above makes sense and i have also attached a excel sheet

    Many Thanks]
    MHERSI
    Attached Files Attached Files
    Last edited by MHERSI; 11-19-2020 at 09:42 AM.

  2. #2
    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,731

    Re: Simple formula required ASAP please

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)

    Also, please note that we don't do things ASAP - the help is free, so don't include ASAP in your updated title. 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.

  3. #3
    Registered User
    Join Date
    11-03-2020
    Location
    Manchester
    MS-Off Ver
    MS Excel 365
    Posts
    44

    Re: Simple formula required ASAP please

    Hi Ali,

    I've changed the title and took out the 'ASAP' part.

    Does this help?

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Match formula (match from two different columns

    Yep. try this, copied down:

    =IF(C3=K3,"Same","Mismatch")
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Registered User
    Join Date
    11-03-2020
    Location
    Manchester
    MS-Off Ver
    MS Excel 365
    Posts
    44

    Re: Match formula (match from two different columns

    Thanks for the response Glenn

    But i think what i need is a nested formula. for example, i want a formula that says does C3 = K3, IF NOT, does D3 = K3 if yes to either one of them return 'same'. but if K3 does not match either cell that is (C3 or D3) return missmatch

    hope that makes sense

    Many Thanks
    MHERSI

  6. #6
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,211

    Re: Match formula (match from two different columns

    =IF(or(C3=K3,b3=k3),"Same","Mismatch")


    you have been qioting c & d in one place and b&C in another

    or
    if(k3="","",IF(or(C3=K3,b3=k3),"Same","Mismatch"))

  7. #7
    Registered User
    Join Date
    11-03-2020
    Location
    Manchester
    MS-Off Ver
    MS Excel 365
    Posts
    44

    Re: Match formula (match from two different columns

    davsth, the formula you have sent through worked like a treat - thank you so much. I have got one more ask, not sure if to start a new thread, but i think you will know. basically, instead of saying 'mismatch' when neither C3 OR B3 cell match K3 I want it to show the differences.


    =IF(or(C3=K3,b3=k3),"Same"," (here I want to show the different in price if it is a mismatch")

    Hope the above makes sense

    Many Thank

    PS; Glen thank thank you for trying also

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Match formula (match from two different columns

    As the plural, "differences", is used, I assume that the difference between K3 and both B3 and C3 should be displayed.
    If that is the case try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Simple IF Formula help required
    By badmnton in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 05-17-2019, 12:38 PM
  2. match formula help required ASAP ps
    By m_789 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-04-2014, 06:51 AM
  3. simple Formula required !
    By boltoncalling in forum Excel General
    Replies: 6
    Last Post: 01-11-2012, 09:05 AM
  4. Need help on a simple formula asap plz
    By loll_l in forum Excel General
    Replies: 1
    Last Post: 07-06-2011, 09:13 AM
  5. need help asap with simple script
    By nygwnj in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-19-2009, 04:53 PM
  6. Simple Count formula required
    By mike_vr in forum Excel General
    Replies: 2
    Last Post: 01-23-2006, 11:35 AM
  7. simple validation formula required
    By archeti in forum Excel General
    Replies: 13
    Last Post: 10-27-2005, 06:05 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