+ Reply to Thread
Results 1 to 4 of 4

How to return a range of cells in a row for a given value of another cell

  1. #1
    Registered User
    Join Date
    04-17-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2010
    Posts
    4

    How to return a range of cells in a row for a given value of another cell

    I need to return 40 to 102 cell values in a row for a specified numerical value of the first cell of that row. The values are needed in a different worksheet other than where the data resides.
    For eg., I have 100 rows of data in Sheet 1. In Sheet 2, in row 10 starting from column B to say Column Z I need the values of columns say either B to Z or G to AE from the row in Sheet 1, where column A from A2:A101 equals exactly 2010 (Which is in fact the value of the first column in row 10 of Sheet 2 (A10 = 2010).
    Any help is greatly appreciated.
    Last edited by mahateja; 02-09-2012 at 12:34 PM. Reason: added more details

  2. #2
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: How to return a range of cells in a row for a given value of another cell

    Hi
    Use vlookup function to get the values based on the first column in table

    Regards
    Mark the thread as solved if you are satisfied with the answer.


    In your first post under the thread tools.

    Mahju

  3. #3
    Registered User
    Join Date
    04-17-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: How to return a range of cells in a row for a given value of another cell

    I tried Vlookup function but without success. Can somebody help me with a typical formula for this.

  4. #4
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: How to return a range of cells in a row for a given value of another cell

    Hi
    try absolute reference (use of "$" sign or upload a sample sheet

    Regards

+ 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