+ Reply to Thread
Results 1 to 3 of 3

Dissecting formula

Hybrid View

  1. #1
    Registered User
    Join Date
    05-10-2010
    Location
    Cambridge, Massachusetts, USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Dissecting formula

    Hi everyone - I am new to this forum and this is my first post. Thanks in advance for any help you may be able to give!

    I'm trying to figure out this formula written by a former colleague and Excel Help hasn't yet worked for me!

    =SUM(IF(ISTEXT($B$12:$B1576),$C$12:$C1576),IF($B$12:$B1576=0,$C$12:$C1576))-B1585.

    I understand everything after the second IF function - the first one is what is throwing me.

    As far as I understand, ISTEXT just refers to whether or not there is text in a specified cell - in this case, the range $B$12:$B1576. I think I must be missing something though because there is no text in any of those cells, yet if I take the first IF function out of the formula, the answer changes dramatically. Do the asterisk and dash symbols count as text??

    Also - this is an array formula so I don't know if that makes a difference.

    Thanks again!

  2. #2
    Forum Contributor
    Join Date
    02-25-2010
    Location
    Boston
    MS-Off Ver
    Excel 2007
    Posts
    174

    Re: Dissecting formula

    Yes, * and - will make the ISTEXT formula true.

    Basically you are looking for anythign that is not a number or blank in the B column and summing where that exists.
    Last edited by DP978; 05-10-2010 at 01:16 PM.

  3. #3
    Registered User
    Join Date
    05-10-2010
    Location
    Cambridge, Massachusetts, USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Dissecting formula

    Cool - thanks very much! I appreciate it.

+ 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