+ Reply to Thread
Results 1 to 2 of 2

How to use a nested IF statement

  1. #1
    Registered User
    Join Date
    02-23-2014
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    31

    How to use a nested IF statement

    Hi Guys

    i was hoping someone can offer me some assistance on the following problem. im not sure if i using the IF Statement is the correct way to tackle this problem but basically i need a sheet in excel that can calculate the following

    if for instance i have Column A that has a list of figures, for instance, one A1 = 250, A2 = 500, A3 = 5800
    i need Column B to calculate an amount based on the following parameters

    R 0.01 to R 250.00 = 5% of the number in Column A1 for instance
    R 250.01 to R5,000.00 = R12.50 + 4% of the number over 250 (A2 - 250 = 250 x 4% + 12.50)
    R5,000.01 to R100,000.00 = R202.50 + 3.5% of the number over 5000 (A3 - 5000 = 800 x 3.5% + 202.50)

    can this be done?
    Last edited by merQrey; 03-05-2015 at 03:50 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Nested IF Statement or Macro

    Thanks for the change

    Hoe gaan dit daai kant van die groot dam? SA ex=pat here from PE and Klerksdorp

    Try this for what you want...
    =IF(A1>5000,202.5+(A1-5000)*0.035,IF(A1>250,12.5+(A1-250)*0.04,A1*0.05))
    Last edited by FDibbins; 03-05-2015 at 12:42 PM.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. [SOLVED] Nested If Statement - ISBLANK and ISNA in same statement?
    By Janc in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-23-2013, 09:00 AM
  2. Macro Tied to Complex Nested If Statement Extremely Inefficient/Slow - HELP
    By Umann51 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-06-2011, 04:34 PM
  3. Replies: 6
    Last Post: 01-14-2009, 06:59 PM
  4. Nested IF Statement
    By Rache in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-23-2007, 01:32 PM
  5. Convert clunky nested If statement to macro
    By westexp in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-28-2006, 12:47 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