+ Reply to Thread
Results 1 to 3 of 3

Nested ifs and conditional population

Hybrid View

  1. #1
    TJW JR
    Guest

    Nested ifs and conditional population

    OK, I know the limit of 7 nested ifs, and the vlookup function. But what I
    am try to do is the following:

    I have cells B2-B13 for invoice data. I want B1 to automatically populate
    with the last invoice, so moving down the cells, it would be the last
    non-blank value.

  2. #2
    Bernard Liengme
    Guest

    Re: Nested ifs and conditional population

    Last cell in column
    =LOOKUP(9.99999999999999E+307,Sheet1!A:A) will return the last numeric value
    of Sheet1 column A


    =LOOKUP(REPT("z",255),Sheet1!A:A) will return the last text entry of Sheet1
    column A

    --
    Bernard V Liengme
    www.stfx.ca/people/bliengme
    remove caps from email

    "TJW JR" <[email protected]> wrote in message
    news:[email protected]...
    > OK, I know the limit of 7 nested ifs, and the vlookup function. But what
    > I
    > am try to do is the following:
    >
    > I have cells B2-B13 for invoice data. I want B1 to automatically populate
    > with the last invoice, so moving down the cells, it would be the last
    > non-blank value.




  3. #3
    Ron Coderre
    Guest

    RE: Nested ifs and conditional population

    Try this:
    B1: =INDEX(B2:B65535,MATCH(2,1/(1-ISBLANK(B2:B65535))))
    Note: Commit that array formula by holding down the [Ctrl][Shift] keys and
    press [Enter].


    Does that help?

    ***********
    Regards,
    Ron

    XL2002, WinXP-Pro


    "TJW JR" wrote:

    > OK, I know the limit of 7 nested ifs, and the vlookup function. But what I
    > am try to do is the following:
    >
    > I have cells B2-B13 for invoice data. I want B1 to automatically populate
    > with the last invoice, so moving down the cells, it would be the last
    > non-blank 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