+ Reply to Thread
Results 1 to 2 of 2

Lookup last cell in row that is greater than zero

  1. #1
    Registered User
    Join Date
    05-25-2008
    Posts
    1

    Lookup last cell in row that is greater than zero

    I have this formula that will find last, every third, cell in a row. Problem is that it is finding the zero's. I need this formula to only identify the last, every third cell, that is greater than zero.

    = LOOKUP(9.999999999999E+307,IF(MOD(COLUMN(F6:CO6)-COLUMN(F6),3)=0,IF(ISNUMBER(F6:CO6),F6:CO6)))

    Thank you.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    You need to change the ISNUMBER check to check for greater than zero, i.e.

    = LOOKUP(9.999999999999E+307, IF(MOD(COLUMN(F6:CO6)-COLUMN(F6),3)=0, IF(F6:CO6>0,F6:CO6)))

+ 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