+ Reply to Thread
Results 1 to 4 of 4

Using ROUND and IF

  1. #1
    Registered User
    Join Date
    04-08-2014
    Location
    Montana
    MS-Off Ver
    Excel 2010
    Posts
    8

    Using ROUND and IF

    This is my formula: =IF(AND($C3<=1.875,$C3>1.75),$D3*F3,"")

    The cell is blank if the logical test is FALSE. How can I get the $D3*F3 equation to round to nearest 10 and still have a blank cell if the logical test is FALSE.

    I tried this equation: =ROUND(IF(AND($C3<=1.75,$C3>1.625),$D3*G3,""),-1)
    which does round to the nearest 10 if the logical test is TRUE: but will not leave the cell blank if the logical test is FALSE.
    Last edited by dpk1nba; 04-14-2014 at 01:29 PM.

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

    Re: Using ROUND and IF

    Put the round INSIDE the IF, instead of the IF inside the Round..

    =IF(AND($C3<=1.875,$C3>1.75),ROUND($D3*F3,-1),"")

  3. #3
    Registered User
    Join Date
    04-08-2014
    Location
    Montana
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Using ROUND and IF

    Thank you, I should have caught that.

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

    Re: Using ROUND and IF

    You're welcome.

+ 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. round up round down formula
    By m_789 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-04-2014, 05:34 AM
  2. [SOLVED] Conditional Round up or Round up Function
    By cdmterence in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 09-18-2013, 06:03 PM
  3. Counting to a specified numberin round, then add one to round
    By McG_84 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-10-2013, 04:20 PM
  4. When ROUND doesnt round
    By Buckwa in forum Excel General
    Replies: 9
    Last Post: 12-18-2011, 08:31 AM
  5. How do I ROUND() round off decimals of a column dataset?
    By H&oslash;jrup in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-12-2005, 07:06 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