+ Reply to Thread
Results 1 to 6 of 6

if criteria extract group of numbers

  1. #1
    Registered User
    Join Date
    05-24-2020
    Location
    greece
    MS-Off Ver
    2010
    Posts
    76

    if criteria extract group of numbers

    hello to everybody,i have attached a file which shows a box from D5 to L5 at which i will put manually and randomly the numbers 1-9 ,at the A:A column i show the group numbers of each of the nine numbers,what i need is to extract those numbers at the line D9 to AM9 in the same order like in the yellow box.i showed an example in the attached file :so if D5 is 7 extract at Dto G9 the numbers which represent the 7 and so on ..i hope you can give me ahelp.yhanks

  2. #2
    Registered User
    Join Date
    05-24-2020
    Location
    greece
    MS-Off Ver
    2010
    Posts
    76

    Re: if criteria extract group of numbers

    =IFERROR(IF($D$5=1;CHOOSE(COLUMNS($CQ:CQ);14;31;9;22);IF($D$5=2;CHOOSE(COLUMNS($CQ:CQ);14;31;9;22);IF($D$5=3;CHOOSE(COLUMNS($CQ:CQ);14;31;9;22);IF($D$5=3;CHOOSE(COLUMNS($CQ:CQ);14;31;9;22);IF($D$5=4;CHOOSE(COLUMNS($CQ:CQ);14;31;9;22);IF($D$5=5;CHOOSE(COLUMNS($CQ:CQ);14;31;9;22);IF($D$5=6;CHOOSE(COLUMNS($CQ:CQ);14;31;9;22);IF($D$5=7;CHOOSE(COLUMNS($CQ:CQ);14;31;9;22);IF($D$5=8;CHOOSE(COLUMNS($CQ:CQ);14;31;9;22);IF($D$5=9;CHOOSE(COLUMNS($CQ:CQ);14;31;9;22);"")))))))));"")
    why these formula is wrong?something with nesting
    Last edited by zzz444; 06-13-2020 at 05:04 PM.

  3. #3
    Registered User
    Join Date
    05-24-2020
    Location
    greece
    MS-Off Ver
    2010
    Posts
    76

    Re: if criteria extract group of numbers

    =IF(D$5=1;INDEX(A$14:A$17;ROWS($11:11);D$5);IF(D$5=2;INDEX(A$14:A$17;ROWS($11:11);D$5);IF(D$5=3;INDEX(A$14:A$17;ROWS($11:11);D$5);IF(D$5=4;INDEX(A$14:A$17;ROWS($11:11);D$5);IF(D$5=5;INDEX(A$14:A$17;ROWS($11:11);D$5);IF(D$5=6;INDEX(A$14:A$17;ROWS($11:11);D$5);IF(D$5=7;INDEX(A$14:A$17;ROWS($11:11);D$5);IF(D$5=8;INDEX(A$14:A$17;ROWS($11:11);D$5);IF(D$5=9;INDEX(A$14:A$17;ROWS($11:11);D$5);""))))))))) ok i thing i made it

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: if criteria extract group of numbers

    I made a vlookup table in $A$19:$E$27.

    After that (see the green cells)

    D13 =VLOOKUP(INDIRECT(ADDRESS(5,3+ROUNDDOWN((COLUMN()/4),0))),$A$19:$E$27,2+MOD(COLUMN(),4),0) and drag to the right.

    See the attached file.
    Last edited by oeldere; 06-13-2020 at 06:32 PM. Reason: file added
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Registered User
    Join Date
    05-24-2020
    Location
    greece
    MS-Off Ver
    2010
    Posts
    76

    Re: if criteria extract group of numbers

    thanks,super!
    Last edited by zzz444; 06-14-2020 at 03:14 AM.

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: if criteria extract group of numbers

    @zzz444

    Invalid Attachment specified. If you followed a valid link, please notify the administrator.


    Thanks for the rep.

    Glad I could help.

    If you are satisfied with the solution, please mark the question solved.
    Last edited by oeldere; 06-14-2020 at 03:42 AM.

+ 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: 3
    Last Post: 05-19-2019, 07:31 AM
  2. If a combination extract a group of numbers
    By louis128 in forum Excel General
    Replies: 19
    Last Post: 12-31-2018, 05:33 AM
  3. [SOLVED] Macro to generate groups randomly of 20 numbers, being 10 of group A and 10 of group B,
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 11-14-2017, 08:02 AM
  4. [SOLVED] Extract the minimum and second lowest numbers from an array with multiple criteria
    By Shareez Saleem in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 04-05-2017, 08:43 AM
  5. Extract a list of numbers under multiple criteria to another workbook
    By lks0912 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-15-2013, 08:03 AM
  6. [SOLVED] How can I convert a group of numbers to a group of letters?
    By CarlG in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-18-2006, 10:35 AM
  7. Replies: 1
    Last Post: 01-09-2006, 09:30 AM

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