Consulting

Results 1 to 11 of 11

Thread: K-ESIMO MATRIX FORMULA

  1. #1
    VBAX Regular
    Joined
    Sep 2016
    Location
    Peru
    Posts
    28
    Location

    K-ESIMO MATRIX FORMULA

    Dear All,


    I have a matrix formula copy values from one column to another column in an orderly manner, but omitting the empty cells:


    HTML Code:
    (B2: B300 <>), and if (B2: B300) is the same as the other, ; FILA (B2: B300)); ROWS (C $ 1: C2))));
    However, when copying the data, the formula omits the first value ... What is failing in my formula?


    Attached the file. Thank you very much for your support
    Attached Files Attached Files

  2. #2
    VBAX Guru mancubus's Avatar
    Joined
    Dec 2010
    Location
    "Where I lay my head is home" :D
    Posts
    2,644
    compare COMPROMISO!C2 to ESTRATÉGICOS!C2 to see what the formula is missing.

    correct the formula in ESTRATÉGICOS!C2 and copy the new formula below cells.
    PLS DO NOT PM; OPEN A THREAD INSTEAD!!!

    1) Posting Code
    [CODE]PasteYourCodeHere[/CODE]
    (or paste your code, select it, click # button)

    2) Uploading File(s)
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) (multiple files can be selected while holding Ctrl key) / Upload Files / Done
    Replace company specific / sensitive / confidential data. Include so many rows and sheets etc in the uploaded workbook to enable the helpers visualize the data and table structure. Helpers do not need the entire workbook.

    3) Testing the Codes
    always back up your files before testing the codes.

    4) Marking the Thread as Solved
    from Thread Tools (on the top right corner, above the first message)

  3. #3
    VBAX Regular
    Joined
    Sep 2016
    Location
    Peru
    Posts
    28
    Location
    Dear Mancubus,

    Thanks very much for your answer... Unfortunately I can not solve my problem yet. I have the same error on both sheets. COMPROMISO as well ESTRATEGICO. The formula is the same, so BOTH are failing... I have checked many times and did not detect what I am doing wrong. I will appreciate your help a lot

    Best regards

    Marcela

  4. #4
    VBAX Guru mancubus's Avatar
    Joined
    Dec 2010
    Location
    "Where I lay my head is home" :D
    Posts
    2,644
    you are welcome.

    upload a file with desired output.
    manually insert the values what the formulas are expected to return.
    PLS DO NOT PM; OPEN A THREAD INSTEAD!!!

    1) Posting Code
    [CODE]PasteYourCodeHere[/CODE]
    (or paste your code, select it, click # button)

    2) Uploading File(s)
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) (multiple files can be selected while holding Ctrl key) / Upload Files / Done
    Replace company specific / sensitive / confidential data. Include so many rows and sheets etc in the uploaded workbook to enable the helpers visualize the data and table structure. Helpers do not need the entire workbook.

    3) Testing the Codes
    always back up your files before testing the codes.

    4) Marking the Thread as Solved
    from Thread Tools (on the top right corner, above the first message)

  5. #5
    VBAX Guru mancubus's Avatar
    Joined
    Dec 2010
    Location
    "Where I lay my head is home" :D
    Posts
    2,644
    ooops.

    try this array (CSE, matrix, etc) formula

    PHP Code:
    =LOOKUP(REPT("z",255),CHOOSE({1,2},"",INDEX(B:B,SMALL(IF($B$2:$B$300<>"",ROW($B$2:$B$300)),ROWS(C$1:$C1))))) 
    google is your best friend.
    PLS DO NOT PM; OPEN A THREAD INSTEAD!!!

    1) Posting Code
    [CODE]PasteYourCodeHere[/CODE]
    (or paste your code, select it, click # button)

    2) Uploading File(s)
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) (multiple files can be selected while holding Ctrl key) / Upload Files / Done
    Replace company specific / sensitive / confidential data. Include so many rows and sheets etc in the uploaded workbook to enable the helpers visualize the data and table structure. Helpers do not need the entire workbook.

    3) Testing the Codes
    always back up your files before testing the codes.

    4) Marking the Thread as Solved
    from Thread Tools (on the top right corner, above the first message)

  6. #6
    VBAX Regular
    Joined
    Sep 2016
    Location
    Peru
    Posts
    28
    Location
    Dear Mancubus,

    Please, check the file. I tried to explain myself better.

    Thank you very much

    Marcela
    Attached Files Attached Files

  7. #7
    VBAX Guru mancubus's Avatar
    Joined
    Dec 2010
    Location
    "Where I lay my head is home" :D
    Posts
    2,644
    did you try the formula in post #5?
    PLS DO NOT PM; OPEN A THREAD INSTEAD!!!

    1) Posting Code
    [CODE]PasteYourCodeHere[/CODE]
    (or paste your code, select it, click # button)

    2) Uploading File(s)
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) (multiple files can be selected while holding Ctrl key) / Upload Files / Done
    Replace company specific / sensitive / confidential data. Include so many rows and sheets etc in the uploaded workbook to enable the helpers visualize the data and table structure. Helpers do not need the entire workbook.

    3) Testing the Codes
    always back up your files before testing the codes.

    4) Marking the Thread as Solved
    from Thread Tools (on the top right corner, above the first message)

  8. #8
    VBAX Regular
    Joined
    Sep 2016
    Location
    Peru
    Posts
    28
    Location
    I tried, but because of different languages (I think), my computer did not recognize it...

    But I have good news. I changed just one little thing and formula works all right: changed (C$4:C5) by (C$5:C5). So now it is like this:

    ={+SI.ERROR(SI(FILAS(C$5:C5)>CONTARA(B5:B303)-1; ""; INDICE(B:B; K.ESIMO.MENOR(SI(B5:B303<>"";FILA(B5:B303));FILAS(C$5:C5))));"")}

    Thanks a lot for your support Mancubus

    Best regards

    Marcela

  9. #9
    VBAX Guru mancubus's Avatar
    Joined
    Dec 2010
    Location
    "Where I lay my head is home" :D
    Posts
    2,644
    argument separator is ; and not ,.
    ok.

    google says
    PHP Code:
    in English
    =LOOKUP(REPT("z";255);CHOOSE({1;2};"";INDEX(B:B;SMALL(IF($B$2:$B$300<>"";ROW($B$2:$B$300));ROWS(C$1:$C1)))))

    =

    in Spanish
    =BUSCAR(REPETIR("z";255);ELEGIR({1;2};"";INDICE(B:B;K.ESIMO.MENOR(SI($B$2:$B$300<>"";FILA($B$2:$B$300));FILAS(C$1:$C1))))) 
    array formulas must be confirmed with Ctrl+Shift+Enter, not just Enter.

    you dont need + sign at the beginning of the formulas. = sign is enough.
    Last edited by mancubus; 04-10-2017 at 12:18 PM. Reason: typo
    PLS DO NOT PM; OPEN A THREAD INSTEAD!!!

    1) Posting Code
    [CODE]PasteYourCodeHere[/CODE]
    (or paste your code, select it, click # button)

    2) Uploading File(s)
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) (multiple files can be selected while holding Ctrl key) / Upload Files / Done
    Replace company specific / sensitive / confidential data. Include so many rows and sheets etc in the uploaded workbook to enable the helpers visualize the data and table structure. Helpers do not need the entire workbook.

    3) Testing the Codes
    always back up your files before testing the codes.

    4) Marking the Thread as Solved
    from Thread Tools (on the top right corner, above the first message)

  10. #10
    VBAX Regular
    Joined
    Sep 2016
    Location
    Peru
    Posts
    28
    Location
    That´s great, thanks Macubus

  11. #11
    VBAX Guru mancubus's Avatar
    Joined
    Dec 2010
    Location
    "Where I lay my head is home" :D
    Posts
    2,644
    you are welcome.
    please mark the thread as solved from Thread Tools (above the first post, on the right)
    PLS DO NOT PM; OPEN A THREAD INSTEAD!!!

    1) Posting Code
    [CODE]PasteYourCodeHere[/CODE]
    (or paste your code, select it, click # button)

    2) Uploading File(s)
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) (multiple files can be selected while holding Ctrl key) / Upload Files / Done
    Replace company specific / sensitive / confidential data. Include so many rows and sheets etc in the uploaded workbook to enable the helpers visualize the data and table structure. Helpers do not need the entire workbook.

    3) Testing the Codes
    always back up your files before testing the codes.

    4) Marking the Thread as Solved
    from Thread Tools (on the top right corner, above the first message)

Posting Permissions

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