+ Reply to Thread
Results 1 to 4 of 4

=(AND Function

  1. #1
    Forum Contributor mikehk's Avatar
    Join Date
    09-05-2017
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    483

    =(AND Function

    I am using this formula for CF, it won't work, please help me correct it.

    =(AND(ISTEXT(2018!$C2)*LEN(2018!$C2),ISTEXT(2018!$E2)*(LEN(2018!$E2),ISTEXT(2018!$G2)*(LEN(2018!$G2))))))



    Thanks.

  2. #2
    Forum Contributor
    Join Date
    09-19-2018
    Location
    USA
    MS-Off Ver
    2016
    Posts
    208

    Re: =(AND Function

    Maybe...

    =AND(ISTEXT('2018'!$C2)*LEN('2018'!$C2),ISTEXT('2018'!$E2)*LEN('2018'!$E2),ISTEXT('2018'!$G2)*LEN('2018'!$G2))

    ? Not sure why your checking to see if a cell contains text, and then multiplying it by its length, to be honest. I'd think just checking for text would suffice to get TRUE/FALSE values for the AND function.

    =AND(ISTEXT('2018'!$C2),ISTEXT('2018'!$E2),ISTEXT('2018'!$G2))

  3. #3
    Forum Contributor mikehk's Avatar
    Join Date
    09-05-2017
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    483

    Re: =(AND Function

    I added a column and simplified the CF condition. Thanks for your help.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,791

    Re: =(AND Function

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

    Please see forum rule #1 and use more meaningful thread titles in future.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. COUNTUNIQUE Function in Google Sheets; Excel lacks a direct counterpart to this function?
    By PivotTablePSHomage in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-18-2018, 05:27 AM
  2. Replies: 3
    Last Post: 08-14-2017, 06:26 AM
  3. Replies: 2
    Last Post: 04-23-2017, 12:04 AM
  4. Calling function inside function. (aka nested function)
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-02-2015, 05:58 AM
  5. Replies: 13
    Last Post: 04-08-2014, 05:46 AM
  6. Replies: 2
    Last Post: 01-15-2014, 11:40 PM
  7. Replies: 1
    Last Post: 03-21-2012, 11:22 AM

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