+ Reply to Thread
Results 1 to 3 of 3

Refer Entire Column of Another Worksheet by its number

  1. #1
    Registered User
    Join Date
    07-03-2016
    Location
    INDIA
    MS-Off Ver
    2013
    Posts
    38

    Question Refer Entire Column of Another Worksheet by its number

    Hi,

    Please help me to solve below query...

    Cell Value of A1 in Sheet 1 = 16. (it may be any integer number)
    I want to derive value of last non empty cell of a particular column of Sheet2 in Cell A2 of Sheet 1. I have put formula in cell A2 as =LOOKUP(2,1/('Sheet2'!A:A<>""),'Sheet2'!A:A),which gives me value of last non empty cell in column A of Sheet2.

    But I need value of column reference to be dynamic based on cell value of A1. Actually I want to derive column number to be result of formula : (A1*2)-1 i.e. Column Number 31 i.e. column AE of sheet2 should be referred in this formula automatically.

    Is it possible to do this with any excel formulae?

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Refer Entire Column of Another Worksheet by its number

    =LOOKUP(2,1/(INDEX('Sheet2'!A:NN,0,(A1*2)-1)<>""),INDEX('Sheet2'!A:NN,0,(A1*2)-1))

  3. #3
    Registered User
    Join Date
    07-03-2016
    Location
    INDIA
    MS-Off Ver
    2013
    Posts
    38

    Re: Refer Entire Column of Another Worksheet by its number

    That is exactly I was looking for...

    Thanks a Lot Tim.. Its a great help to me and I mean it....

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Refer Entire Column of Another Worksheet by its number
    By JigneshBavishi in forum Excel General
    Replies: 2
    Last Post: 01-30-2017, 07:55 AM
  2. Lookup / refer to highest Row number in a column
    By Kartoffelmos in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-07-2015, 05:51 AM
  3. Replies: 2
    Last Post: 03-21-2015, 06:46 AM
  4. Replies: 2
    Last Post: 12-13-2012, 01:10 AM
  5. [SOLVED] Transfer entire row from worksheet 1 over to worksheet 2 using the first column
    By WingZer0 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-12-2012, 12:55 AM
  6. Replies: 3
    Last Post: 03-11-2012, 06:13 PM
  7. row to refer to formulas in a column on another worksheet
    By parrothead in forum Excel General
    Replies: 6
    Last Post: 04-09-2007, 01:11 AM

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