+ Reply to Thread
Results 1 to 3 of 3

Comparing Cells

  1. #1
    Registered User
    Join Date
    03-16-2006
    Posts
    1

    Smile Comparing Cells

    I have four columns
    A1=Name
    B1=Y
    C1=
    D1=Y

    (Y mean yes and blank means no in celss B-D)

    What i would like to do is for excel to compare cells B, C, and D and return the name in A1 if B1 is blank and there is a Y in C1.

    Please help...Thanks!

  2. #2
    Daniel CHEN
    Guest

    Re: Comparing Cells

    Try to use the following formula:

    =If(and(B1="",C1="Y"),A1,"")

    (There is no comparison for cell D1 in your question)

    --
    Best regards,
    ---
    Yongjun CHEN
    =================================
    XLDataSoft - Data Analysis Expert, Excel/VBA Specialist
    - - - - www.XLDataSoft.com - - - -
    Free Excel-Based Data Processing Tool is Available for Download
    =================================

    "gdeleos" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have four columns
    > A1=Name
    > B1=Y
    > C1=
    > D1=Y
    >
    > (Y mean yes and blank means no in celss B-D)
    >
    > What i would like to do is for excel to compare cells B, C, and D and
    > return the name in A1 if B1 is blank and there is a Y in C1.
    >
    > Please help...Thanks!
    >
    >
    > --
    > gdeleos
    > ------------------------------------------------------------------------
    > gdeleos's Profile:
    > http://www.excelforum.com/member.php...o&userid=32540
    > View this thread: http://www.excelforum.com/showthread...hreadid=523249
    >




  3. #3
    Domenic
    Guest

    Re: Comparing Cells

    Try...

    =IF(B1="",IF(C1="Y",A1,""),"")

    Hope this helps!

    In article <[email protected]>,
    gdeleos <[email protected]> wrote:

    > I have four columns
    > A1=Name
    > B1=Y
    > C1=
    > D1=Y
    >
    > (Y mean yes and blank means no in celss B-D)
    >
    > What i would like to do is for excel to compare cells B, C, and D and
    > return the name in A1 if B1 is blank and there is a Y in C1.
    >
    > Please help...Thanks!


+ 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