+ Reply to Thread
Results 1 to 6 of 6

I need my formula to ignore any text?! Confused!

  1. #1
    Registered User
    Join Date
    03-11-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    27

    I need my formula to ignore any text?! Confused!

    Hi all!
    I need some help working out this formula. I'm pretty 'new' when it comes to Excel. I know basic formulas and stuff so I'm sorry if this seems like a noob question! But we all start somewhere.. right?

    So I'm basically doing a spreadsheet for my boss of the number of outgoing calls each sales rep makes in a month and then working out the average calls per day, however when writing the formula, I need it to ignore text in the cells.

    For example, cells C7, E7, G7, I7 and K7 I need to add up, and they are all number cells where we input the amount of calls the rep has made that day. However, when a rep is off sick/on annual leave/at a trade show, we want to be able to put that in the cell. So far I have:

    =IF(ISERROR(SUM(C7+E7+G7+I7+K7)),"",SUM(C7+E7+G7+I7+K7))

    I used iserror because I want the cell to show blank if there are not enough values to complete the formula yet (we haven't got far enough in the month for it to calculate yet)

    The formula works fine if the ref cells are blank or numbered cells but as soon as I write "SHOW" or "SICK" in the box, the formula breaks and the total box is blank again.


    Again, sorry if this is a noob question, I'm stuck!

    Thanks a lot for any help you can give.

    - Skye x

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    20,762

    Re: I need my formula to ignore any text?! Confused!

    Instead of using the + signs within the SUM function, try it like this:

    =SUM(C7,E7,G7,I7,K7)

    SUM will ignore any text values, so this should not produce errors (unless you have errors within those cells).

    Hope this helps.

    Pete

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,404

    Re: I need my formula to ignore any text?! Confused!

    There's no point of putting + in SUM formula like SUM(C7+E7)

    use just:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    (For Excel 2007+)

  4. #4
    Forum Moderator Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: I need my formula to ignore any text?! Confused!

    Hello

    Give a try to this.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Registered User
    Join Date
    03-11-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: I need my formula to ignore any text?! Confused!

    ...I am such a noob haha.

    Thanks a lot guys!
    Sorry for the stupid question!

  6. #6
    Forum Moderator Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: I need my formula to ignore any text?! Confused!

    There are not stupid questions. If anyone of us does not knows something just asks.

    There are only stupid people that believe that they know everything.

+ 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. Replies: 1
    Last Post: 10-03-2012, 10:32 PM
  2. [SOLVED] Macro executes but not giving results :confused::confused::confused:
    By Ganesh7299 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2012, 10:49 AM
  3. If then formula to ignore text after number
    By jakeh2475 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-14-2012, 12:29 PM
  4. I want a formula to ignore text
    By COZWV in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-20-2007, 09:27 PM
  5. Ignore Text for Formula
    By JohnHill in forum Excel General
    Replies: 2
    Last Post: 04-25-2006, 09:26 PM

Tags for this Thread

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