+ Reply to Thread
Results 1 to 15 of 15

#value! to Zero

  1. #1
    Registered User
    Join Date
    09-05-2014
    Location
    london
    MS-Off Ver
    2010
    Posts
    41

    #value! to Zero

    Hi,

    I am working on a spreadsheet in which once i have entered value from drop down menu in column 2, Column 3 gets populated

    But when the Column 2 is empty column 3 shows #value!

    How do i change that to Default £0
    Your help will be much appreciated.

    Many Thanks

    Hamza

  2. #2
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: #value! to Zero

    In column 3, enter =IFERROR(your formula,0) where yourformula is the formula you have in column 3.
    ________________________________________________________
    If your problem is solved, update the thread as SOLVED: Go to the top of the first post-Select Thread Tools-Select Mark thread as Solved OR - Go to the first post - Click edit- Click Advance- Just below the word "Title:" you will see a dropdown with the word No prefix.- Change to Solve- Click Save.

    Show your gratitude to the person who helped you solving your problem by clicking on star button at the bottom of such post.

  3. #3
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: #value! to Zero

    Need more info, whats causing the issue formula/vba code?
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: #value! to Zero

    In your cell for Column 3 replace your formula with IFERROR(FORMULA,0)

  5. #5
    Registered User
    Join Date
    09-05-2014
    Location
    london
    MS-Off Ver
    2010
    Posts
    41

    Re: #value! to Zero

    I already have a formula in column 3 which is equal to =eval(SUBSTITUTE(I4,",","+"))

    Can i not do this on a new column say column 4 and hide column 3. ?

  6. #6
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: #value! to Zero

    Can't you just change that formula?
    Remember what the dormouse said
    Feed your head

  7. #7
    Registered User
    Join Date
    09-05-2014
    Location
    london
    MS-Off Ver
    2010
    Posts
    41

    Re: #value! to Zero

    Quote Originally Posted by romperstomper View Post
    Can't you just change that formula?
    Change that to what ?

    I need that Formula to add multiple values which are in same cell

  8. #8
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: #value! to Zero

    Change it to what was suggested:

    =IFERROR(eval(SUBSTITUTE(I4,",","+")),0)

    You could also change the eval UDF to return 0 rather than an error.
    Last edited by romperstomper; 09-18-2014 at 06:43 AM.

  9. #9
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: #value! to Zero

    Wrap the Excel based error trapping round the formula!

  10. #10
    Registered User
    Join Date
    09-05-2014
    Location
    london
    MS-Off Ver
    2010
    Posts
    41

    Re: #value! to Zero

    worked

    wow you guys are amazing !!

  11. #11
    Registered User
    Join Date
    09-05-2014
    Location
    london
    MS-Off Ver
    2010
    Posts
    41

    Re: #value! to Zero

    There is another column

    which gets values from another drop down menu in another tab

    =Activity!C5

    This shows 0 until a value in entered
    how do i change that to blank ?

  12. #12
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: #value! to Zero

    =if(isblank(Activity!C5),"",Activity!C5)

  13. #13
    Registered User
    Join Date
    09-05-2014
    Location
    london
    MS-Off Ver
    2010
    Posts
    41

    Re: #value! to Zero

    If almost worked

    So it makes the values blank , but when i change it on main sheet, this one doesnt change
    just stays blank

  14. #14
    Registered User
    Join Date
    09-05-2014
    Location
    london
    MS-Off Ver
    2010
    Posts
    41

    Re: #value! to Zero

    Lol is there any thing you guys cant do

    lol it worked ?

  15. #15
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: #value! to Zero

    The workings of the female mind, still eludes me, i struggle with that

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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