+ Reply to Thread
Results 1 to 3 of 3

Match Data in Column 1 from table & place number in Column 2

  1. #1
    Registered User
    Join Date
    06-28-2009
    Location
    boston, ma
    MS-Off Ver
    Excel 2003
    Posts
    2

    Match Data in Column 1 from table & place number in Column 2

    Hello,

    I have a column of data (Column A) and a data table of numbers. I want to check Column A for number X. If the X number is equal to any numbers in the table then put "60" in Column B. If the number is not equal to any of the numbers in the table then put "10" in column B. Here is an attached example of what I am trying to do.

    Best,

    Frank
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: Match Data in Column 1 from table & place number in Column 2

    Hi, maybe
    =IF(COUNTIF($D$3:$D$30,A3)>0,60,10)
    or
    =IFERROR(VLOOKUP(A3,$D$3:$E$30,2,FALSE),10)

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Match Data in Column 1 from table & place number in Column 2

    ...Sorry same answer...
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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