+ Reply to Thread
Results 1 to 2 of 2

If specific columns have value then put Yes

  1. #1
    Registered User
    Join Date
    10-24-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2013
    Posts
    87

    If specific columns have value then put Yes

    This might be a basic question but I am wondering if there is a formula or macro that can help me out.

    This is what I am looking for:

    If certain specific cells contain values, then another cell will put a "yes" in it.

    Ie.) If Cells A1, B1, C1, D1 have a value in it then cell E1 should say "yes". If one of these cells is blank then E1 should either be blank or say "no".

    Currently the formula I have is:

    =IF(ISBLANK(A1), IF(ISBLANK(B1), IF(ISBLANK(C1),IF(ISBLANK(D1), "",D1,C1),B1),A1)
    (This doesn't work as the error "You’ve entered too many arguments for this function"

    =IF(ISBLANK(A1), IF(ISBLANK(B1), IF(ISBLANK(C1), "",C1),B1),A1)
    (This formula does work though as it has less arguments)


    Please let me know if this is possible. Thank you in advance for your help

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: If specific columns have value then put Yes

    Consider:

    =IF(COUNTBLANK(A1:D1)>0,"no","yes")
    Gary's Student

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Copy specific columns to specific columns in another worksheet
    By mahat in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-13-2014, 11:24 AM
  2. Programming to automatically send text to specific sheets and specific columns.
    By GlobalExcelller in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-21-2014, 10:07 PM
  3. Use VBA to pull cells in specific columns in a batch into specific spreadsheet
    By Jaso in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2013, 08:50 PM
  4. Replies: 8
    Last Post: 04-04-2013, 08:02 PM
  5. Macro to copy specific data to specific columns from a pivot table
    By Raju Radhakrishnan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-09-2012, 07:24 PM

Tags for this Thread

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