+ Reply to Thread
Results 1 to 7 of 7

how do i invert information in a column

  1. #1
    Registered User Pivotrend's Avatar
    Join Date
    12-19-2003
    Posts
    47

    how do i invert information in a column

    i have information in column B
    this information gets updated all the time
    it could be from B4:B1000 or more , it's not fixed
    say to B65536
    how do i show the last cell information in cell C4
    i mean show the information up side down
    not to forget that information is updated & the last cell could be B1000 or B65536
    how to do that using a formula Only ?

    example attached
    Attached Files Attached Files

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Try

    =LOOKUP(2,1/(B1:B65535<>""),B1:B65535)

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User Pivotrend's Avatar
    Join Date
    12-19-2003
    Posts
    47
    Quote Originally Posted by VBA Noob
    Hi,

    Try

    =LOOKUP(2,1/(B1:B65535<>""),B1:B65535)

    VBA Noob



    didn't Work

    only the last cell showup
    but the second is = B5

    i want cell B1260 to showup in C4
    & B1259 to showup in C5
    & so on

    not to forget that information gets updated all the time & the last cell could be B1000 or B65536

    !!!
    Last edited by Pivotrend; 01-20-2007 at 05:58 AM.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Does this array help. Enter with CSE (Ctrl + shift + Enter)

    =INDEX($B$1:$B$65535,LARGE(IF($B$1:$B$65535<>"",ROW($B$1:$B$65535)),ROW(C1)))

    VBA Noob

  5. #5
    Registered User Pivotrend's Avatar
    Join Date
    12-19-2003
    Posts
    47
    worked fine
    thank you VBA Noob

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    No problem

    VBA Noob

  7. #7
    Registered User
    Join Date
    11-26-2003
    Posts
    8

    Invert information - function

    Does anyone know whether this could be put in to a function?

    I'd like the same thing; but if I could highlight the data, then click on a button that would be tasty!

+ 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