Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-09-2014, 08:59 PM
canajun canajun is offline Would like to return a row rather than a cell using VLookup Windows 7 32bit Would like to return a row rather than a cell using VLookup Office 2010 32bit
Novice
Would like to return a row rather than a cell using VLookup
 
Join Date: Dec 2014
Posts: 10
canajun is on a distinguished road
Default Would like to return a row rather than a cell using VLookup

I have 2 spreadsheets and I know how to use vlookup to return a value from a specified column. However, I want to return the entire row. Help!
Reply With Quote
  #2  
Old 12-09-2014, 09:13 PM
canajun canajun is offline Would like to return a row rather than a cell using VLookup Windows 7 32bit Would like to return a row rather than a cell using VLookup Office 2010 32bit
Novice
Would like to return a row rather than a cell using VLookup
 
Join Date: Dec 2014
Posts: 10
canajun is on a distinguished road
Default I don't think I've specified my entire problem

I found the solution for simply returning the row. However, that is not exactly what I'm looking for. I filtered a column on my spreadsheet for dates < 1/1/16 and pasted the values onto another sheet. Now I (think) I want to use Vlookup to find other rows on the first spreadsheet that match a particular column for the dates >1/1/16 but < 1/1/17. Then I want the entire matching row from the first spreadsheet returned. Am I making sense yet???
Reply With Quote
  #3  
Old 12-09-2014, 09:30 PM
macropod's Avatar
macropod macropod is offline Would like to return a row rather than a cell using VLookup Windows 7 64bit Would like to return a row rather than a cell using VLookup Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,065
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

A formula in a cell cannot return an entire row or output results to a different cell. Granted, you could incorporate the logic to retrieve the data from adjacent cells into the formula, but the results would all be returned in the cell containing the formula.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #4  
Old 12-10-2014, 12:14 AM
excelledsoftware excelledsoftware is offline Would like to return a row rather than a cell using VLookup Windows 7 64bit Would like to return a row rather than a cell using VLookup Office 2003
IT Specialist
 
Join Date: Jan 2012
Location: Utah
Posts: 453
excelledsoftware will become famous soon enough
Default

If I understand correctly you want to return an entire row's worth of data. I am a firm believer that anything in Excel is possible and this would be something that sounds like VBA could be the answer. Can you post a sample workbook with the data and a specified cell showing the desired result? I will be happy to see what I can come up with for you.
Reply With Quote
  #5  
Old 12-10-2014, 06:08 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Would like to return a row rather than a cell using VLookup Windows 7 64bit Would like to return a row rather than a cell using VLookup Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,456
Pecoflyer is a splendid one to beholdPecoflyer is a splendid one to beholdPecoflyer is a splendid one to beholdPecoflyer is a splendid one to beholdPecoflyer is a splendid one to beholdPecoflyer is a splendid one to behold
Default

It can be done using a simple INDEX function used as an array. Please post a sample sheet - Thx
Reply With Quote
  #6  
Old 12-10-2014, 12:50 PM
canajun canajun is offline Would like to return a row rather than a cell using VLookup Windows 7 32bit Would like to return a row rather than a cell using VLookup Office 2010 32bit
Novice
Would like to return a row rather than a cell using VLookup
 
Join Date: Dec 2014
Posts: 10
canajun is on a distinguished road
Default Y'all are awesome

A colleague just showed me how to examine my data using a pivot table. I think that will work for me (for now). I was so proud of my new abilities with using Vlookup, I thought it would solve most of my Excel data examination needs. I did read up on the Index function and was looking at how that might work for me. Alas, I'll work with pivot table for the time being. I have a long way to go in my Excel proficiency. I cannot tell you how much I appreciate your responses. (You'll hear from me again...)
Reply With Quote
  #7  
Old 12-10-2014, 12:54 PM
canajun canajun is offline Would like to return a row rather than a cell using VLookup Windows 7 32bit Would like to return a row rather than a cell using VLookup Office 2010 32bit
Novice
Would like to return a row rather than a cell using VLookup
 
Join Date: Dec 2014
Posts: 10
canajun is on a distinguished road
Default

Also, am I supposed to 'like' a good response? I'm looking for such a button but don't see one.
Reply With Quote
  #8  
Old 12-10-2014, 01:03 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Would like to return a row rather than a cell using VLookup Windows 7 64bit Would like to return a row rather than a cell using VLookup Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,456
Pecoflyer is a splendid one to beholdPecoflyer is a splendid one to beholdPecoflyer is a splendid one to beholdPecoflyer is a splendid one to beholdPecoflyer is a splendid one to beholdPecoflyer is a splendid one to behold
Default

In the right upper corner of the answer of a member you want to thank there is a small scale. Click on it
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Would like to return a row rather than a cell using VLookup Search for multiple texts in cell, return specific text mariur89 Excel 4 12-14-2014 01:33 AM
VLOOKUP looking at another cell for its range Rich18144 Excel 1 06-24-2014 07:56 AM
Vlookup two columns return 3rd jennamae Excel 11 01-12-2014 02:53 AM
Would like to return a row rather than a cell using VLookup trying to use vlookup to calculate several different situations in one cell heastlund Excel 3 11-21-2013 12:38 PM
Would like to return a row rather than a cell using VLookup Return cuurent time when another cell is updated zks Excel 6 01-22-2012 10:24 PM

Other Forums: Access Forums - Senior Forums

All times are GMT -7. The time now is 03:53 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft