+ Reply to Thread
Results 1 to 6 of 6

Return a "YES" if there is data in more than 1 column in a row

  1. #1
    Registered User
    Join Date
    05-18-2011
    Location
    North Carolina
    MS-Off Ver
    Excel 2003
    Posts
    29

    Return a "YES" if there is data in more than 1 column in a row

    Hello all. I am trying to find the function or the code to return a "yes" in a cell if any type of data is entered in more than 1 specified column in a row. An example is attached

    Any feedback would be most appreciated! Thanks!
    Attached Files Attached Files
    Last edited by wvpersephone13; 05-27-2011 at 10:26 AM. Reason: Attached Sample

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Return a "YES" if there is data in more than 1 column in a row

    Hi,

    It's much easier to upload a sample workbook than try and replicate the layout in your post and often helps anyone trying to answer your question.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

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

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Return a "YES" if there is data in more than 1 column in a row

    Hi and welcome to the board

    **It's messing up my columns when I actually post this question but hopefully it gives you an idea of what I'mlooking for.**
    That is why you always can upload a sample sheet - Click Go advanced on yoiur original post and clck the paperclip

  4. #4
    Registered User
    Join Date
    05-18-2011
    Location
    North Carolina
    MS-Off Ver
    Excel 2003
    Posts
    29

    Re: Return a "YES" if there is data in more than 1 column in a row

    I've attached a Sample Sheet -thanks!!

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Return a "YES" if there is data in more than 1 column in a row

    Perhaps =IF(COUNTA(A2:C2)>1,"yes","no")

    Pull down as needed

  6. #6
    Registered User
    Join Date
    05-18-2011
    Location
    North Carolina
    MS-Off Ver
    Excel 2003
    Posts
    29

    Thumbs up Re: Return a "YES" if there is data in more than 1 column in a row

    Quote Originally Posted by arthurbr View Post
    Perhaps =IF(COUNTA(A2:C2)>1,"yes","no")

    Pull down as needed
    BEAUTIFUL! I knew there had to be a relatively simple way to do it, I just didn't know what it would be. Thank you so much!

+ 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