+ Reply to Thread
Results 1 to 7 of 7

Modify IF Output based on Result

  1. #1
    Forum Contributor
    Join Date
    05-24-2010
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    345

    Modify IF Output based on Result

    Hi,

    I have the following formula in cell G11

    Please Login or Register  to view this content.
    I would also like to add to that, in english, if the answer to G10-1255555 is 0 or less, then write NA.

    does anyone know how to do this please?

    Thank you
    Last edited by DonkeyOte; 01-12-2011 at 11:53 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,576

    Re: If function

    Here, try:

    =IF(G10="","", IF(G10>1255555,G10-1255555, NA()))

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,578

    Re: If function

    =IF(G10<>"",IF(G10-1255555<=0,"NA",G10-1255555),"")
    Is that what you are looking for?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Forum Contributor
    Join Date
    05-24-2010
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    345

    Re: If function

    Thanks a lot mate.

    Works perfectly

  5. #5
    Forum Contributor
    Join Date
    05-24-2010
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    345

    Re: If function

    Wrong post
    Last edited by floricita; 01-12-2011 at 11:47 AM. Reason: mistake

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,576

    Re: If function

    It's a NA() function.. You can get it in some cell as =NA()

    If you want text use ChemistB solution and write "NA" instead of NA()

  7. #7
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Modify IF Output based on Result

    @floricita - please use appropriate thread titles per Forum Rules.

    Given no. of responses already received on this thread I've modified the thread title for you. Going forward given your post count / board experience threads will be locked

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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