+ Reply to Thread
Results 1 to 33 of 33

Match and Extract -LAMBDA,MAP,FILTER

  1. #1
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Match and Extract -LAMBDA,MAP,FILTER

    Hi,


    How can I extract the data of Y column,Z column and AC column data by matching F column of of L3 sheet from P3 Sheet by matching B column and pulling BH,BI and BJ.
    Attached Files Attached Files
    Last edited by paradise2sr; 02-01-2024 at 09:14 PM.

  2. #2
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,014

    Re: Match and Extract

    Clean all expected results.

    L3!Y10
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Match and Extract

    I want Y ,Z column simultaneously and AC column separately formula but here it has spilled across in all columns towards right.As there are some data in AA and AB column but in above I have mentioned blank.So I don't want to spill at once.

  4. #4
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,014

    Re: Match and Extract

    Y10
    Please Login or Register  to view this content.
    Z10
    Please Login or Register  to view this content.
    Ac10
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Match and Extract

    In F column, if I insert a row suppose at F11 or F12 or anywhere then it throws a wrong result.So spilling formula below would seems incorrect.This issue is there.There will be some data including blanks where it doesn't match with P3. Sheet also.

    I have intentionally shown F column data i.e matching criteria without blank in between and non match data but in actual it does exist.

    I hope u understand what I mean to say.So in this type case it will not work.I hope u can revise accordingly.
    Last edited by paradise2sr; 01-20-2024 at 11:56 AM.

  6. #6
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,014

    Re: Match and Extract

    How about these?

    Y10
    Please Login or Register  to view this content.
    AC10
    Please Login or Register  to view this content.
    Z10
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Match and Extract

    Pls see the file it does not seems to works.I have now added a blank and non match data as well.It shows CalC error.
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,014

    Re: Match and Extract

    Try this in Y10. Z10 and AC10 are similar formulas.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Match and Extract LAMBDA /MAP/FILTER

    Hi,
    Thanx for the response.

    I have seen and altered the ranges to suits my file but found that it doesn't pull the data.
    Plz refer the attachment.I have altered the ranges and found that it threw zero and thus fails to work.

    Index and match works perfectly in case of S-1 and the like but in case such as B-1/2/3 or Lon-2/5 it fails to work might be due to find,combine and match which seems to be complicated.I hope u understand.

    A versality in formula would be highly appreciated.
    Attached Files Attached Files
    Last edited by paradise2sr; 02-01-2024 at 09:12 PM.

  10. #10
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,014

    Re: Match and Extract

    I think you don't need to spill formula.

    Y10
    Please Login or Register  to view this content.
    Z10
    Please Login or Register  to view this content.
    AC10
    Please Login or Register  to view this content.
    All copied down.
    Attached Files Attached Files

  11. #11
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Match and Extract

    No spill formula is good but on altering the range it gives me zero result.This is why I avoid.

    Can you explain why on Y3 if I put below function

    Please Login or Register  to view this content.
    It gives zero (0).I have simply extended the range.

    B-1/2/3 how does this matching works from Sheet P3.

    However One of the formula as mentioned below works for summing but matching it does not apply.

    Please Login or Register  to view this content.
    I am little bit confused as I am unable to implement it.However the structure is same simply all over I have other data which I haven't disclosed in demo file.

  12. #12
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,014

    Re: Match and Extract

    Try this in Y10, if you want add range.
    Please Login or Register  to view this content.
    Z10
    Please Login or Register  to view this content.
    AC10
    Please Login or Register  to view this content.
    All copied down.
    Attached Files Attached Files

  13. #13
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Match and Extract

    Thanx Windknife


    This #Post 12 works but why your all above spill formula does not worked.

    Can you make above formula #Post 12 as 2 spill formula for below :

    1. Y10:Z10 & below > 1 spill formula &

    2.AC10 & below another 2nd spill formula

    Since # Post 12 has worked perfectly in my real file.
    Last edited by paradise2sr; 01-21-2024 at 05:07 AM.

  14. #14
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,014

    Re: Match and Extract

    Clean all expected results.

    Y10
    Please Login or Register  to view this content.
    AC10
    Please Login or Register  to view this content.
    Attached Files Attached Files

  15. #15
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Match and Extract

    This seems perfect.Thanx

  16. #16
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,014

    Re: Match and Extract

    You are welcome.

  17. #17
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Match and Extract

    Hi,
    Is there alternative formula to Post 14 without use of LAMBDA and MAP function.

  18. #18
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: Match and Extract

    What's the problem with LAMBDA and MAP?
    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.

  19. #19
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Match and Extract

    Seems sorts of displaying the result only in first row only.Remaining rows does not display the result .I am trying to figure out.

  20. #20
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: Match and Extract

    They work fine in the workbook attached to post #14, spilling correctly. If you are having problems, attach a workbook that shows them.

  21. #21
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Match and Extract

    Yes as per post it's fine.

    Kindly assume that I am working in Office 2021.How the same result would be received ?

  22. #22
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Match and Extract

    Ok .Here I have attached file with two more worksheets namely L1 and P1 besides L3 and P3.In L1 same functions is copied from L3 sheet but referencing worksheet from P3 is altered to P1 but results are not properly extracted.So,kindly see why there is zero even if there is data in P1 worksheet.Red highlighted tab L1 and P1 should be looked upon whereas L3 and P3 are fine.

    I am very much surprised why it is not working when adding the worksheets and changing the worksheet references.Plz see what is the cause of issue.I have many other sheets to add.
    Attached Files Attached Files
    Last edited by paradise2sr; 02-01-2024 at 09:10 PM.

  23. #23
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: Match and Extract -LAMBDA,MAP,FILTER

    Kindly assume that I am working in Office 2021.
    Your forum profile should show the OLDEST version of Excel that any solution should work with - please update your forum profile to Excel 2021. Thanks.

    Of course these 365 formulae won't work in 2021, but they do work in 365, which is the version they were written for.

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    Y
    Z
    AA
    AB
    AC
    4
    <Not exteacting by Formula> <Not exteacting by Formula>
    5
    6
    <<< Extract >> <<< Extract >> <<< Extract >>
    7
    dc
    8
    9
    10
    MIK,KALE Under JS
    -
    -
    131.66
    11
    0
    0
    -
    -
    -
    12
    0
    0
    -
    -
    -
    13
    0
    0
    -
    -
    -
    14
    0
    0
    -
    -
    -
    15
    0
    0
    -
    -
    -
    16
    0
    0
    -
    -
    -
    17
    0
    0
    -
    -
    -
    18
    DOB,PATA Under JS
    -
    -
    133.27
    19
    CSR,KALE Under JS
    -
    -
    133.27
    20
    0
    0
    -
    -
    -
    21
    DOB,PATA Under JS
    -
    -
    133.27
    22
    0
    0
    -
    -
    -
    23
    CSR,KALE Under JS
    -
    -
    -
    24
    0
    0
    -
    -
    -
    25
    0
    0
    -
    -
    -
    26
    0
    0
    -
    -
    -
    27
    0
    0
    -
    -
    -
    28
    CSR,KALE Under JS
    -
    -
    133.40
    29
    CSR,KALE Under JS
    -
    -
    -
    30
    0
    0
    -
    -
    -
    31
    0
    0
    -
    -
    -
    Sheet: L1
    Last edited by AliGW; 02-02-2024 at 03:04 AM.

  24. #24
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,014

    Re: Match and Extract -LAMBDA,MAP,FILTER

    Amended formulas.

    Y10
    Please Login or Register  to view this content.
    AC10
    Please Login or Register  to view this content.
    Attached Files Attached Files

  25. #25
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: Match and Extract -LAMBDA,MAP,FILTER

    CHOOSECOLS and MAP are not available in Excel 2021. Neither is HSTACK.

  26. #26
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,014

    Re: Match and Extract -LAMBDA,MAP,FILTER

    For 2021 version.

    Y10

    Please Login or Register  to view this content.
    AC10
    Please Login or Register  to view this content.
    Both copied down.
    Attached Files Attached Files

  27. #27
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Match and Extract -LAMBDA,MAP,FILTER

    Quote Originally Posted by AliGW View Post
    CHOOSECOLS and MAP are not available in Excel 2021. Neither is HSTACK.
    Yes.Its not available.

  28. #28
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: Match and Extract -LAMBDA,MAP,FILTER

    You still haven't updated your forum profile - do this NOW.

  29. #29
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Match and Extract -LAMBDA,MAP,FILTER

    I have both version.

  30. #30
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: Match and Extract -LAMBDA,MAP,FILTER

    That's not the point: you want solutions to work with Office 2021, but you have 365 in your profile. This means that members are wasting time on 365 solutions that have now been rejected.

    NO FURTHER ASSISTANCE to be offered until the OP's profile has been changed to Excel 2021.

    Thanks.

  31. #31
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Match and Extract -LAMBDA,MAP,FILTER

    Quote Originally Posted by windknife View Post
    Amended formulas.

    Y10
    Please Login or Register  to view this content.
    AC10
    Please Login or Register  to view this content.
    Hi,windknife,

    I think you have done it finally.Lateron on night I will check the accuracy of data but seems to have been done.

    Thanx again for your kind effort.
    Last edited by AliGW; 02-02-2024 at 04:54 AM. Reason: Profile has been updated - post restored.

  32. #32
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Match and Extract -LAMBDA,MAP,FILTER

    Ok I have added both version.However,windknife has already seems to have solved the issue.

    If any issues related with this if appears will post accordingly.Meanwhile I am marking this as solved .

  33. #33
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: Match and Extract -LAMBDA,MAP,FILTER

    It can't have as it won't work in Office 2021. But if you're happy ...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 11
    Last Post: 11-26-2022, 04:58 PM
  2. [SOLVED] Match data and extract
    By viciousvixen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-09-2019, 04:49 AM
  3. Match and extract data on different sheets
    By navikn in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-06-2017, 11:27 PM
  4. match words and extract out
    By mathanraj76 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-29-2013, 02:15 PM
  5. [SOLVED] Formula to match and extract between two spreadsheets
    By Jhubbard in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-08-2013, 11:40 AM
  6. [SOLVED] match in one range to extract value from another
    By jalea148 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-01-2012, 05:11 PM
  7. [SOLVED] Find a match between 2 sheets and extract a specified value
    By Radical_Magic63 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-17-2012, 07:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1