+ Reply to Thread
Results 1 to 5 of 5

how do I write this formula? If column B contains column A value, return value in column C

  1. #1
    Registered User
    Join Date
    01-15-2014
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    4

    how do I write this formula? If column B contains column A value, return value in column C

    How do I write this formula?

    If column B contains column A value, return value in column C.

    Example:

    Column A Column B Column C
    1026 BLACKHAW ST 1022 Blackhaw St Friendswood, MD. 03079-1002 ##
    835 WYCLIFFE DR 1026 Blackhaw St Friendswood, MD. 03079-1002 SS
    618 WOODBEND LN 1100 Blackhaw St Friendswood, MD. 03079-1003 QQ
    FOREST DR 1102 Blackhaw St Friendswood, MD. 03079-1003 WW
    PEBBLEBROOK DR 1106 Blackhaw St Friendswood, MD. 03079-1003 QQ
    Carolcrest 847 Wycliffe Dr Friendswood, MD. 03079-3511 AA
    CHADBOURNE DR 843 Wycliffe Dr Friendswood, MD. 03079-3511 QQ
    Britoak 839 Wycliffe Dr Friendswood, MD. 03079-3511 AA

  2. #2
    Registered User
    Join Date
    01-15-2014
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: how do I write this formula? If column B contains column A value, return value in colu

    sorry, it's scrambled.

  3. #3
    Registered User
    Join Date
    01-15-2014
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: how do I write this formula? If column B contains column A value, return value in colu

    I really need help.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: how do I write this formula? If column B contains column A value, return value in colu

    Hi and welcome to the forum

    You ptretty much had it...
    If column B contains column A value, return value in column C.
    =IF(A2=B2,C2,"")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    01-15-2014
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: how do I write this formula? If column B contains column A value, return value in colu

    actually this won't work, because column A value doesn't exact match column B.

    A1: 123 main street
    A2: 256 main

    B1: 256 main dr Maryland
    B2: 456 Washington DR Maryland
    B3: 123 main street Maryland

    C1: QQ
    C2: WW
    C3: $$


    So in this example, since B1 contains A2 value; B3 contains A1 value, I need to D2 return value to be C1, D1 return value to be N/A, D3 return value to be $$

    Does this make sense?

+ 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. Return the Title of a column if the column is the highest column with data
    By williamspage in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-22-2013, 10:05 AM
  2. [SOLVED] Search Value of column E if exist return value of column B put result in column P
    By hassan khansa in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-23-2013, 11:39 AM
  3. Formula to find all matches in column A and return cells from column C
    By GenericPat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-19-2012, 04:56 PM
  4. [SOLVED] Simple formula to match column A, sheet1, with column A, sheet2, return text answer
    By Connie5761 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-14-2012, 02:56 PM
  5. Replies: 3
    Last Post: 01-10-2006, 06:10 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