Hi,
I have used LET function in B5 but showi wrong result.My expected results are mentioned in F5:G8.
Couldn't figure out what is missing.
Hi,
I have used LET function in B5 but showi wrong result.My expected results are mentioned in F5:G8.
Couldn't figure out what is missing.
worksheet or Tab name : Result
Cell B5 formula
Formula:=LET(z,Data!A4:C11,l,A5:A8,FILTER(FILTER(SORTBY(z,MATCH(INDEX(z,,1),l,)),SEQUENCE(ROWS(z))<=ROWS(l)),{0,1,1}))
Thanx for the reply.
Can you exclude SORTBY function from above LET function.What it should be without it without any change in the result ?
Also,trying to use something like below functionin it.XLOOKUP(A5:A8,Data!A4:A11,Data!B4:C11,0)
Is it possible.
Please try
=INDEX(Data!B4:C11,MATCH(A5:A8,Data!A4:A11,),{1,2})
Last edited by Bo_Ry; 08-02-2022 at 01:37 AM.
That seems to work.
I would like to ask one more thing.The lookup value (A5:A8) in my actual workbook is actually is extracted using somethingWhen I use your formula,it gives #N/A Error.But when I copy paste and make it hardcoded and then converted into number then your formula works very fine.TEXTJOIN(, 1, TEXT(MID(D6, ROW($D$6:INDEX($D$6:$D$969, LEN(D6))), 1), "#;-#;0;"))
Is,I need to wrap up by some other formula in it.
Kindly suggest me.How to resolve this kind of issue.
Try using just this bit:
TEXT(MID(D6, ROW($D$6:INDEX($D$6:$D$969, LEN(D6))), 1), "#;-#;0;")
with the double unury:
--TEXT(MID(D6, ROW($D$6:INDEX($D$6:$D$969, LEN(D6))), 1), "#;-#;0;")
So you'll end up with this:
=INDEX(Data!B4:C11,MATCH(--TEXT(MID(D6, ROW($D$6:INDEX($D$6:$D$969, LEN(D6))), 1), "#;-#;0;"),Data!A4:A11,),{1,2})
Any good?
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
I have used below as per your Post #6 in my real working workbook.
It is displaying error as #VALUE!.INDEX(Data!B4:C1604,MATCH(--TEXT(MID(D6, ROW($D$6:INDEX($D$6:$D$969, LEN(D6))), 1), "#;-#;0;"),Data!A4:A1604,),{1,2})
I think I have to go by converting into number by doing hardcoded which is working very fine.
Last edited by paradise2sr; 08-02-2022 at 03:02 AM.
Hard to say without seeing the workbook, but I see you've marked this as solved.
Yes,marked it solved as in hardcoded number it works.
As I cannot disclose in publicly the workbook.But to let you know, that the number is extracted from other columns using as mentioned above function namely TextJoin and this is the lookup value.
Rest is the remaining story as stated above.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks