+ Reply to Thread
Results 1 to 2 of 2

using IF statement < > AND? OR?

  1. #1
    Registered User
    Join Date
    03-30-2017
    Location
    London
    MS-Off Ver
    ms office 2010
    Posts
    2

    Lightbulb using IF statement < > AND? OR?

    Think I've managed to solve it:
    =IF(AND(C37>=S36, C37<S38), C37*R36,IF(AND(C37>=S38, C37<S40), C37*R38, IF(C37>S40, C37*R40)))

    Also, if the amount (c37) is less than 100, how can the field return 0
    Attached Images Attached Images
    Last edited by jaydee-187; 03-30-2017 at 12:43 PM. Reason: Solved but one problem

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,199

    Re: using IF statement < > AND? OR?

    Try

    =IF(A1<100,0,IF(A1<290,A1*5%,IF(A1<500,A1*10%,A1*15%)))

+ 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. Replies: 2
    Last Post: 07-09-2015, 04:25 PM
  2. [SOLVED] If statement to select data - nested statement - assistance
    By petitesouris in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-29-2015, 09:55 PM
  3. compile error expected line number statement end statement
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2014, 10:12 AM
  4. VBA Compile Error : line number or label or statement or end of statement
    By excellearner121 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2013, 06:41 PM
  5. Replies: 4
    Last Post: 06-01-2012, 10:05 AM
  6. Replies: 4
    Last Post: 05-16-2012, 05:33 PM
  7. [SOLVED] Utilize a Select Case Statement in Target Intersect Statement
    By max57 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-29-2009, 08:55 PM

Tags for this Thread

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