Microsoft Excel Using Match result - excel

I have a drop down that I call match on. Can I directly incorporate matches result into a formula.
For example I am trying to say
=C(MATCH(J15,A1:A52,0))
I am using match to find the second component of the cells location. I am using Excel 2003.

=INDEX($C:$C,MATCH(J15,A1:A52,0))

=INDIRECT(ADDRESS(MATCH(I23,'State Sales Tax'!A2:A52,0)+1,3))

Related

Excel, how to dynamically modify column cells until next different value

For example:
I want it to become:
This clearly has to be done dynamically.
In Office 365 you could create the required result in a different column/sheet with this formula: =A1:A11&IF(COUNTIF(OFFSET(A1,,,SEQUENCE(COUNTA(A1:A11),),),A1:A11)-1=0,"","_"&COUNTIF(OFFSET(A1,,,SEQUENCE(COUNTA(A1:A11),),),A1:A11)-1)
Or using LET:
=LET(data,A1:A11,
countif,COUNTIF(OFFSET(data,,,SEQUENCE(COUNTA(data))),data)-1,
data&IF(countif=0,"","_"&countif))
If you want the data replaced with the amended data you need a VBA solution

Equivalent of NOT In or IN in Excel like in SQL, I don't want use vlookup or match

So I have two sets of data (from two different Excel files), the first column of each Excel file are all same type of data, numbers.
I want to use something equivalent of IN or NOT IN in SQL in Excel, since I don't think I want to use match or vlookup. I just want to know if the data in first Excel file (rows that belong to the first column) are in the first column of second Excel file.
Then I want to return possibly as true or false (not sure even I need that).
What is the best way to accomplish in Excel? Should I use VLOOKup since I'm comparing two different Excel files. And if I just copy the first row from second Excel file and put in first Excel file, is there something I can use equivalent of IN or NOT IN?
Iferror or match?
For IN we use:
=ISNUMBER(MATCH(A1,[yourOtherFile]Sheet1!A:A,0))
Then for Not In:
=ISERROR(MATCH(A1,[yourOtherFile]Sheet1!A:A,0))
Use COUNTIF combined with an IF statement to confirm the count is greater than zero.
=COUNTIF(Dataset_sheet!A:A,A1) > 0, "Yes", "No")

Excel - Generate list that displays cells that meet multiple forms of criteria

I've attempted to dig through this online but surprisingly I can't find any solution to what I'm trying to do within Excel in an attempt to automate a series of tasks.
I have a list/column within excel that contains both numbers and letters, similar to this:
OriginalList
5682se
5385ba
5682aw
4444ss
4444we
8888aa
I currently have a column directly next to it, which displays Yes/No properties if the cells meet the criteria.
=IF(COUNTIF(F5, "44*"),"yes","no")
But this will no longer work as I now have multiple criteria requirements, (Cells that BEGIN with: 44,88,56)
At this point, I would prefer to simply generate a new list the ONLY displays the items that meet ONE of the forms of criteria, instead of what I was doing in the past. Keep in mind, I'm having to avoid generic Excel filters and need this to be performed within a formula. VBA solutions are welcome as well. Example of what I'm trying to do at this point:
OriginalList NewList
5682se 5682se
5385ba 4444ss
5682aw 4444we
4444ss 8888aa
4444we
8888aa
I've managed to get a count formula to work properly, with the same criteria I'm looking for, I've tried adjusting this to create a new Column list, but to no avail:
=COUNTIF($D$2:$D$8000,"44*")+COUNTIF($D$2:$D$8000,"88*")+COUNTIF($D$2:$D$8000,"56")
Here is an alternative using Microsoft365:
Formula in B2:
=FILTER(A2:A7,MMULT(--(--LEFT(A2:A7,2)={44;88;56}),{1,1,1}))
Or maybe rather use MATCH():
=FILTER(A2:A7,ISNUMBER(MATCH(--LEFT(A2:A7,2),{44,56,88},0)))
I hope I didn't get lost in translation there with comma's and semi-colon.
If you have Excel365 then try-
=LET(x,A2:A7,FILTER(x,(LEFT(x,2)="44")+(LEFT(x,2)="56")+(LEFT(x,2)="88")))

Dynamically extract a list of unique values from a column range in Excel?

I found this example in an excel tutorial
The following image is my desired result. and the following formula is supposed to be able to extract the unique records dynamically. I know how to do this with VBA but i really want to make this a formula without using a macro.
=IFERROR(INDEX($B$2:$B$9, MATCH(0,COUNTIF($D$1:D1, $B$2:$B$9), 0)),"")
I have tried the above formula as given in the example link above but it returns with error. I am assuming that this worked at some point in excel however it no longer works with Excel 2016. Can someone clarify why this formula no longer works? Thank you.
Answering my own question about 5 minutes later, so i read the patch nodes on the how match changed from excel 2008 to 2016. You need to use the index rather than the count.
=IFERROR(INDEX($B$2:$B$9, MATCH(0,INDEX(COUNTIF($D$1:D1,$B$2:$B$9),0,0),0)),"0)),"")")
Recommended edit to the formula to change the value returned on error to a blank:
=IFERROR(INDEX($B$2:$B$9, MATCH(0,INDEX(COUNTIF($D$1:D1,$B$2:$B$9),0,0),0)),"")

Can I receive one row per predecessor?

This forum has been very helpful to understand the Rally Excel Add-in.
I am able to extract the Predecessors for a user story.
If there are more than one then they are all placed into one cell separated by a coma.
My syntax is :AcceptedDate,FormattedID,Predecessors.FormattedID
The results is;
2012-11-05T14:38:24.963Z US22938 US19926,
US27528,
US28467,
US29310
The Predecessors are all in one cell: US19926,US27528,US28467,US29310
Is there a way to receive each predecessor in it's own cell? Row?
Regards,
Jim
Unfortunately there's not a way to accomplish this using the Excel add-in. As a workaround, it would be possible to split these out into cells or rows using Excel parsing functions and/or VBA though.

Resources