+ Reply to Thread
Results 1 to 4 of 4

Using multiple If statements with a negative percentage number

  1. #1
    Forum Contributor
    Join Date
    06-03-2009
    Location
    Phoenix, Az
    MS-Off Ver
    MS Office 365
    Posts
    145

    Using multiple If statements with a negative percentage number

    Hello all.

    I am attemping to create an excel sheet that displays a message when a total percentage is + or - .125%
    I have the following formula for cell E9 for when it is greater than .125% - (Also see attached spreadsheet.)

    =IF(E4=0,"", (IF(E6>=0.125%,"Yes, a new Pre-TIL should have been sent out.","No, a new Pre-TIL is not necessary")))

    I am having issues coming up with how to do the formula for when it is -.125%. I also would like to display the same messages that currently appear for greater than .125%.

    I know I am close with the above forumla, just can't figure it out.

    Thanks.

    Dave
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,411

    Re: Using multiple If statements with a negative percentage number

    You could use this in E9:

    =IF(E4=0,"",IF(OR(E6>=0.125%,E6<=-0.125%),"Yes, a new Pre-TIL should have been sent out.","No, a new Pre-TIL is not necessary"))

    Another way would be to use ABS(E6) in your first formula.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    06-03-2009
    Location
    Phoenix, Az
    MS-Off Ver
    MS Office 365
    Posts
    145

    Re: Using multiple If statements with a negative percentage number

    Pete - how would I integrate ABS(E6) into my first formula?

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,411

    Re: Using multiple If statements with a negative percentage number

    Use that instead of E6, i.e.:

    =IF(E4=0,"",IF(ABS(E6)>=0.125%,"Yes, a new Pre-TIL should have been sent out.","No, a new Pre-TIL is not necessary"))

    I've also removed a pair of brackets, which weren't needed.

    Hope this helps.

    Pete

+ 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