+ Reply to Thread
Results 1 to 4 of 4

Thread: 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 11:34 AM. Reason: added more details

  2. #2
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2003, Excel 2007 (Portable)
    Posts
    388

    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
    Mahju

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

    Rule 9
    Acknowledge the responses you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  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 2003, Excel 2007 (Portable)
    Posts
    388

    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
    Mahju

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

    Rule 9
    Acknowledge the responses you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

+ 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.2.0