+ Reply to Thread
Results 1 to 19 of 19

Extract Values from F15:S20 into F3:S10 if Condition Met

  1. #1
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Extract Values from F15:S20 into F3:S10 if Condition Met

    New modification:
    Looking for formula (preferably non-array) to look into B13:S20 and (see desired outcome in F3:S10) and extract values in F15:S20 into F3:S10. Requirements to extract values are date in F2:S2 and E14:S14, ID in E3:E10 and E15:E20, and names in B3: B10 and B15:B20.

    See attached sample file.

    Thanks




    Modified request I: Solved
    Looking for formula (preferably non-array) to look into A2:F9 and return unique values for the names (see desired outcome in A14:R19) and extract values in E2:E9 into E14:R19. Requirements to extract values are date in F2:F9, names and E13:R13.

    Desired outcome is in B14:R19. See attached sample file.

    Modified request II:
    Looking for formula (preferably non-array) to look into A2:F9 and (see desired outcome in A23:R32) and extract values in E2:E9 into E24:R31. Requirements to extract values are date in F2:F9, names and E23:R23.

    Desired outcome is in B24:R31. See attached sample file.



    Original Request: Solved
    Looking for formula (preferably non-array) to look into A3:R10 and return unique values for the names (see desired outcome in A13:R20) and extract values in H3:R10 into E15:R20. Requirements to extract values are date in H2:R2, names and E14:R14.

    Desired outcome is in B15:R20. See attached sample file.

    Thanks.
    Last edited by bjnockle; 04-26-2021 at 10:06 PM.

  2. #2
    Spammer
    Join Date
    01-08-2015
    Location
    Cali, Colombia
    MS-Off Ver
    365
    Posts
    302

    Re: Formula to extract Extract Values from A3:R10 into B15:R20

    Hi, bjnockle!

    You can try this non-CSE formula:
    [E15]: =IFERROR(INDIRECT(TEXT(AGGREGATE(15,6,ROW($B$3:$B$10)*100+COLUMN($H$2:$R$2)/($B$3:$B$10=$B15)/($H$2:$R$2=E$14)/($H$3:$R$10<>""),1),"R0C00"),),"")

    Blessings!

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Formula to extract Extract Values from A3:R10 into B15:R20

    One more approach without passive function. In E15 then copied across.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Formula to extract Extract Values from A3:R10 into B15:R20

    Please try at
    A15:A20
    =IFERROR(INDEX(A$3:A$10,AGGREGATE(15,6,ROW($B$3:$B$10)-ROW($B$2)/(MATCH($B$3:$B$10,$B$3:$B$10,)=ROW($B$3:$B$10)-ROW($B$2)),ROWS(B$15:B15))),"")

    B15:D20
    =IF($A15="","",VLOOKUP($A15,$A$3:$D$10,COLUMNS($A15:B15),))

    E15:R20
    =IFERROR(INDEX($E$3:$E$10,MATCH(TRUE,INDEX($B$3:$B$10&INDEX($H$3:$R$10,,MATCH(E$14,$H$2:$R$2,))=$B15&$E$3:$E$10,),)),"")
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Formula to extract Extract Values from A3:R10 into B15:R20

    Bo_Ry: Outstanding solution. Thank you, Bo_Ry
    .

  6. #6
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Formula to extract Extract Values from A3:R10 into B15:R20

    kvsrinivasamurthy: Oustanding solution, kvsrinivasamurthy. Thank you.

  7. #7
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Formula to extract Extract Values from A3:R10 into B15:R20

    johnmpl: Oustanding solution, johnmpl. Thank you, johnmpl.

    Modified request:
    Looking for formula (preferably non-array) to look into A3:R10 and (see desired outcome in A23:R32) and extract values in H3:R10 into E25:R32. Requirements to extract values are date in H2:R2, names and E24:R24.

    Desired outcome is in B24:R32. See attached sample file.
    Attached Files Attached Files
    Last edited by bjnockle; 04-21-2021 at 02:30 PM.

  8. #8
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Formula to extract Extract Values from A3:R10 into B15:R20

    Modified request:
    Looking for formula (preferably non-array) to look into A3:R10 and (see desired outcome in A23:R32) and extract values in H3:R10 into E25:R32. Requirements to extract values are date in H2:R2, names and E24:R24.

    Desired outcome is in B24:R32. See attached sample file.
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Formula to extract Extract Values from A3:R10 into B15:R20

    Outstanding solution, Bo_Ry.
    Modified request:
    Looking for formula (preferably non-array) to look into A3:R10 and (see desired outcome in A23:R32) and extract values in H3:R10 into E25:R32. Requirements to extract values are date in H2:R2, names and E24:R24.

    Desired outcome is in B24:R32. See attached sample file.
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Formula to extract Extract Values from A3:R10 into B15:R20

    johnmpl:

    Modified request:
    Looking for formula (preferably non-array) to look into A3:R10 and (see desired outcome in A23:R32) and extract values in H3:R10 into E25:R32. Requirements to extract values are date in H2:R2, names and E24:R24.

    Desired outcome is in B24:R32. See attached sample file.
    Attached Files Attached Files

  11. #11
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Formula to extract Extract Values from A3:R10 into B15:R20

    B25:R32
    =iferror(vlookup($a25,$a$3:$r$10,match(b$24,$a$2:$r$2,),)&"","")
    Attached Files Attached Files

  12. #12
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Formula to extract Extract Values from A3:R10 into B15:R20

    In E14 then copied across
    Please Login or Register  to view this content.
    Attached Files Attached Files

  13. #13
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Formula to extract Extract Values from A3:R10 into B15:R20

    Bo_Ry: Excellent solution, Bo_Ry.

    Modified request I:
    Looking for formula (preferably non-array) to look into A2:F9 and return unique values for the names (see desired outcome in A14:R19) and extract values in E2:E9 into E14:R19. Requirements to extract values are date in F2:F9, names and E13:R13.

    Desired outcome is in B14:R19. See attached sample file.

    Modified request II:
    Looking for formula (preferably non-array) to look into A2:F9 and (see desired outcome in A23:R32) and extract values in E2:E9 into E24:R31. Requirements to extract values are date in F2:F9, names and E23:R23.

    Desired outcome is in B24:R31. See attached sample file.
    Attached Files Attached Files

  14. #14
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Formula to extract Extract Values from A3:R10 into B15:R20

    kvsrinivasamurthy: Outstanding solution, kvsrinivasamurthy.

    Modified request I:
    Looking for formula (preferably non-array) to look into A2:F9 and return unique values for the names (see desired outcome in A14:R19) and extract values in E2:E9 into E14:R19. Requirements to extract values are date in F2:F9, names and E13:R13.

    Desired outcome is in B14:R19. See attached sample file.

    Modified request II:
    Looking for formula (preferably non-array) to look into A2:F9 and (see desired outcome in A23:R32) and extract values in E2:E9 into E24:R31. Requirements to extract values are date in F2:F9, names and E23:R23.

    Desired outcome is in B24:R31. See attached sample file.
    Attached Files Attached Files

  15. #15
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Formula to Extract Values from A2:F9 into B14:R19 & into B24:R31

    Pl see attached file with formulas in both the ranges.
    Attached Files Attached Files

  16. #16
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Formula to Extract Values from A2:F9 into B14:R19 & into B24:R31

    kvsrinivasamurthy: You are simply the best - excellent solution. I have one more modification.

    New modification:
    Looking for formula (preferably non-array) to look into B13:S20 and (see desired outcome in F3:S10) and extract values in F15:S20 into F3:S10. Requirements to extract values are date in F2:S2 and E14:S14, ID in E3:E10 and E15:E20, and names in B3: B10 and B15:B20.

    See attached sample file.

    Thanks
    Last edited by bjnockle; 04-25-2021 at 06:00 PM.

  17. #17
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Formula to Extract Values from F15:S20 into F3:S10

    In F3 then copied across

    =IFERROR(INDEX($F$15:$S$20,MATCH($B3,$B$15:$B$20,0),MATCH(F$2,$F$14:$S$14,0)),"")

  18. #18
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Formula to Extract Values from F15:S20 into F3:S10

    kvsrinivasamurthy: Your proposed solution did not use the "ID" (column E3:E10 and E15:E20) heading as one of the requirements. Please use this requirement with the proposed formula. Thanks.

  19. #19
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Extract Values from F15:S20 into F3:S10 if Condition Met

    Revised formula in F3

    Please Login or Register  to view this content.

+ 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. Extract non-zero list of values containing formula.
    By thebeastslayer in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-03-2020, 06:14 AM
  2. Formula to extract unique values/distinct values in rows in excel
    By bjnockle in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-07-2020, 05:35 PM
  3. Replies: 11
    Last Post: 10-27-2016, 07:33 PM
  4. Extract Values using formula
    By bjnockle in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-21-2016, 09:32 AM
  5. [SOLVED] Formula to extract values
    By Buster^ in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-21-2014, 05:09 AM
  6. [SOLVED] Extract Unique Values, Then Extract Again to Remove Suffixes
    By Karl Burrows in forum Excel General
    Replies: 23
    Last Post: 06-25-2005, 08:05 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