Results 1 to 2 of 2

Cleanest way to do multiple if ands?

Threaded View

  1. #1
    Forum Contributor
    Join Date
    06-25-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    179

    Cleanest way to do multiple if ands?

    Hi all,
    I was wondering what the cleanest way to do multiple if and statements is for example

    I want to do the following
    IF E4 >= 4 and <5 then -.5
    IF E4 >= 5 and < 6 then -..75
    IF E4 >= 6 and <7 then -.9

    I've been thinking about how to put this into a single formula and it seems very long winded to do 3 if and statements.
    Is there a faster way around this?

    =IF(AND(E4>=4,E4<5),E4-0.5,IF(AND(E4>=5,E4<6),E4-0.75,IF(AND(E4>=6,E4<7),E4-0.9,E4)))
    Last edited by joshnathan; 10-15-2013 at 10:28 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] multiple if(ands 's
    By fansoffloyd in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-30-2012, 03:51 PM
  2. multiple if(ands 's
    By fansoffloyd in forum Excel General
    Replies: 1
    Last Post: 05-29-2012, 02:54 AM
  3. Multiple If ANDs and even ORs
    By gtbear in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-29-2009, 12:55 PM
  4. Nesting multiple IF/ANDs
    By Russell719 in forum Excel General
    Replies: 3
    Last Post: 04-20-2009, 03:08 PM
  5. SUMPRODUCT multiple ands/ors
    By JakePatuli in forum Excel General
    Replies: 2
    Last Post: 01-26-2009, 11:42 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