+ Reply to Thread
Results 1 to 6 of 6

Need to expand an a cell formula based on the entry of several other cell entries

  1. #1
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    221

    Need to expand an a cell formula based on the entry of several other cell entries

    =IF(E14<=0,0,IF(N9="yes",MAX(E15*C15,30),30))

    I am currently using the above formula and need to make an addition to it

    If D8 is greater than 9000 and less than 9999 then the entry will be 35 rather than 30. Any other entry in D8 would leave it at 30

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Re: Need to expand an a cell formula based on the entry of several other cell entries

    =IF(E14<=0,0,IF(N9="yes",MAX(E15*C15,30),If(and(D8>9000,D8<9999),35,30)))
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    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,926

    Re: Need to expand an a cell formula based on the entry of several other cell entries

    Could N9="yes", and and be between 9000 and 9999?
    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

  4. #4
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: Need to expand an a cell formula based on the entry of several other cell entries

    Yes it could and the problem with the formula provided above is that if N9 is yes then the answer should be E15*C15 min 30.00 plus 5 if D8 is greater than 9000 but less than 9999

    If N9 is no the formula provided above provides and accurate response

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Need to expand an a cell formula based on the entry of several other cell entries

    you could just add it in
    IF(E14<=0,0,IF(N9="yes",MAX(E15*C15,If(and(D8>9000,D8<9999),35,30)),If(and(D8>9000,D8<9999),35,30)))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: Need to expand an a cell formula based on the entry of several other cell entries

    Thank-you very much for your help

    Mike

+ 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] Need to add to a formula based on a cell having an entry
    By mikerules in forum Excel General
    Replies: 1
    Last Post: 04-26-2014, 12:40 AM
  2. [SOLVED] Need If Formula based on 3rd cell entry
    By mikerules in forum Excel General
    Replies: 3
    Last Post: 03-21-2014, 09:33 PM
  3. Return column entries on formula based on user entry
    By Smythers00 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-25-2013, 09:52 PM
  4. Using a formula based on cell entry
    By bleu808 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 02-08-2007, 06:34 AM
  5. Formula based on a cell entry
    By Fat Bastard in forum Excel General
    Replies: 10
    Last Post: 03-13-2005, 02:07 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