Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-12-2021, 08:48 AM
tyxanu tyxanu is offline A little help with VLOOKUP retrieving data? Windows 8 A little help with VLOOKUP retrieving data? Office 2013
Novice
A little help with VLOOKUP retrieving data?
 
Join Date: Aug 2020
Posts: 13
tyxanu is on a distinguished road
Default A little help with VLOOKUP retrieving data?

Hello,



As you will see in the attached file, I need to extract the details "variance" and "score" of "RESULT X" from Sheet 2 and place them in the correspondent fields in Sheet 1, horizontally.

So far, I've only managed to use VLOOKUP to extract "variance" and "score" from Sheet 2 - B5 and C5, but how about extracting B6 and C6(and so on) of the same "RESULT X" and put them in line like in Sheet 1?

Any help please?

Many thanks in advance!
Attached Files
File Type: xlsx 1.xlsx (9.2 KB, 11 views)
Reply With Quote
  #2  
Old 04-12-2021, 12:32 PM
Steve Kunkel Steve Kunkel is offline A little help with VLOOKUP retrieving data? Windows 10 A little help with VLOOKUP retrieving data? Office 2019
Advanced Beginner
 
Join Date: May 2019
Location: Seattle area
Posts: 78
Steve Kunkel is on a distinguished road
Default

How many variations of 'Result X' will there be? Will it always be the same? Like:
Result X1
Result X2
Result X3
Result Y1
Result Y2
Result Y3
Result Z1
Result Z2
Result Z3
?

Or is it random, like:
Result X1
Result X2
Result Y1
Result Z1
Result Z2
Result Z3
Result Z4
Result Z5
?
Reply With Quote
  #3  
Old 04-12-2021, 12:41 PM
tyxanu tyxanu is offline A little help with VLOOKUP retrieving data? Windows 8 A little help with VLOOKUP retrieving data? Office 2013
Novice
A little help with VLOOKUP retrieving data?
 
Join Date: Aug 2020
Posts: 13
tyxanu is on a distinguished road
Default

One type of "result" with different "scores" and "variances" each line.

Your "random" option.

Redefining my request:

How can I convert those values from being vertically(sheet2) to horizontally(sheet1)?
Reply With Quote
  #4  
Old 04-12-2021, 02:44 PM
Steve Kunkel Steve Kunkel is offline A little help with VLOOKUP retrieving data? Windows 10 A little help with VLOOKUP retrieving data? Office 2019
Advanced Beginner
 
Join Date: May 2019
Location: Seattle area
Posts: 78
Steve Kunkel is on a distinguished road
Default

So given my 'random' example, the desired output would be this as below?

Result X,variance 1,score 1,variance 2,score 2
Result Y,variance 1,score 1
Result Z,variance 1,score 1,variance 2,score 2,variance 3,score 3,variance 4,score 4,variance 5,score 5,variance 5

I did this with =OFFSET() a long time ago. I'll see if I can find the old sheet. I do remember that it took a ton of "helper columns" that got hidden.

If that is indeed what you are trying to do, then one possible solution is in my attached sheet. It doesn't actually use VLOOKUP, but it does use
IF()
COUNTIF()
SMALL()
INDEX()
and
OFFSET()

Unfortunately Offset is a "volatile" function and updates as soon as you open the file. So it will prompt you to save, even if you haven't made any changes.

I left the error so that you can see there is something in the cells. Just add IFERROR() to those.

I put everything on one page so you can see the references easier.
Attached Files
File Type: xlsx ListFlattener.xlsx (18.4 KB, 11 views)

Last edited by Steve Kunkel; 04-13-2021 at 06:18 AM.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Retrieving data from data base based on text selection capitala PowerPoint 0 12-10-2014 08:10 AM
Retrieving data from cell Comments RogerB Excel Programming 3 06-16-2014 03:04 AM
A little help with VLOOKUP retrieving data? Retrieving data from a list or database. Vic01 Word 14 11-14-2013 12:46 AM
Retrieving deleted data charles Outlook 0 12-23-2012 10:58 PM
A little help with VLOOKUP retrieving data? Vlookup help for large amounts of stock data jyfuller Excel 15 09-21-2012 11:35 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:00 AM.


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