How to return next largest observation of text column

%3CLINGO-SUB%20id%3D%22lingo-sub-2595204%22%20slang%3D%22en-US%22%3EHow%20to%20return%20next%20largest%20observation%20of%20text%20column%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2595204%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAttached%20is%20an%20example%20file%20of%20the%20column%20of%20data%20I%20have%20(Column%20B)%20and%20hardcoded%20version%20of%20data%20I%20want%20(column%20C)%2C%20which%20is%20also%20shown%20below.%26nbsp%3B%20If%20possible%2C%20I'd%20like%20to%20do%20this%20without%20an%20array%20formula%2C%20but%20SUMPRODUCT%20with%20multiple%20conditions%20would%20be%20fine.%26nbsp%3B%20If%20helpful%2C%20my%20actual%20spreadsheet%20also%20has%20each%20of%20the%20items%20separated%20by%20%22%20-%20%22%20under%20the%20%22Example%20Data%22%20below%20in%20separate%20columns.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CTABLE%20width%3D%22841%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%22471%22%3EExample%20Data%3C%2FTD%3E%3CTD%20width%3D%22370%22%3EIntended%20Output%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202020%3C%2FTD%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202019%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202019%3C%2FTD%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202017%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202019%3C%2FTD%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202017%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202017%3C%2FTD%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202016%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202016%3C%2FTD%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202015%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202015%3C%2FTD%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202013%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202015%3C%2FTD%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202013%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202013%3C%2FTD%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202012%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202012%3C%2FTD%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202011%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202011%3C%2FTD%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202010%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202010%3C%2FTD%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202009%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202009%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Long%20Nose%20-%20AW139%20-%202007%20-%202009%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202020%3C%2FTD%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202019%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202019%3C%2FTD%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202017%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202017%3C%2FTD%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202016%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202017%3C%2FTD%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202016%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202016%3C%2FTD%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202015%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202015%3C%2FTD%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202013%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202015%3C%2FTD%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202013%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202013%3C%2FTD%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202012%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202012%3C%2FTD%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202011%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202011%3C%2FTD%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202010%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202010%3C%2FTD%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202009%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202009%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAW139%20Short%20Nose%20-%20AW139%20-%202007%20-%202009%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2595204%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2595900%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20return%20next%20largest%20observation%20of%20text%20column%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2595900%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1022482%22%20target%3D%22_blank%22%3E%40mmrothsc%3C%2FA%3E%26nbsp%3BTransformed%20your%20example%20data%20to%20an%20Excel%20table%20and%20connected%20to%20it%20with%20Power%20Query%20(%3DGet%20%26amp%3B%20Transform%20Data%2C%20on%20the%20Data%20ribbon).%20Select%20%22From%20Sheet%22%20(or%20%3CEM%3EFrom%20Table%2FRange%3C%2FEM%3E%20on%20older%20Excel%20versions).%20PQ%20is%20built-in%20in%20Excel%202016%20and%20later%20and%20available%20as%20an%20add-in%20for%20older%20versions.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20a%20few%20clicks%20on%20some%20buttons%20you%20can%20create%20the%20table%20like%20in%20Column%20E.%20See%20attached.%20Something%20worth%20exploring%2Flearning%20if%20you%20have%20not%20used%20PQ%20before.%20No%20need%20for%20complicated%20formulae.%20If%20you%20have%20used%20PQ%20before%2C%20just%20follow%20the%20Applied%20Steps%20that%20I%20have%20used.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi, 

 

Attached is an example file of the column of data I have (Column B) and hardcoded version of data I want (column C), which is also shown below.  If possible, I'd like to do this without an array formula, but SUMPRODUCT with multiple conditions would be fine.  If helpful, my actual spreadsheet also has each of the items separated by " - " under the "Example Data" below in separate columns.

 

Thanks!

 

Example DataIntended Output
AW139 Long Nose - AW139 - 2007 - 2020AW139 Long Nose - AW139 - 2007 - 2019
AW139 Long Nose - AW139 - 2007 - 2019AW139 Long Nose - AW139 - 2007 - 2017
AW139 Long Nose - AW139 - 2007 - 2019AW139 Long Nose - AW139 - 2007 - 2017
AW139 Long Nose - AW139 - 2007 - 2017AW139 Long Nose - AW139 - 2007 - 2016
AW139 Long Nose - AW139 - 2007 - 2016AW139 Long Nose - AW139 - 2007 - 2015
AW139 Long Nose - AW139 - 2007 - 2015AW139 Long Nose - AW139 - 2007 - 2013
AW139 Long Nose - AW139 - 2007 - 2015AW139 Long Nose - AW139 - 2007 - 2013
AW139 Long Nose - AW139 - 2007 - 2013AW139 Long Nose - AW139 - 2007 - 2012
AW139 Long Nose - AW139 - 2007 - 2012AW139 Long Nose - AW139 - 2007 - 2011
AW139 Long Nose - AW139 - 2007 - 2011AW139 Long Nose - AW139 - 2007 - 2010
AW139 Long Nose - AW139 - 2007 - 2010AW139 Long Nose - AW139 - 2007 - 2009
AW139 Long Nose - AW139 - 2007 - 2009 
AW139 Long Nose - AW139 - 2007 - 2009 
AW139 Short Nose - AW139 - 2007 - 2020AW139 Short Nose - AW139 - 2007 - 2019
AW139 Short Nose - AW139 - 2007 - 2019AW139 Short Nose - AW139 - 2007 - 2017
AW139 Short Nose - AW139 - 2007 - 2017AW139 Short Nose - AW139 - 2007 - 2016
AW139 Short Nose - AW139 - 2007 - 2017AW139 Short Nose - AW139 - 2007 - 2016
AW139 Short Nose - AW139 - 2007 - 2016AW139 Short Nose - AW139 - 2007 - 2015
AW139 Short Nose - AW139 - 2007 - 2015AW139 Short Nose - AW139 - 2007 - 2013
AW139 Short Nose - AW139 - 2007 - 2015AW139 Short Nose - AW139 - 2007 - 2013
AW139 Short Nose - AW139 - 2007 - 2013AW139 Short Nose - AW139 - 2007 - 2012
AW139 Short Nose - AW139 - 2007 - 2012AW139 Short Nose - AW139 - 2007 - 2011
AW139 Short Nose - AW139 - 2007 - 2011AW139 Short Nose - AW139 - 2007 - 2010
AW139 Short Nose - AW139 - 2007 - 2010AW139 Short Nose - AW139 - 2007 - 2009
AW139 Short Nose - AW139 - 2007 - 2009 
AW139 Short Nose - AW139 - 2007 - 2009 
1 Reply

@mmrothsc Transformed your example data to an Excel table and connected to it with Power Query (=Get & Transform Data, on the Data ribbon). Select "From Sheet" (or From Table/Range on older Excel versions). PQ is built-in in Excel 2016 and later and available as an add-in for older versions.

 

With a few clicks on some buttons you can create the table like in Column E. See attached. Something worth exploring/learning if you have not used PQ before. No need for complicated formulae. If you have used PQ before, just follow the Applied Steps that I have used.