+ Reply to Thread
Results 1 to 3 of 3

Getting the value of nth column from a different sheet or workbook

Hybrid View

  1. #1
    Registered User
    Join Date
    06-24-2012
    Location
    Jeddah
    MS-Off Ver
    Excel 2010
    Posts
    2

    Getting the value of nth column from a different sheet or workbook

    Hi All,

    This is my very first post with a question.

    I have two work sheets. What I am doing now is that when I manually enter the number 6 for column F from Sheet1, then i get the values of Sheet1 F column in any column of Sheet2 where I have coded the formulas for rows. It was an easy example but what if the columns are going to GG or KK, then is it possible that instead of manually counting the number of column GG, i just put a formula which can bring the number of column FF from worksheet1?

    Thanks in advance

  2. #2
    Valued Forum Contributor
    Join Date
    11-11-2008
    Location
    Euro
    MS-Off Ver
    2007, 2010
    Posts
    470

    Re: Getting the value of nth column from a different sheet or workbook

    Quote Originally Posted by shazydotcom View Post
    Hi All,
    GG, i just put a formula which can bring the number of column FF from worksheet1?
    Thanks in advance
    you can use COLUMN function, for examples:

    =COLUMN(GG:GG)


    or
    the number of columns between FF and GG, like that

    =COLUMN(GG:GG)-COLUMN(FF:FF)+1
    Best regard, -)iger-/iger
    If you are pleased with a solution mark your post SOLVED.

  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Getting the value of nth column from a different sheet or workbook

    Quote Originally Posted by tigertiger View Post
    =COLUMN(GG:GG)-COLUMN(FF:FF)+1
    Or =COLUMNS(FF:GG) would be less to type

+ 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