+ Reply to Thread
Results 1 to 7 of 7

Changing FALSE result text in nested COUNTIF

  1. #1
    Registered User
    Join Date
    09-18-2018
    Location
    UK
    MS-Off Ver
    MS365 version 2409
    Posts
    15

    Changing FALSE result text in nested COUNTIF

    Hello,

    I'm working on an availability spreadsheet to book venues, and have created a column that tells me if I have held a date ("Held"), requested a date ("Requested") or if I have done nothing with that date.

    Currently, if I have done nothing with that date, it comes up with a "FALSE" result, but I would like it to say "Free Day", however, I can't seem to find where the 0 value is that I need to change.

    The formula I've written is as below, and I've tried a few different versions but can't seem to get the right result.

    =IF(COUNTIF(D12:U12,"*Held*")=2,"Double booked",IF(COUNTIF(D12:U12,"*Held*")=1,"Held",IF(COUNTIF(D12:U12,"*Requested*")=1,"Requested")))

    Image below of the table for clarity, with the formula above in the second column.

    Screenshot 2024-12-05 105611.png

    Are you able to suggest a solve for this?
    Thanks!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,924

    Re: Changing FALSE result text in nested COUNTIF

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. The sample layout accurately matches that of your real data. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.

    Administrative Note:

    Is your forum profile up-to-date and showing ONLY the oldest Excel PRODUCT that you need this to work for?

    Members will tailor the solutions they offer to the Office PRODUCT (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your product is for Mac, please also state this.

    The four most recent Excel products are Excel 2019, Excel 2021, Excel 2024 and MS365 - if you are using MS365, please give this name along with the version number in your profile (e.g. MS365 Version 2306). This is in the About Excel section further down the Account page.

    Thanks.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    49,134

    Re: Changing FALSE result text in nested COUNTIF

    Something like:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    09-18-2018
    Location
    UK
    MS-Off Ver
    MS365 version 2409
    Posts
    15

    Re: Changing FALSE result text in nested COUNTIF

    Hello,

    AliGW - apologies, I've not been on here for a long time and should have taken the time to re-read the rules! Thanks for pointing it out.

    TMS - thank you, this seems to have worked fine! I knew it was something simple I had missed!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,924

    Re: Changing FALSE result text in nested COUNTIF

    Your profile still says 2010 - is this correct???

    If not, please update it.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,924

    Re: Changing FALSE result text in nested COUNTIF

    Thanks for updating your profile.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    49,134

    Re: Changing FALSE result text in nested COUNTIF

    Quote Originally Posted by Tigerlilygem View Post
    Hello,

    AliGW - apologies, I've not been on here for a long time and should have taken the time to re-read the rules! Thanks for pointing it out.

    TMS - thank you, this seems to have worked fine! I knew it was something simple I had missed!
    You're welcome. Thanks for the rep.

+ 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] FALSE result from deeply nested IF formula
    By Apaka in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 04-22-2024, 12:17 PM
  2. [SOLVED] Changing IF statement result from FALSE to null
    By paulsmith2710 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-22-2023, 10:28 AM
  3. Nested if statements comparing four columns getting a FALSE result
    By Bevg in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-29-2020, 04:30 PM
  4. Getting rid of false result from nested if statements
    By jmenzel30 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-31-2018, 06:56 AM
  5. [SOLVED] Nested HLOOKUP returns "FALSE" in cell where result should be "0.00"
    By gammccubbin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-09-2016, 09:49 AM
  6. Replies: 5
    Last Post: 06-15-2010, 10:51 AM
  7. Excel 2007 : Nested IF Statements - Tracing a False Result?
    By jackinthebox in forum Excel General
    Replies: 2
    Last Post: 04-13-2010, 09:18 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