Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-20-2018, 08:48 PM
EcommDOC EcommDOC is offline How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array Windows 10 How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array Office 2016
Novice
How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array
 
Join Date: Jan 2018
Posts: 2
EcommDOC is on a distinguished road
Default How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array


What I need to do here is take the vlookup and separate into 2 separate price points. Price Point 1 would return in columns E:J, then Price Point 2 would return in columns L:K. I've attache the 2 sheets that I'm working with.

I have the formula:=IFERROR(VLOOKUP($B$2&":"&D3,'Picklist by Individual Unit Qty'!B1:K8603,5,FALSE),"")

BUT, I need to return the value only if column K on the lookup sheet matches a specific criteria which appears in cell A13 of Destination sheet. Any Ideas
Attached Images
File Type: png Capture.PNG (74.9 KB, 23 views)
File Type: png Destination Sheet.PNG (80.5 KB, 23 views)

Last edited by EcommDOC; 01-20-2018 at 08:51 PM. Reason: Clarification
Reply With Quote
  #2  
Old 01-20-2018, 11:36 PM
xor xor is offline How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array Windows 10 How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

If you name your ranges in column B, F and K in Picklist:

Helper
Container.Name and
Price.point

then try the following array formula:

=IFERROR(INDEX(Container.Name,MATCH($B$2&":"&D3&$A $13,Helper&Price.Point,0)),"")
Reply With Quote
  #3  
Old 01-21-2018, 08:53 AM
xor xor is offline How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array Windows 10 How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Please note that there shouldn't be a space between A and $13.

This error is a MSOfficeForums thing.
Reply With Quote
  #4  
Old 01-22-2018, 04:21 AM
ArviLaanemets ArviLaanemets is offline How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array Windows 8 How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

I think for you will work:

1. Rename column headings so they are without spaces (it's optional)
Container.Name > Container
Lot.ID/Lot_ID > Lot
Price Point > PricePoint

2. Define names
nStore = DestinationSheet!$B$2
nPricePoint = DestinationSheet!$A$13

3. Define both tables on sheet 'Picklist By Individual Unit Qty' and 'DestinationSheet' as Tables, p.e. tSource and tDestination

The table formula will be probably (I'm not fully sure how did you calculate row numbers in column B of source sheet)

Code:
=SUMIFS(tSource[PricePoint],tSource[Store],nStore, tSource[Container], [@Container], tSource[Lot], [@Lot], tSource[PricePoint], nPricePoint]
In case you don't want to use Table formula, you have to replace all column references with absolute references, row references with dynamic references [and names with absolute references].
Reply With Quote
  #5  
Old 01-22-2018, 07:57 AM
EcommDOC EcommDOC is offline How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array Windows 10 How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array Office 2016
Novice
How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array
 
Join Date: Jan 2018
Posts: 2
EcommDOC is on a distinguished road
Default

Arvi I don't need sums of anything, I need to create 2 separate Pick list for 1 store from 1 huge pick list of multiple stores and 2 price points
Reply With Quote
  #6  
Old 01-22-2018, 08:05 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array Windows 7 64bit How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
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

Yes, but what about the suggestions in post #2 and 3?
__________________
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
  #7  
Old 01-22-2018, 09:03 AM
ArviLaanemets ArviLaanemets is offline How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array Windows 8 How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

Quote:
Originally Posted by EcommDOC View Post
Arvi I don't need sums of anything, I need to create 2 separate Pick list for 1 store from 1 huge pick list of multiple stores and 2 price points
When you calculate a sum which returns a numeric value from certain row, it works effectively as lookup. The idea is to compose conditions for sumifs() in a way, that a single numeric value is returned. I myself use this technique often, as it allows to apply unlimited number of conditions.
Reply With Quote
  #8  
Old 01-22-2018, 11:00 AM
xor xor is offline How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array Windows 10 How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

It would be so much easier to provide a useful answer if you uploaded your actual project instead of some more or less useless pictures and gave examples of expected results.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a VLOOKUP - when 2 rows match criteria it returns the first value in the cel only how 2 change djrobst Excel 4 10-28-2015 01:32 AM
Would like to return a row rather than a cell using VLookup canajun Excel 7 12-10-2014 01:03 PM
Vlookup two columns return 3rd jennamae Excel 11 01-12-2014 02:53 AM
excel vlookup with multiple criteria mpokorny Excel 4 05-06-2012 04:06 AM
How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array Vlookup or Index/Match - Multiple Criteria ruci1225 Excel 1 01-15-2012 07:31 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:20 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