+ Reply to Thread
Results 1 to 4 of 4

Including ROUND and ISBLANK functions to existing formulas

  1. #1
    Registered User
    Join Date
    04-13-2014
    Location
    Skipton, England
    MS-Off Ver
    Excel 2007
    Posts
    23

    Including ROUND and ISBLANK functions to existing formulas

    Back again! Really appreciate the help I received last time.

    For my next question....trying to add additional functions to existing formulas which I hope is possible!

    1.
    =CONCATENATE(" ", IF(E12<E13,"lower","higher"), " by ", ABS(E13-E12), " % ")

    This is to try and convert the results into readable text to be extracted into another document. Formula generally works fine however is producing figures of '0.2000000000001' in relation to the ABS function, which obviously is inconvenient; I ideally would just like '0.20', for example. From my googling I think I need the ROUND function included in this to get it down to two decimal places but can't get it to work. Does the ROUND function conflict with the ABS function? The ABS function is necessary however due to me wanting to avoid minus figures.

    2.
    I'm using many different formulas which this requirement can be applied to but using the above formula:
    =CONCATENATE(" ", IF(E12<E13,"lower","higher"), " by ", ABS(E13-E12), " % ")

    How would I add a condition where if one of the values (i.e. E12/E13) were blank or zero, the overall result would return N/A? I've tried using ISBLANK but again with no success.
    '
    So with the above formula, I'm really after a solution that a) produces figures to two decimal places and b) if one of the values is blank, it returns 'N/A'.

    Been struggling with this for a while now and not sure where to go (don't you hate when there's plenty on google on the subject but nothing matches your exact requirement! haha)

    Cheers excellions!!

    Rick
    Last edited by Phrick; 04-14-2014 at 01:33 PM. Reason: missed a bit!

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

    Re: Including ROUND and ISBLANK functions to existing formulas

    Yes, you can use ROUND with ABS..
    =CONCATENATE(" ", IF(E12<E13,"lower","higher"), " by ", ABS(ROUND(E13-E12,2)), " % ")

    Then to test for blank/zero try

    =IF(OR(E12=0,E13=0),"N/A",CONCATENATE(" ", IF(E12<E13,"lower","higher"), " by ", ABS(ROUND(E13-E12,2)), " % "))

  3. #3
    Registered User
    Join Date
    04-13-2014
    Location
    Skipton, England
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Including ROUND and ISBLANK functions to existing formulas

    You made it look so simple!! Haha makes me feel like an idiot for how long I was scratching my head over these.

    Both worked perfectly. I was just using the ROUND function incorrectly and overcomplicating the 'N/A' part.

    What would I do without you guys!!!!

    Thanks Jonmo, much appreciated.

    Regards

    Rick

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

    Re: Including ROUND and ISBLANK functions to existing formulas

    Glad to help, thanks for the feedback.

+ 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] Round including formula
    By markDuffy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-04-2013, 12:34 AM
  2. Using IF and Isblank functions
    By Solomon_raj in forum Excel General
    Replies: 3
    Last Post: 05-23-2012, 07:46 AM
  3. [SOLVED] Round formula including multiply by zero produces rounded amount
    By Thisyearsman in forum Excel General
    Replies: 2
    Last Post: 05-09-2012, 12:25 PM
  4. Keep existing functions/formulas for future copy overs
    By caippers in forum Excel General
    Replies: 4
    Last Post: 05-13-2010, 08:21 AM
  5. [SOLVED] ISBLANK functions
    By John C. Harris, MPA in forum Excel General
    Replies: 2
    Last Post: 07-22-2005, 04:05 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