+ Reply to Thread
Results 1 to 3 of 3

Can a calculation ignore text if it occurs in formula's cell range

  1. #1
    Sally
    Guest

    Can a calculation ignore text if it occurs in formula's cell range

    I have formula strings that include cells that can contain numbers or text.
    Can I (easily) create calculations that ingnore text occurances rather than
    returning a '#VALUE!'

  2. #2
    Sloth
    Guest

    RE: Can a calculation ignore text if it occurs in formula's cell range

    You have a couple of options. You could use the sum function.
    =SUM(A1)
    it will return 0, if the cell is text.

    There may be other workarounds depending on the formula you want, and
    depending on what you mean by "ignore". Post some of them and it might help
    us understand a little better.

    "Sally" wrote:

    > I have formula strings that include cells that can contain numbers or text.
    > Can I (easily) create calculations that ingnore text occurances rather than
    > returning a '#VALUE!'


  3. #3
    B. R.Ramachandran
    Guest

    RE: Can a calculation ignore text if it occurs in formula's cell range

    Hi,

    If your formula references only one column (which may contain numbers or
    text), say A2:A101, you can use the formula (and drag it down to the last row)

    =IF(ISNUMBER(A2),your formula,"")

    If your formula references more than one column, use

    =IF(ISERROR(your formula),"",your formula)

    Regards,
    B. R. Ramachandran


    "Sally" wrote:

    > I have formula strings that include cells that can contain numbers or text.
    > Can I (easily) create calculations that ingnore text occurances rather than
    > returning a '#VALUE!'


+ 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