+ Reply to Thread
Results 1 to 6 of 6

Need help adding multiple 'IF' statements to existing formula

  1. #1
    Registered User
    Join Date
    01-12-2016
    Location
    Preston
    MS-Off Ver
    2013
    Posts
    3

    Need help adding multiple 'IF' statements to existing formula

    I am attempting to add to an existing formula within my workbook but can't work out the best way to do so.

    My current formula is as follows

    =IF(D28="",0,ROUNDUP(I22/250,0))

    In addition to this I would like to add the following criteria:

    IF 'COSTING SHEET'!A28= "bottom"&'INPUT SHEET'!B27= "Y" then add 50% to final sum.

    Hope someone can help.

    Thanks in advance guys.
    Last edited by Ben Ash; 01-12-2016 at 10:44 AM.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Please help with this formula

    Do you want that 50% added to the I22/250 Before or After it's rounded ?

  3. #3
    Registered User
    Join Date
    01-12-2016
    Location
    Preston
    MS-Off Ver
    2013
    Posts
    3

    Re: Need help adding multiple 'IF' statements to existing formula

    After its rounded please.

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Need help adding multiple 'IF' statements to existing formula

    Try

    =IF(D28="",0,ROUNDUP(I22/250,0)*IF(AND('COSTING SHEET'!A28="bottom",'INPUT SHEET'!B27="Y"),1.5,1))

  5. #5
    Registered User
    Join Date
    01-12-2016
    Location
    Preston
    MS-Off Ver
    2013
    Posts
    3

    Re: Need help adding multiple 'IF' statements to existing formula

    Hi Jommo1,

    Thanks for the help, this formula is now giving me a tangible result.

    It looks to me like the *IF(AND statement nullifies the ROUNDUP section as my reult hasn't rounded up to the correct answer I know it should be.

    Is there a way round this?

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Need help adding multiple 'IF' statements to existing formula

    That's why I asked the question
    Quote Originally Posted by Jonmo1 View Post
    Do you want that 50% added to the I22/250 Before or After it's rounded ?
    And you answered
    Quote Originally Posted by Ben Ash View Post
    After its rounded please.
    So the formula I posted rounds the result of I22/250
    THEN
    Adds 50% to the result of that round.

    But now it seems you want to
    Add 50% to the result if I22/250
    THEN
    Round that result.

    That would be
    =IF(D28="",0,ROUNDUP((I22/250)*IF(AND('COSTING SHEET'!A28="bottom",'INPUT SHEET'!B27="Y"),1.5,1),0))

+ 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: 11
    Last Post: 06-06-2014, 03:34 PM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM

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