+ Reply to Thread
Results 1 to 8 of 8

How to get 0 instead of word 'False' in formula output?

  1. #1
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    How to get 0 instead of word 'False' in formula output?

    Hi friends,

    There is a list of states in column ‘I’ on personal sheet.
    There is a list of districts in column ‘J’ on personal sheet.
    There is a remark in column ‘AI’ on personal sheet.

    I want to count the remark ‘ExpiredMSI’ on ‘Office’ sheet in column ‘S’.
    It should match the state name in cell ‘P6’ and the districts of it in column ‘P’ from row 9.

    The formula is giving correct output if the match criteria is matching but if it’s not matching then it produces ‘false’ output in the column ‘S’ which I don’t want. If the criteria is not match then I want output ‘0’ zero instead of ‘false’ word.

    Any help will be highly appreciated.

    Thanking you,
    Attached Files Attached Files
    Sincerely,

    mso3

  2. #2
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,412

    Re: How to get 0 instead of word 'False' in formula output?

    Hi mso3,

    You are missing the False argument in your IF formula... Try this:
    Please Login or Register  to view this content.
    GC Excel

    If this post helps, then click the star icon (*) in the bottom left-hand corner of my post to Add reputation.

  3. #3
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: How to get 0 instead of word 'False' in formula output?

    Hello GC Excel,

    Thank you for the formula but now it's showing 0 output if the criteria is not match but not giving correct output in this case 2.

    I want the count output if the criteria is match and 0 output if the criteria not match.

    Thank you.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: How to get 0 instead of word 'False' in formula output?

    seems to work for me?
    T9=IF($P9="","",IF(Personal!$I$9:$I$5000=$P$6,COUNTIFS(Personal!$AI$9:$AI$5000,"ExpiredMSI",Personal!$J$9:$J$5000,Office!$P9),0))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: How to get 0 instead of word 'False' in formula output?

    Hi GC EXCEL,
    Sorry, I pasted the formula in row 9 so the error occur. The formula is perfect as per requirement.

    Hi Ford,
    Thank you for pointing out my mistake. I didn't saw that the row reference was row 10 so there was a error.

    Thank you to both of you for your kind assistance to solve the problem.

    Have a nice time.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: How to get 0 instead of word 'False' in formula output?

    Thats OK, I did teh exact same thing - put it row 9, but it was referencing row 10

    Im happy you got it resolved

  7. #7
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,412

    Re: How to get 0 instead of word 'False' in formula output?

    Oups. Sorry about the confusion.
    I tried the formula where the result was FALSE (in row 10) and I changed it from there.

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: How to get 0 instead of word 'False' in formula output?

    Thanks for the feedback

+ 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. How to add a Rule to output TRUE/FALSE into a column ?
    By zerodegree in forum Excel General
    Replies: 13
    Last Post: 10-25-2014, 12:08 PM
  2. [SOLVED] Make formula output another word again in the next row down
    By tlacloche in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-15-2014, 01:13 PM
  3. [SOLVED] Index Match formula with Or Exact True/False output
    By Karroog in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-10-2014, 02:32 PM
  4. Change default checkbox output true false into text
    By safonso in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-02-2013, 03:31 PM
  5. [SOLVED] return the word false
    By tsmor in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-26-2013, 02:16 PM
  6. Exclude blank/FALSE cells in in Excel array IF formula output
    By sushix in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-08-2013, 11:42 AM
  7. Output loop to Word?
    By RowdyRed94 in forum Excel General
    Replies: 7
    Last Post: 12-27-2006, 03:23 PM

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