+ Reply to Thread
Results 1 to 3 of 3

Exclude words from a formula

  1. #1
    Registered User
    Join Date
    04-21-2010
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    30

    Exclude words from a formula

    evening all.....

    quick one for some brain box if i have the following:

    =sum((B12+N12+Z12+AL12+AX12+BJ12+BV12)

    but in N12 i have a letter or a word my value shows up ####

    how can I get excel to exclude anything that is NOT a number in its workings

    cheers in advance

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Exclude words from a formula

    Try replacing all the + signs with , (commas).
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    09-08-2010
    Location
    Montenegro
    MS-Off Ver
    Excel 2010
    Posts
    82

    Re: Exclude words from a formula

    Errrrrrrm, you wrote something wrong there, that formula returns error not because of text, but because of sintagma...

    If you write

    =B12+N12+Z12+AL12+AX12+BJ12+BV12

    that indeed returns error if one of arguments is text; but if you write:

    =sum(B12;N12;Z12;AL12;AX12;BJ12;BV12)

    that will ignore any text in your cells, and sum up only numbers.

    Please bear in mind: I separated arguments with semi-colon ( ; ), it's myh regional setting; if it doesn't work for you, you probably need to use colon instead ( , ).

    I think you're aware that if your cells are adjacent, then you don't need to specify each one, but use range, for easier writing; for example =sum(C2:C15)

+ 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