+ Reply to Thread
Results 1 to 3 of 3

Tricky Cell Population Question

  1. #1
    Registered User
    Join Date
    12-14-2011
    Location
    Leeds, England
    MS-Off Ver
    Excel 2007
    Posts
    1

    Tricky Cell Population Question

    I have 5 cells and I want a 6th cell to be populated by the latest cell with a value in greater than 0

    e,g
    So I want K3 to check J3 first and work its way backwards until it finds a cell with a value greater than 0

    Example 1
    A2=3
    D3=0
    F3=1
    H3=4
    J3=5

    So K3=5

    Example 2
    A2=3
    D3=0
    F3=1
    H3=0
    J3=0

    So K3 =1

    I hope I have made sense. Any help would be great. I tried googling it but it was difficult to describe.

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Tricky Cell Population Question

    It's awkward to determine "backwards" in a non-contiguous range, so how about:

    Please Login or Register  to view this content.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Tricky Cell Population Question

    Try this,

    =LOOKUP(2,1/CHOOSE({1,2,3,4,5},A2,D3,F3,H3,J3),CHOOSE({1,2,3,4,5},A2,D3,F3,H3,J3))

    {1,2,3,4,5} is means 5 ranges (A2,D3,F3...) NOT any values.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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