Results 1 to 3 of 3

STOP a formulae at the FIRST BLANK cell?

Threaded View

  1. #1
    Registered User
    Join Date
    08-11-2010
    Location
    england
    MS-Off Ver
    Excel 2003
    Posts
    14

    STOP a formulae at the FIRST BLANK cell?

    Hi guys,

    I have a spreadsheet function which I want to expand down to the bottom of my spreadsheet BUT I can't because it only works up until the formulae comes accross a blank cell..

    My question is this:

    Is there a way of keeping the formulae as it is, but when it finds a BLANK cell, to stop at the last cell which contained data???

    Below is my formulae:
    =SUMPRODUCT((E2:E22<B1001)*(E2:E22>=B1000)*(D2:D22))
    Which I want to be:
    =SUMPRODUCT((E2:9999<B1001)*(E2:E9999>=B1000)*(D2:D9999))
    But because there is blank cells between 23:9999 it comes up with #VALUE!

    Thanks,
    Last edited by tomwatts; 08-13-2010 at 02:37 PM.

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