+ Reply to Thread
Results 1 to 5 of 5

cannot get IF statment to return data on entire column

  1. #1
    Registered User
    Join Date
    05-12-2010
    Location
    aus
    MS-Off Ver
    Excel 2000
    Posts
    2

    cannot get IF statment to return data on entire column

    Hi All
    need a little help
    i am cleaning up some xls'. im not sure if i am on the right path however
    could anyone reccomend a fix for the following

    i have names from one sheet in coulum
    A
    i have names from another sheet in column
    C
    i have their emails in column
    D

    A and C are from diffferent sheets/data and do not match, so i cant sort them.
    i would like to populate B with emails from D IF they are present or match ( A and C)
    like i said i am not a hundred percent sure i am on the right track, but i have washed the data so the names in A and C are the same.
    i have used the IF formula to work a little however i would like it to search the entire column not just the one row
    id like a more expansive IF than
    Please Login or Register  to view this content.
    < i think that's how i used it.
    i tried something like
    Please Login or Register  to view this content.
    but it didnt work...
    with my limited formula i get results like

    (a)______ (b)___________(c)___(d)
    bob(formula returns email) bob email
    tom (formula returns email) tom email
    harry (formula does not return email) garry email
    garry (formula does not return email) harry email

    thanks for any input.
    if you can find a forumla to populate col B, id be most appreciative
    -edit hope this complies with the rules and the eg book is okay.
    Attached Files Attached Files
    Last edited by techspec; 05-13-2010 at 07:32 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: can anyone reccomend an IF formula for mis matched colmuns

    Welcome to the forum, techspec.

    Please take a few minutes to read the forum rules, and then amend your thread title accodingly, then someone will help get you sorted.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: can anyone reccomend an IF formula for mis matched colmuns

    Create a good sample set of data, 10-20 rows to make it perfectly clear. Point out your desired results.

    Click GO ADVANCED and use the paperclip icon to post up your workbook.


    (after you edit your title, we need that fixed to follow the forum rules)
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: cannot get IF statment to return data on entire column

    Based on your sample (and version) perhaps:

    B1: =IF(ISNA(MATCH($A1,$C:$C,0)),"No email present",VLOOKUP($A1,$C:$D,2,0))
    copied down

  5. #5
    Registered User
    Join Date
    05-12-2010
    Location
    aus
    MS-Off Ver
    Excel 2000
    Posts
    2

    Re: cannot get IF statment to return data on entire column

    you sir or madam have won me the day, i tip my hat.

+ 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