+ Reply to Thread
Results 1 to 5 of 5

Nested If help

  1. #1
    Registered User
    Join Date
    07-03-2014
    Location
    uk
    MS-Off Ver
    excel 2013
    Posts
    10

    Nested If help

    Hi

    I know this is incredibly easy but for some reason i havent been able to crack it

    I need help with an IF formula that multiplies depending on the value in a cell

    example
    A1 - 5.5

    If(A1<3.33,1.1*A1,IF(A1 is between 3.34 - 4.47,1.2*A1,IF(A1 is between 4.48 - 6.6,1.3*A1,IF(A1>6.7,1.5*A1)

    Couldnt get a formula to work properly for numerous "between" numbers

    Hope that all makes sense

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Nested If help

    Try:

    =LOOKUP(A1,{0,3.34,4.48,6.7},{1.1,1.2,1.3,1.5})*A1
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Nested If help

    For this: IF(A1 is between 3.34 - 4.47,1.2*A1

    Try this: IF(AND(A1>3.33, A1<=4.47),1.2*A1 . . .
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    07-03-2014
    Location
    uk
    MS-Off Ver
    excel 2013
    Posts
    10

    Re: Nested If help

    Thank you AliGW , this worked!

    "Try:

    =LOOKUP(A1,{0,3.34,4.48,6.7},{1.1,1.2,1.3,1.5})*A1"

    Moderators feel free to close the thread
    Last edited by badmnton; 03-08-2024 at 03:06 PM.

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

    Re: Nested If help

    That is something that you are expected to do yourself, so if that takes care of your original question, please take a moment to select Thread Tools from the pale grey menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    You might also like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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] Compiling and accessing nested collection within a nested dictionary
    By jrevball in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-06-2020, 10:20 AM
  2. Trying to Convert Excel nested IF to Access nested IIF
    By bbeards in forum Access Tables & Databases
    Replies: 5
    Last Post: 10-10-2018, 10:33 PM
  3. [SOLVED] Nested vlookup or nested IFAND function?
    By jeptik in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-11-2017, 02:27 AM
  4. Easier Way To Decipher Nested Nested IF's
    By Vladamir in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-06-2015, 03:37 PM
  5. [SOLVED] Nested Sumif's or how to sum data based on nested criteria
    By dlietz in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-07-2014, 11:36 AM
  6. How to reduces Nested IF code(144 Nested IF) to achive same functionality
    By jobseeker in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-09-2014, 09:45 AM
  7. help on a nested countif/nested if formula
    By vickiemc in forum Excel General
    Replies: 2
    Last Post: 08-13-2008, 08:29 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