Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-09-2017, 09:34 AM
Gmiller0503 Gmiller0503 is offline vlookup with two digit criteria with multiple text results Windows 7 32bit vlookup with two digit criteria with multiple text results Office 2013
Novice
vlookup with two digit criteria with multiple text results
 
Join Date: Mar 2017
Posts: 2
Gmiller0503 is on a distinguished road
Default vlookup with two digit criteria with multiple text results

Hi



I need help with a vlookup formula.

I am trying to search in a column for numbers starting with a certain two digits, returning multiple results from another column with text.

Example:

ID Name
11 Bob
12 Bill
13 Betsy
110 Beverly
121 James
134 Janet

looking for a formula to group these in a list resembling this:

ID Name
11 Bob
110 Beverly
12 Bill
121 James
13 Betsy
134 Janet

Last edited by Gmiller0503; 03-09-2017 at 09:35 AM. Reason: to clarify
Reply With Quote
  #2  
Old 03-09-2017, 11:07 AM
xor xor is offline vlookup with two digit criteria with multiple text results Windows 10 vlookup with two digit criteria with multiple text results Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
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

Can't you just sort the ID Names?
Reply With Quote
  #3  
Old 03-09-2017, 12:11 PM
Gmiller0503 Gmiller0503 is offline vlookup with two digit criteria with multiple text results Windows 7 32bit vlookup with two digit criteria with multiple text results Office 2013
Novice
vlookup with two digit criteria with multiple text results
 
Join Date: Mar 2017
Posts: 2
Gmiller0503 is on a distinguished road
Default

hi! No I cannot just use sort because it will use any length of ID numbers with those two digits, not just the ones with the two digits as first two in ID number.

For example, if I searched for "15", it could show results like "15", "151", but also "4615" or "321516" which the two digits are contained in the ID number but not the first two digits.

I can send a spreadsheet if easier?
Reply With Quote
  #4  
Old 03-09-2017, 01:00 PM
xor xor is offline vlookup with two digit criteria with multiple text results Windows 10 vlookup with two digit criteria with multiple text results Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
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

I answered based on the data you gave and sorting your example gives exactly your wanted list.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a formula (possibly something like VLOOKUP) that will return multiple results. SilverUnicorn79 Excel 8 08-16-2016 01:34 PM
vlookup with two digit criteria with multiple text results A challenging digit by digit manipulation, rotate the digit in range of 0 to 9 laucn Excel Programming 14 05-17-2015 12:12 PM
excel vlookup with multiple criteria mpokorny Excel 4 05-06-2012 04:06 AM
vlookup with two digit criteria with multiple text results Vlookup or Index/Match - Multiple Criteria ruci1225 Excel 1 01-15-2012 07:31 AM
Sum Product Multiple Text and date Criteria ramki Excel 1 01-09-2012 01:16 AM

Other Forums: Access Forums

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


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