Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-16-2017, 12:44 AM
Cryken Cryken is offline Vlook up multiple sequence Windows 10 Vlook up multiple sequence Office 2013
Novice
Vlook up multiple sequence
 
Join Date: Jan 2017
Posts: 1
Cryken is on a distinguished road
Default Vlook up multiple sequence

I need a vlook up that will search one particular column if B1 says "a" but if B1 says "b" I need the data from a Seperate colum.

I have two glass supplies to quote off. With lists next to yeah other with the varying price for the same product. So if glass supplies A is false . Then I need it to ignore that vlookup and run a second vlookup which will pull data from a different column but put the data in the same.place as the first vlookup

Now that I've typed that it seems very confusing.. I promise it's not 😉 can anyone help?
Reply With Quote
  #2  
Old 01-30-2017, 08:15 AM
Kev Kev is offline Vlook up multiple sequence Windows 7 64bit Vlook up multiple sequence Office 2016
Novice
 
Join Date: Jan 2017
Posts: 7
Kev is on a distinguished road
Default

One way:
Code:
=IF(B2="a",VLOOKUP(A2,SupplierTable!$A$2:$C$6,2,0),VLOOKUP(A2,SupplierTable!$A$2:$C$6,3,0))
see attached workbook.
formula in column C of sheet "LookUp"
Attached Files
File Type: xlsx LookUp.xlsx (9.5 KB, 10 views)
Reply With Quote
  #3  
Old 01-30-2017, 10:39 AM
jeffreybrown jeffreybrown is offline Vlook up multiple sequence Windows Vista Vlook up multiple sequence Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

If that works for the OP, it can be shortened to...

=VLOOKUP(A2,SupplierTable!$A$2:$C$6,IF(B2="a",2,3) ,0)
Reply With Quote
  #4  
Old 01-30-2017, 10:56 AM
Kev Kev is offline Vlook up multiple sequence Windows 7 64bit Vlook up multiple sequence Office 2016
Novice
 
Join Date: Jan 2017
Posts: 7
Kev is on a distinguished road
Default

nice and concise @jeffreybrown
Reply With Quote
  #5  
Old 01-31-2017, 08:45 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Vlook up multiple sequence Windows 7 64bit Vlook up multiple sequence Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,770
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Moved to non-VBA forum. Please post in the right forum in the future. Thx
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sequence problem Pecoflyer Excel 2 01-10-2017 09:34 AM
Vlook up multiple sequence Problem with correcting an index sequence John Witmer Word 5 05-13-2015 03:52 AM
Vlook up multiple sequence VLook up search Tralee6 Excel 4 08-07-2014 05:20 AM
Vlook up multiple sequence Automatic numbering in captions out of sequence Savager Word 3 05-25-2012 07:22 AM
Vlook up multiple sequence Excel sheet Sequence Number belloffice Excel 1 02-25-2010 02:41 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:44 PM.


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