+ Reply to Thread
Results 1 to 3 of 3

IF AND formula

  1. #1
    Forum Contributor
    Join Date
    01-15-2008
    Posts
    140

    IF AND formula

    I have been using the following formula that works fine for E718. =IF(J718="","",IF(C718="vs",J718,IF(C718="@",J718-10)))

    But I now need to modify this formula to address the following additional condition. When C718 = "@" I now need to have two possible results based on the value in J718 not just the one. IF C718 = "@" and J718 is also greater than 100 then the value is J718-10. However, if C718 = "@" and the value in J718 is less than 101 then the value is J718 -200.

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: IF AND formula

    Hi tomvh444, not sure if this is what you want:
    =IF(J718="","",IF(C718="vs",J718,IF(C718="@",IF(J718>100,J718-10,J718-200))))

    I assumed J718 is an integer, otherwise your conditions overlap.

    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee
    Last edited by leelnich; 05-29-2017 at 06:49 PM.

  3. #3
    Forum Contributor
    Join Date
    01-15-2008
    Posts
    140

    Re: IF AND formula

    J718 is an integer and the new formula does the job. Once again many thanks for the help.

+ 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. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  2. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  3. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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