+ Reply to Thread
Results 1 to 6 of 6

#VALUE removal on negative sign

  1. #1
    Forum Contributor
    Join Date
    09-05-2013
    Location
    Malta
    MS-Off Ver
    Excel 2016
    Posts
    103

    #VALUE removal on negative sign

    =-IF(ISBLANK('sheet 1'!CG2),"",'sheet 1'!CG2)
    I have the above formula, if i have a + positive sign in front, when it finds no data, the cell comes BLANK, which is what i want, however when i put a negative sign in from it comes to #VALUE.
    What can i do so it comes BLANK as well?
    Note: In Sheet 1, cell CG2, the information is being picked up from another sheet, and in this cell cell CG2 the formula is =+IF(ISBLANK(CF2*AY2),"",(CF2*AY2))

    I also have this formula which is doing the same thing, but i understand its because there is a +1 divided by formula
    =+1/IF(ISBLANK('sheet 1'!CF39),"",'sheet 1'!CF39)
    Is there a way to resolve or shall i do the division in a separate cell

    Thanks
    Sam
    Last edited by sammymalta; 11-07-2018 at 05:08 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: #VALUE removal on negative sign

    What about:

    =IF(ISBLANK('Sheet 1'!CG2),"",'Sheet 1'!CG2*-1)

    or

    =IF(ISBLANK('Sheet 1'!CG2),"",-'Sheet 1'!CG2)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Contributor
    Join Date
    09-05-2013
    Location
    Malta
    MS-Off Ver
    Excel 2016
    Posts
    103

    Re: #VALUE removal on negative sign

    No it didnt work... SEE ATTACHED,
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: #VALUE removal on negative sign

    1. You didn't say that the source data conrtained a formula.

    2. I assume its the absolute amount that you need.

    3. try: =IF('amended export'!E2="","",ABS('amended export'!E2))

    4. You don't actually need to add the + at the start of your formulae.

  5. #5
    Forum Contributor
    Join Date
    09-05-2013
    Location
    Malta
    MS-Off Ver
    Excel 2016
    Posts
    103

    Re: #VALUE removal on negative sign

    Ahh no.. ABS wont work, as sometimes the values are positives which means value would need changing to a negative. (but you made an assumption as i didnt give you full info)

    BUT BUT BUT.....I amended your formula slightly to the below and it worked.Many thanks Glenn.
    =IF('amended export'!E2="","",-('amended export'!E2))

    I added to your reputation last time as its not allowing me again! Sorry about that.
    https://www.excelforum.com/excel-for...ml#post4993644

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: #VALUE removal on negative sign

    No problems.... and 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. removal of negative sign from numbers in graph
    By Ignesh in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-14-2015, 12:09 PM
  2. Replies: 1
    Last Post: 04-26-2012, 12:48 AM
  3. Automatic Negative Sign
    By FallingDown in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-01-2012, 10:28 AM
  4. Negative sign is on right end
    By Scorpvin in forum Excel General
    Replies: 5
    Last Post: 06-24-2010, 12:37 AM
  5. negative numbers w/o negative sign
    By whtbullitt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-31-2009, 05:07 AM
  6. Excel Special Sign Removal Help
    By defy in forum Excel General
    Replies: 9
    Last Post: 05-28-2009, 06:27 AM
  7. Ending Negative Sign
    By edwardpestian in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-28-2006, 05:44 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