+ Reply to Thread
Results 1 to 4 of 4

Look up and if statement

  1. #1
    Forum Contributor
    Join Date
    08-09-2006
    Posts
    147

    Look up and if statement

    I need a formula to look up a value and return an X.
    Example:

    Lookup "Bolt" in A1 and if it finds "Bolt" then go to D1 and if D1 is not null then return an X. How in the world can I do this?

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Look up and if statement

    Maybe

    =IF(AND(A1="Bolt",D1<>""),"X","")

  3. #3
    Forum Contributor
    Join Date
    08-09-2006
    Posts
    147

    Re: Look up and if statement

    That worked, but here is my problem. I need to lookup "Bolt" in column A and if it finds it then if column D is not null the return an X. It may not be on A1 and D1. It maybe on A26 and D26. Does that make since?

  4. #4
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Look up and if statement

    Enter Cutter's solution and drag it down your sheet.
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

+ 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