+ Reply to Thread
Results 1 to 7 of 7

Removal of "False" message

  1. #1
    Registered User
    Join Date
    01-19-2011
    Location
    The Carribeans
    MS-Off Ver
    Excel 2007
    Posts
    29

    Removal of "False" message

    I have a spreadsheet that contains certain formulas based on constants stored in another sheet. I have created this formula now which goes like this

    =IF(C3=Staff_Profile!$C$5,IF(Staff_Profile!$C$2="Expat",2000," "))

    The above formula work on two conditions :

    1) the staff has joined in a particular month

    AND

    2) the staff profile is "Expat"

    If both conditions are satisfied then the formula applies 2000 $ recruitment charges , else it is 0 (zero)

    While it returns 2000 as true value where it is required, for rest of the cells it returns value "FALSE", which I dont want to see. I need to see 0 (ZERO). I am confused , as to how this can be achieved.

    Appreciate your help.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,502

    Re: Removal of "False" message

    Have you tried adding IFERROR to it?
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Removal of "False" message

    hi wallywater. maybe like this?
    =IF(AND(C3=Staff_Profile!$C$5,Staff_Profile!$C$2="Expat"),2000,0)

    not sure how the blank comes into play, since you didn't mention it.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Registered User
    Join Date
    01-19-2011
    Location
    The Carribeans
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: Removal of "False" message

    Quote Originally Posted by Sambo kid View Post
    Have you tried adding IFERROR to it?
    I didnt try that; just thinking, does'nt it apply to remove those #N/A error messages ?

  5. #5
    Registered User
    Join Date
    01-19-2011
    Location
    The Carribeans
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: Removal of "False" message

    Quote Originally Posted by benishiryo View Post
    hi wallywater. maybe like this?
    =IF(AND(C3=Staff_Profile!$C$5,Staff_Profile!$C$2="Expat"),2000,0)

    not sure how the blank comes into play, since you didn't mention it.
    Bingo ! That worked... Thanks a tonne
    Last edited by wallywalter; 11-07-2013 at 09:08 AM. Reason: Found it working !

  6. #6
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,502

    Re: Removal of "False" message

    Unlike other posters on this forum I have more difficulty visualizing formulas if I can't put them in context so I would need to see a sample of the data to figure out how to get you different results.
    Have you tried Benishiryo's reply yet? Posting a sample will likely help, if not by me certainly by others.

    EDIT: sorry, your reply was added while i was typing.

  7. #7
    Registered User
    Join Date
    01-19-2011
    Location
    The Carribeans
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: Removal of "False" message

    Quote Originally Posted by Sambo kid View Post
    Unlike other posters on this forum I have more difficulty visualizing formulas if I can't put them in context so I would need to see a sample of the data to figure out how to get you different results.
    Have you tried Benishiryo's reply yet? Posting a sample will likely help, if not by me certainly by others.

    EDIT: sorry, your reply was added while i was typing.
    This forum is truly amazing ! Time and again it has proven of high value. Its matter of minutes and you get response from people around the globe. Thank you .......

+ 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. MSoffice Outlook 2003 message to be saved in C dir with the file name "From" "Sent" "Sub"
    By shailendra0509 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2012, 01:32 AM
  2. Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)" not working
    By redders in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2011, 03:52 PM
  3. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  4. Replies: 7
    Last Post: 05-13-2006, 05:02 PM
  5. [SOLVED] IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE")
    By Souris in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-17-2005, 01:05 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