Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-19-2015, 07:10 AM
ExcelVlookup ExcelVlookup is offline Vlookup and Match Windows 7 64bit Vlookup and Match Office 2013
Novice
Vlookup and Match
 
Join Date: Jun 2015
Posts: 2
ExcelVlookup is on a distinguished road
Default Vlookup and Match

Hello,

I have two sheets and I want to look up information in sheet two and paste it than automatically if it fullfills the conditions in sheet one.
The conditions are that the name is the same and the date. So for example
look up the name "MAXIMUS - TOT RETURN IND" and the date "08.07.1997" in sheet 2 and then paste the stock price in the corresponding cell in sheet 1.



I attached the file. It would be very nice if someone could help me.
Thank you very much!
Attached Files
File Type: xlsx vlookup_help.xlsx (399.4 KB, 15 views)
Reply With Quote
  #2  
Old 06-19-2015, 10:07 AM
beginner beginner is offline Vlookup and Match Windows 7 32bit Vlookup and Match Office 2013
Advanced Beginner
 
Join Date: Sep 2011
Location: Europe
Posts: 45
beginner will become famous soon enough
Default

Quote:
Originally Posted by ExcelVlookup View Post
It would be very nice if someone could help me.
If I understand you, try this formula

On Sheet1 in to cell B3 put this formula and copy to right and to down to last row
Code:
=IFERROR(VLOOKUP($A3;Sheet2!$A$2:$F$8544;MATCH(B$1;Sheet2!$A$1:$F$1;0);0);"")
Reply With Quote
  #3  
Old 06-19-2015, 10:24 AM
beginner beginner is offline Vlookup and Match Windows 7 32bit Vlookup and Match Office 2013
Advanced Beginner
 
Join Date: Sep 2011
Location: Europe
Posts: 45
beginner will become famous soon enough
Default

Or try

In to cell B3
Code:
=IFERROR(VLOOKUP($A3;Sheet2!$A$2:$F$8544;MATCH(B$1;Sheet2!$A$1:$F$1;0);0);"")
In to cell C3
Code:
=IFERROR(VLOOKUP($A3;Sheet2!$C$2:$F$8544;MATCH(C$1;Sheet2!$C$1:$F$1;0);0);"")
In to cell D3
Code:
=IFERROR(VLOOKUP($A3;Sheet2!$E$2:$F$8544;MATCH(D$1;Sheet2!$E$1:$F$1;0);0);"")
etc
Reply With Quote
  #4  
Old 06-19-2015, 01:12 PM
beginner beginner is offline Vlookup and Match Windows 7 32bit Vlookup and Match Office 2013
Advanced Beginner
 
Join Date: Sep 2011
Location: Europe
Posts: 45
beginner will become famous soon enough
Default

If you have more columns, you can try this formulas

In to cell B3 and copy down (If you want quickly copying formula down, double click mouse to Fill handle)
Code:
=IFERROR(VLOOKUP($A3;INDIRECT("Sheet2!"&SUBSTITUTE(ADDRESS(2;COLUMN(A1);1);"0";"")&":$H$8544");MATCH(B$1;Sheet2!$A$1:$F$1;0);0);"")
In to cell C3 copy to right and copy all down
Code:
=IFERROR(VLOOKUP($A3;INDIRECT("Sheet2!"&SUBSTITUTE(ADDRESS(2;COLUMN(B1)+COLUMN(A1);1);"0";"")&":$H$8544");MATCH(C$1;INDIRECT("Sheet2!"&SUBSTITUTE(ADDRESS(1;COLUMN(A1)+COLUMN(B1);1);"0";"")&":$H$1");0);0);"")
Please see attach
Attached Files
File Type: xlsx vlookup_help(1).xlsx (211.9 KB, 13 views)
Reply With Quote
  #5  
Old 06-22-2015, 01:42 AM
ExcelVlookup ExcelVlookup is offline Vlookup and Match Windows 7 64bit Vlookup and Match Office 2013
Novice
Vlookup and Match
 
Join Date: Jun 2015
Posts: 2
ExcelVlookup is on a distinguished road
Default

Thank you very much! this helps
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup and Match vlookup or match uhlersa Excel 2 12-04-2012 12:35 AM
Match Index with sumproduct/vlookup angie.chang Excel 1 06-18-2012 08:47 AM
Vlookup and Match Vlookup or Index/Match - Multiple Criteria ruci1225 Excel 1 01-15-2012 07:31 AM
Vlookup and Match Vlookup, offset, match & countif jujuwillis Excel 2 10-15-2011 11:06 AM
Vlookup and Match Vlookup and If conditions together along with match formulas david_benjamin Excel 2 04-11-2011 11:30 AM

Other Forums: Access Forums

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


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