Page 6 of 61 FirstFirst ... 456781656 ... LastLast
Results 51 to 60 of 604

Thread: Appendix-Thread-Evaluate-Range-(-Codes-for-other-Threads-HTML-Tables-etc-)

  1. #51
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    9,439
    Rep Power
    10

    Typical Updated Data File, "Raghu.xlsx" after first consolidation

    Typical Updated Data File, "Raghu.xlsx" after first consolidation,
    with the column L updated appropriately with the consolidation date



    Using Excel 2007 32 bit
    Row\Col
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    1
    S No
    Item
    Price
    Qty
    Total
    Distributed
    Task1
    Task2
    Task3
    Task4
    Completed
    Consolidated
    Comments
    Team Member
    2
    1
    ABC01
    $ 55.00
    22
    $ 1,210.00
    02.Apr.2018 RT1 RT2 RT3 RT4
    02. Apr 18
    02.Apr.2018 Raghu
    3
    5
    ABC05
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 RT1 RT2 RT3 RT4
    02. Apr 18
    02.Apr.2018 Raghu
    4
    9
    ABC09
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 RT1 RT2 RT3 RT4
    02. Apr 18
    02.Apr.2018 Raghu
    5
    13
    ABC13
    $ 8.51
    12
    $ 102.12
    02.Apr.2018 RT1 RT2 RT3 RT4
    02. Apr 18
    02.Apr.2018 Raghu
    6
    17
    ABC17
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 RT1 RT2 RT3 RT4
    02. Apr 18
    02.Apr.2018 Raghu
    7
    21
    ABC21
    $ 12.99
    5
    $ 64.95
    02.Apr.2018 Raghu
    8
    25
    ABC25
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018 Raghu
    9
    29
    ABC29
    $ 13.66
    7
    $ 95.62
    02.Apr.2018 Raghu
    10
    33
    ABC33
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 Raghu
    11
    37
    ABC37
    $ 55.00
    22
    $ 1,210.00
    02.Apr.2018 Raghu
    12
    41
    ABC41
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 Raghu
    13
    45
    ABC45
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 Raghu
    14
    Worksheet: Tabelle1
    ….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
    If you are my enemy, we will try to kick the fucking shit out of you…..
    Winston Churchill, 1939
    Save your Forum..._
    _...KILL A MODERATOR!!

  2. #52
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    9,439
    Rep Power
    10
    “zMasterAfter1stConsolidationNewData.xlsm” : https://app.box.com/s/ascky2qg47dzl85b4y7l8sy5qmr3goby




    Using Excel 2007 32 bit
    Row\Col
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    19
    18
    ABC18
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 02.Apr.2018 John
    20
    19
    ABC19
    $ 55.00
    22
    $ 1,210.00
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 02.Apr.2018 Greg
    21
    20
    ABC20
    $ 13.66
    7
    $ 95.62
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    22
    21
    ABC21
    $ 12.99
    5
    $ 64.95
    02.Apr.2018 Raghu
    23
    22
    ABC22
    $ 8.51
    12
    $ 102.12
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 02.Apr.2018 John
    24
    23
    ABC23
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 Greg
    25
    24
    ABC24
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    26
    25
    ABC25
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018 Raghu
    27
    26
    ABC26
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 John
    28
    27
    ABC27
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 Greg
    29
    28
    ABC28
    $ 55.00
    22
    $ 1,210.00
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    30
    29
    ABC29
    $ 13.66
    7
    $ 95.62
    02.Apr.2018 Raghu
    31
    30
    ABC30
    $ 12.99
    5
    $ 64.95
    02.Apr.2018 John
    32
    31
    ABC31
    $ 8.51
    12
    $ 102.12
    02.Apr.2018 Greg
    33
    32
    ABC32
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 Margaret
    34
    33
    ABC33
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 Raghu
    35
    34
    ABC34
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018 John
    36
    35
    ABC35
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 Greg
    37
    36
    ABC36
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 Margaret
    38
    37
    ABC37
    $ 55.00
    22
    $ 1,210.00
    02.Apr.2018 Raghu
    39
    38
    ABC38
    $ 13.66
    7
    $ 95.62
    02.Apr.2018 John
    40
    39
    ABC39
    $ 12.99
    5
    $ 64.95
    02.Apr.2018 Greg
    41
    40
    ABC40
    $ 8.51
    12
    $ 102.12
    02.Apr.2018 Margaret
    42
    41
    ABC41
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 Raghu
    43
    42
    ABC42
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 John
    44
    43
    ABC43
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018 Greg
    45
    44
    ABC44
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 Margaret
    46
    45
    ABC45
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 Raghu
    47
    46
    ABC46
    $ 8.51
    12
    $ 102.12
    John
    48
    47
    ABC47
    $ 7.22
    62
    $ 447.64
    Greg
    49
    48
    ABC48
    $ 3.99
    35
    $ 139.65
    Margaret
    50
    49
    ABC49
    $ 333.45
    99
    $ 33,011.55
    Raghu
    51
    50
    ABC50
    $ 11.99
    1
    $ 11.99
    Raghu
    52
    Worksheet: OriginalData
    ….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
    If you are my enemy, we will try to kick the fucking shit out of you…..
    Winston Churchill, 1939
    Save your Forum..._
    _...KILL A MODERATOR!!

  3. #53
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    9,439
    Rep Power
    10
    Run Code Sub ExportByName() on data from last post

    Results for Updated master Worksheet

    Using Excel 2007 32 bit
    Row\Col
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    25
    24
    ABC24
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    26
    25
    ABC25
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018 Raghu
    27
    26
    ABC26
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 John
    28
    27
    ABC27
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 Greg
    29
    28
    ABC28
    $ 55.00
    22
    $ 1,210.00
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    30
    29
    ABC29
    $ 13.66
    7
    $ 95.62
    02.Apr.2018 Raghu
    31
    30
    ABC30
    $ 12.99
    5
    $ 64.95
    02.Apr.2018 John
    32
    31
    ABC31
    $ 8.51
    12
    $ 102.12
    02.Apr.2018 Greg
    33
    32
    ABC32
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 Margaret
    34
    33
    ABC33
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 Raghu
    35
    34
    ABC34
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018 John
    36
    35
    ABC35
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 Greg
    37
    36
    ABC36
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 Margaret
    38
    37
    ABC37
    $ 55.00
    22
    $ 1,210.00
    02.Apr.2018 Raghu
    39
    38
    ABC38
    $ 13.66
    7
    $ 95.62
    02.Apr.2018 John
    40
    39
    ABC39
    $ 12.99
    5
    $ 64.95
    02.Apr.2018 Greg
    41
    40
    ABC40
    $ 8.51
    12
    $ 102.12
    02.Apr.2018 Margaret
    42
    41
    ABC41
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 Raghu
    43
    42
    ABC42
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 John
    44
    43
    ABC43
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018 Greg
    45
    44
    ABC44
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 Margaret
    46
    45
    ABC45
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 Raghu
    47
    46
    ABC46
    $ 8.51
    12
    $ 102.12
    02.Apr.2018
    John
    48
    47
    ABC47
    $ 7.22
    62
    $ 447.64
    02.Apr.2018
    Greg
    49
    48
    ABC48
    $ 3.99
    35
    $ 139.65
    02.Apr.2018
    Margaret
    50
    49
    ABC49
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018
    Raghu
    51
    50
    ABC50
    $ 11.99
    1
    $ 11.99
    02.Apr.2018
    Raghu
    52
    53
    54
    Worksheet: OriginalData
    ….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
    If you are my enemy, we will try to kick the fucking shit out of you…..
    Winston Churchill, 1939
    Save your Forum..._
    _...KILL A MODERATOR!!

  4. #54
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    9,439
    Rep Power
    10
    Corresponding updated data worksheets for updated master after running Sub ExportByName() for the second time after new data was added

    Using Excel 2007 32 bit
    41
    ABC41
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 Raghu
    45
    ABC45
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 Raghu
    49
    ABC49 $ 333.45
    99
    $ 33,011.55 02.Apr.2018 Raghu
    50
    ABC50 $ 11.99
    1
    $ 11.99 02.Apr.2018 Raghu
    Worksheet: Tabelle1





    Using Excel 2007 32 bit
    40
    ABC40
    $ 8.51
    12
    $ 102.12
    02.Apr.2018 Margaret
    44
    ABC44
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 Margaret
    48
    ABC48 $ 3.99
    35
    $ 139.65 02.Apr.2018 Margaret
    Worksheet: Tabelle1



    Using Excel 2007 32 bit
    38
    ABC38
    $ 13.66
    7
    $ 95.62
    02.Apr.2018 John
    42
    ABC42
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 John
    46
    ABC46 $ 8.51
    12
    $ 102.12 02.Apr.2018 John
    Worksheet: Tabelle1



    Using Excel 2007 32 bit
    39
    ABC39
    $ 12.99
    5
    $ 64.95
    02.Apr.2018 Greg
    43
    ABC43
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018 Greg
    47
    ABC47 $ 7.22
    62
    $ 447.64 02.Apr.2018 Greg
    Worksheet: Tabelle1
    ….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
    If you are my enemy, we will try to kick the fucking shit out of you…..
    Winston Churchill, 1939
    Save your Forum..._
    _...KILL A MODERATOR!!

  5. #55
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    9,439
    Rep Power
    10
    Data Files just before second consolidation


    15
    ABC15
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 02.Apr.2018 Greg
    19
    ABC19
    $ 55.00
    22
    $ 1,210.00
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 02.Apr.2018 Greg
    23
    ABC23
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 Greg
    27
    ABC27
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 Greg
    31
    ABC31
    $ 8.51
    12
    $ 102.12
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 Greg
    35
    ABC35
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 Greg
    39
    ABC39
    $ 12.99
    5
    $ 64.95
    02.Apr.2018 Greg
    Worksheet: Tabelle1



    18
    ABC18
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 02.Apr.2018 John
    22
    ABC22
    $ 8.51
    12
    $ 102.12
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 02.Apr.2018 John
    26
    ABC26
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 John
    30
    ABC30
    $ 12.99
    5
    $ 64.95
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 John
    34
    ABC34
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 John
    38
    ABC38
    $ 13.66
    7
    $ 95.62
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 John
    42
    ABC42
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 John
    Worksheet: Tabelle1






    28
    ABC28
    $ 55.00
    22
    $ 1,210.00
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    32
    ABC32
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 Margaret
    36
    ABC36
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 Margaret
    40
    ABC40
    $ 8.51
    12
    $ 102.12
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 Margaret
    44
    ABC44
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 Margaret
    Worksheet: Tabelle1



    Using Excel 2007 32 bit
    17
    ABC17
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 RT1 RT2 RT3 RT4
    02. Apr 18
    02.Apr.2018 Raghu
    21
    ABC21
    $ 12.99
    5
    $ 64.95
    02.Apr.2018 RT1 RT2 RT3 RT4
    02. Apr 18
    Raghu
    25
    ABC25
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018 RT1 RT2 RT3 RT4
    02. Apr 18
    Raghu
    29
    ABC29
    $ 13.66
    7
    $ 95.62
    02.Apr.2018 RT1 RT2 RT3 RT4
    02. Apr 18
    Raghu
    33
    ABC33
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 RT1 RT2 RT3 RT4
    02. Apr 18
    Raghu
    37
    ABC37
    $ 55.00
    22
    $ 1,210.00
    02.Apr.2018 RT1 RT2 RT3 RT4
    02. Apr 18
    Raghu
    41
    ABC41
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 RT1 RT2 RT3 RT4
    02. Apr 18
    Raghu
    45
    ABC45
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 RT1 RT2 RT3 RT4
    02. Apr 18
    Raghu
    49
    ABC49 $ 333.45
    99
    $ 33,011.55 02.Apr.2018 RT1 RT2 RT3 RT4
    02. Apr 18
    Raghu
    50
    ABC50 $ 11.99
    1
    $ 11.99 02.Apr.2018 Raghu
    Worksheet: Tabelle1
    ….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
    If you are my enemy, we will try to kick the fucking shit out of you…..
    Winston Churchill, 1939
    Save your Forum..._
    _...KILL A MODERATOR!!

  6. #56
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    9,439
    Rep Power
    10
    Final results for first half of master File after second consolidation

    Using Excel 2007 32 bit
    Row\Col
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    1
    S No
    Item
    Price
    Qty
    Total
    Distributed
    Task1
    Task2
    Task3
    Task4
    Completed
    Consolidated
    Comments
    Team Member
    Checked
    2
    1
    ABC01
    $ 55.00
    22
    $ 1,210.00
    02.Apr.2018 RT1 RT2 RT3 RT4 02.04.2018 02.Apr.2018 Raghu
    3
    2
    ABC02
    $ 13.66
    7
    $ 95.62
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 02.Apr.2018 John
    4
    3
    ABC03
    $ 12.99
    5
    $ 64.95
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 02.Apr.2018 Greg
    5
    4
    ABC04
    $ 8.51
    12
    $ 102.12
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    6
    5
    ABC05
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 RT1 RT2 RT3 RT4 02.04.2018 02.Apr.2018 Raghu
    7
    6
    ABC06
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 02.Apr.2018 John
    8
    7
    ABC07
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 02.Apr.2018 Greg
    9
    8
    ABC08
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    10
    9
    ABC09
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 RT1 RT2 RT3 RT4 02.04.2018 02.Apr.2018 Raghu
    11
    10
    ABC10
    $ 55.00
    22
    $ 1,210.00
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 02.Apr.2018 John
    12
    11
    ABC11
    $ 13.66
    7
    $ 95.62
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 02.Apr.2018 Greg
    13
    12
    ABC12
    $ 12.99
    5
    $ 64.95
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    14
    13
    ABC13
    $ 8.51
    12
    $ 102.12
    02.Apr.2018 RT1 RT2 RT3 RT4 02.04.2018 02.Apr.2018 Raghu
    15
    14
    ABC14
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 02.Apr.2018 John
    16
    15
    ABC15
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 02.Apr.2018 Greg
    17
    16
    ABC16
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    18
    17
    ABC17
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 RT1 RT2 RT3 RT4 02.04.2018 02.Apr.2018 Raghu
    19
    18
    ABC18
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 02.Apr.2018 John
    20
    19
    ABC19
    $ 55.00
    22
    $ 1,210.00
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 02.Apr.2018 Greg
    21
    20
    ABC20
    $ 13.66
    7
    $ 95.62
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    22
    21
    ABC21
    $ 12.99
    5
    $ 64.95
    02.Apr.2018 RT1 RT2 RT3 RT4 02.04.2018 02.Apr.2018 Raghu
    23
    22
    ABC22
    $ 8.51
    12
    $ 102.12
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 02.Apr.2018 John
    24
    23
    ABC23
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 02.Apr.2018 Greg
    25
    24
    ABC24
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    26
    25
    ABC25
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018 RT1 RT2 RT3 RT4 02.04.2018 02.Apr.2018 Raghu
    Worksheet: OriginalData
    ….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
    If you are my enemy, we will try to kick the fucking shit out of you…..
    Winston Churchill, 1939
    Save your Forum..._
    _...KILL A MODERATOR!!

  7. #57
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    9,439
    Rep Power
    10
    Second half of master worksheet after final second consolidation

    Using Excel 2007 32 bit
    Row\Col
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    25
    24
    ABC24
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    26
    25
    ABC25
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018 RT1 RT2 RT3 RT4 02.04.2018 02.Apr.2018 Raghu
    27
    26
    ABC26
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 02.Apr.2018 John
    28
    27
    ABC27
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 02.Apr.2018 Greg
    29
    28
    ABC28
    $ 55.00
    22
    $ 1,210.00
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    30
    29
    ABC29
    $ 13.66
    7
    $ 95.62
    02.Apr.2018 RT1 RT2 RT3 RT4 02.04.2018 02.Apr.2018 Raghu
    31
    30
    ABC30
    $ 12.99
    5
    $ 64.95
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 02.Apr.2018 John
    32
    31
    ABC31
    $ 8.51
    12
    $ 102.12
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 02.Apr.2018 Greg
    33
    32
    ABC32
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    34
    33
    ABC33
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 RT1 RT2 RT3 RT4 02.04.2018 02.Apr.2018 Raghu
    35
    34
    ABC34
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 02.Apr.2018 John
    36
    35
    ABC35
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 02.Apr.2018 Greg
    37
    36
    ABC36
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    38
    37
    ABC37
    $ 55.00
    22
    $ 1,210.00
    02.Apr.2018 RT1 RT2 RT3 RT4 02.04.2018 02.Apr.2018 Raghu
    39
    38
    ABC38
    $ 13.66
    7
    $ 95.62
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 02.Apr.2018 John
    40
    39
    ABC39
    $ 12.99
    5
    $ 64.95
    02.Apr.2018 Greg
    41
    40
    ABC40
    $ 8.51
    12
    $ 102.12
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    42
    41
    ABC41
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 RT1 RT2 RT3 RT4 02.04.2018 02.Apr.2018 Raghu
    43
    42
    ABC42
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 John
    44
    43
    ABC43
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018 Greg
    45
    44
    ABC44
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 Margaret
    46
    45
    ABC45
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 RT1 RT2 RT3 RT4 02.04.2018 02.Apr.2018 Raghu
    47
    46
    ABC46
    $ 8.51
    12
    $ 102.12
    02.Apr.2018
    John
    48
    47
    ABC47
    $ 7.22
    62
    $ 447.64
    02.Apr.2018
    Greg
    49
    48
    ABC48
    $ 3.99
    35
    $ 139.65
    02.Apr.2018
    Margaret
    50
    49
    ABC49
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018
    RT1 RT2 RT3 RT4 02.04.2018 02.Apr.2018 Raghu
    51
    50
    ABC50
    $ 11.99
    1
    $ 11.99
    02.Apr.2018
    Raghu
    52
    Worksheet: OriginalData
    ….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
    If you are my enemy, we will try to kick the fucking shit out of you…..
    Winston Churchill, 1939
    Save your Forum..._
    _...KILL A MODERATOR!!

  8. #58
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    9,439
    Rep Power
    10
    Data files after final (second) consolidation:


    Using Excel 2007 32 bit
    15
    ABC15
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 02.Apr.2018 Greg
    19
    ABC19
    $ 55.00
    22
    $ 1,210.00
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 02.Apr.2018 Greg
    23
    ABC23
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 02.Apr.2018 Greg
    27
    ABC27
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 02.Apr.2018 Greg
    31
    ABC31
    $ 8.51
    12
    $ 102.12
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 02.Apr.2018 Greg
    35
    ABC35
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 GT1 GT2 GT3 GT4 02.Apr.2018 02.Apr.2018 Greg
    39
    ABC39
    $ 12.99
    5
    $ 64.95
    02.Apr.2018 Greg
    Worksheet: Tabelle1



    Using Excel 2007 32 bit
    Row\Col
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    11
    37
    ABC37
    $ 55.00
    22
    $ 1,210.00
    02.Apr.2018 RT1 RT2 RT3 RT4
    02. Apr 18
    02.Apr.2018 Raghu
    12
    41
    ABC41
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 RT1 RT2 RT3 RT4
    02. Apr 18
    02.Apr.2018 Raghu
    13
    45
    ABC45
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 RT1 RT2 RT3 RT4
    02. Apr 18
    02.Apr.2018 Raghu
    14
    49
    ABC49
    333.45 €
    99
    33,011.55 €
    02.Apr.2018 RT1 RT2 RT3 RT4
    02. Apr 18
    02.Apr.2018 Raghu
    15
    50
    ABC50
    11.99 €
    1
    11.99 €
    02.Apr.2018 Raghu
    16
    Worksheet: Tabelle1



    Using Excel 2007 32 bit
    28
    ABC28
    $ 55.00
    22
    $ 1,210.00
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    32
    ABC32
    $ 7.22
    62
    $ 447.64
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    36
    ABC36
    $ 741.99
    101
    $ 74,940.99
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    40
    ABC40
    $ 8.51
    12
    $ 102.12
    02.Apr.2018 MT1 MT2 MT3 MT4 02.Apr.2018 02.Apr.2018 Margaret
    44
    ABC44
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 Margaret
    48
    ABC48
    3.99 €
    35
    139.65 €
    02.Apr.2018 Margaret
    Worksheet: Tabelle1




    Using Excel 2007 32 bit
    26
    ABC26
    $ 11.99
    1
    $ 11.99
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 02.Apr.2018 John
    30
    ABC30
    $ 12.99
    5
    $ 64.95
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 02.Apr.2018 John
    34
    ABC34
    $ 333.45
    99
    $ 33,011.55
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 02.Apr.2018 John
    38
    ABC38
    $ 13.66
    7
    $ 95.62
    02.Apr.2018 JT1 JT2 JT3 JT4 02.Apr.2018 02.Apr.2018 John
    42
    ABC42
    $ 3.99
    35
    $ 139.65
    02.Apr.2018 John
    Worksheet: Tabelle1
    ….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
    If you are my enemy, we will try to kick the fucking shit out of you…..
    Winston Churchill, 1939
    Save your Forum..._
    _...KILL A MODERATOR!!

  9. #59
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    9,439
    Rep Power
    10
    Code for anwser to this Thread:
    http://www.excelfox.com/forum/showth...e-folder/page2



    Code:
    Option Explicit
    Sub consolidateToo() '   http://www.excelfox.com/forum/showthread.php/2238-Copy-data-from-Unique-files-into-Masterfile-all-the-files-in-the-same-folder?p=10595#post10595
    Rem 1 ThisWorkbook Info
    Dim MWs1 As Worksheet: Set MWs1 = ThisWorkbook.Worksheets.Item(1) 'Worksheets("OriginalData")
    Dim DtaFName As String: Let DtaFName = VBA.Dir(ThisWorkbook.Path & "\" & "*.xlsx") ' Search criteria set to all Files with .xlsx extension in the same Folder as this workbook, Dir returns first file name that fits criteria
    Dim LrMWs1 As Long: Let LrMWs1 = MWs1.Range("A" & MWs1.Rows.Count & "").End(xlUp).Row
    Rem 2 main Loop for all data files
        Do While DtaFName <> "" ' ==========================================
         Workbooks.Open filename:=ThisWorkbook.Path & "\" & DtaFName
        Dim WBDta As Workbook: Set WBDta = ActiveWorkbook
        Dim WBDtaWs1 As Worksheet: Set WBDtaWs1 = WBDta.Worksheets.Item(1) ' use variable to reference the first worksheet ( counting tabs from the left ) of last opened and therefore active( to be seen ) file
        Dim arrIn() As Variant: Let arrIn() = WBDtaWs1.Range("A1").CurrentRegion.Value
        '2a) loop for all data rows, copy data from completed rows to master file, ( add date to inputed data array '_-##)
        Dim Rw As Long ' --------------------------------
            For Rw = 2 To UBound(arrIn(), 1) ' loop through "rows" in data array
                If arrIn(Rw, 11) <> Empty And arrIn(Rw, 12) = Empty Then ' Condition for completed work not yet consolidated
                 Dim arrCsDte(1 To 1, 1 To 7) As String: Let arrCsDte(1, 1) = arrIn(Rw, 7): arrCsDte(1, 2) = arrIn(Rw, 8): arrCsDte(1, 3) = arrIn(Rw, 9): arrCsDte(1, 4) = arrIn(Rw, 10): arrCsDte(1, 5) = arrIn(Rw, 11): arrCsDte(1, 6) = Format(Date, "dd.mmm.yyyy"): arrCsDte(1, 7) = arrIn(Rw, 13) ' 7 "columns" of data to be added to master file
                 MWs1.Range("A2:A" & LrMWs1 & "").Find(what:=arrIn(Rw, 1), After:=MWs1.Range("A2"), LookIn:=xlValues, Lookat:=xlWhole, searchorder:=xlByRows, searchdirection:=xlNext).Offset(0, 6).Resize(1, 7) = arrCsDte() ' We look down the first column in the master file to find the cell comtaining the   S No   We apply the offest property to thast cell to get across to column G and then the resize property gives us the range of 7 columns to which we may apply the values in the array filled for the row data
                 Let arrIn(Rw, 12) = arrCsDte(1, 6) '(Put the current date in the array made from data range        '_-##)
                Else ' Datá row is completed and consolidated , so nothing to do for this row
                End If
            Next Rw ' End loop for all data rows --------
        '2b) Update and close current data workbook
         Let WBDtaWs1.Range("A1").Resize(UBound(arrIn(), 1), UBound(arrIn(), 2)).Value = arrIn() ' reassign the values from the input data array back to the range as this now has the consolidated date in it
         WBDta.Close savechanges:=True
        '2c Serch for next data file name
         Let DtaFName = VBA.Dir() ' Unqualified Dir returns next found file with previos search criteria, but only returns each file name once
        Loop ' Do While DtaFName <> "" again ==============================
    End Sub
    ….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
    If you are my enemy, we will try to kick the fucking shit out of you…..
    Winston Churchill, 1939
    Save your Forum..._
    _...KILL A MODERATOR!!

  10. #60
    Fuhrer, Vierte Reich DocAElstein's Avatar
    Join Date
    Aug 2014
    Posts
    9,439
    Rep Power
    10

    Checked Library Infomation Excel 2003 Excel 2007 Excel 2010

    Some sample data for other Posts and Threads:
    http://www.eileenslounge.com/viewtopic.php?f=30&t=29652
    Using this code:
    Code:
     Sub Its() ' snb 2017
    Dim It As Variant
      For Each It In ThisWorkbook.VBProject.References
      Dim strIts As String
       Let strIts = strIts & "Description:" & vbTab & It.Description & vbCr & "Name:" & vbTab & vbTab & It.Name & vbCr & "Buitin:" & vbTab & vbTab & It.BuiltIn & vbCr & "Minor:" & vbTab & vbTab & It.minor & vbCr & "Major:" & vbTab & vbTab & It.major & vbCr & "FullPath:" & vbTab & vbTab & It.fullpath & vbCr & "GUID:" & vbTab & vbTab & It.GUID & vbCr & "Type:" & vbTab & vbTab & It.Type & vbCr & "Isbroken:" & vbTab & vbTab & It.isbroken & vbCr & vbCr
      Next It
    Debug.Print strIts ' From  VB Editor Ctrl+g  to get Immediate Window from which info can be copied
    End Sub
    Here some results. ( If anyone passing has other Excel versions and would like to pass on what the code above gives, then that would be nice, thanks )

    Excel 2007
    Code:
    Description:    Visual Basic For Applications
    Name:       VBA
    Buitin:     Wahr
    Minor:      0
    Major:      4
    FullPath:       C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\VBE6.DLL
    GUID:       {000204EF-0000-0000-C000-000000000046}
    Type:       0
    Isbroken:       Falsch
    
    Description:    Microsoft Excel 12.0 Object Library
    Name:       Excel
    Buitin:     Wahr
    Minor:      6
    Major:      1
    FullPath:       C:\Program Files\Microsoft Office\Office12\EXCEL.EXE
    GUID:       {00020813-0000-0000-C000-000000000046}
    Type:       0
    Isbroken:       Falsch
    
    Description:    OLE Automation
    Name:       stdole
    Buitin:     Falsch
    Minor:      0
    Major:      2
    FullPath:       C:\Windows\system32\stdole2.tlb
    GUID:       {00020430-0000-0000-C000-000000000046}
    Type:       0
    Isbroken:       Falsch
    
    Description:    Microsoft Office 12.0 Object Library
    Name:       Office
    Buitin:     Falsch
    Minor:      4
    Major:      2
    FullPath:       C:\Program Files\Common Files\Microsoft Shared\OFFICE12\MSO.DLL
    GUID:       {2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}
    Type:       0
    Isbroken:       Falsch
    
    Description:    Microsoft Word 12.0 Object Library
    Name:       Word
    Buitin:     Falsch
    Minor:      4
    Major:      8
    FullPath:       C:\Program Files\Microsoft Office\Office12\MSWORD.OLB
    GUID:       {00020905-0000-0000-C000-000000000046}
    Type:       0
    Isbroken:       Falsch

    Excel 2003
    Code:
    Description:    Visual Basic For Applications
    Name:       VBA
    Buitin:     Wahr
    Minor:      0
    Major:      4
    FullPath:       C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\VBE6.DLL
    GUID:       {000204EF-0000-0000-C000-000000000046}
    Type:       0
    Isbroken:       Falsch
    
    Description:    Microsoft Excel 11.0 Object Library
    Name:       Excel
    Buitin:     Wahr
    Minor:      5
    Major:      1
    FullPath:       C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE
    GUID:       {00020813-0000-0000-C000-000000000046}
    Type:       0
    Isbroken:       Falsch
    
    Description:    OLE Automation
    Name:       stdole
    Buitin:     Falsch
    Minor:      0
    Major:      2
    FullPath:       C:\Windows\system32\stdole2.tlb
    GUID:       {00020430-0000-0000-C000-000000000046}
    Type:       0
    Isbroken:       Falsch
    
    Description:    Microsoft Office 11.0 Object Library
    Name:       Office
    Buitin:     Falsch
    Minor:      3
    Major:      2
    FullPath:       C:\Program Files\Common Files\Microsoft Shared\OFFICE11\MSO.DLL
    GUID:       {2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}
    Type:       0
    Isbroken:       Falsch
    
    Description:    Microsoft Word 12.0 Object Library
    Name:       Word
    Buitin:     Falsch
    Minor:      4
    Major:      8
    FullPath:       C:\Program Files\Microsoft Office\Office12\MSWORD.OLB
    GUID:       {00020905-0000-0000-C000-000000000046}
    Type:       0
    Isbroken:       Falsch
    Excel 2010
    Code:
    Description:    Visual Basic For Applications
    Name:       VBA
    Buitin:     Wahr
    Minor:      1
    Major:      4
    FullPath:       C:\PROGRA~2\COMMON~1\MICROS~1\VBA\VBA7\VBE7.DLL
    GUID:       {000204EF-0000-0000-C000-000000000046}
    Type:       0
    Isbroken:       Falsch
     
    Description:    Microsoft Excel 14.0 Object Library
    Name:       Excel
    Buitin:     Wahr
    Minor:      7
    Major:      1
    FullPath:       C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE
    GUID:       {00020813-0000-0000-C000-000000000046}
    Type:       0
    Isbroken:       Falsch
     
    Description:    OLE Automation
    Name:       stdole
    Buitin:     Falsch
    Minor:      0
    Major:      2
    FullPath:       C:\Windows\SysWOW64\stdole2.tlb
    GUID:       {00020430-0000-0000-C000-000000000046}
    Type:       0
    Isbroken:       Falsch
     
    Description:    Microsoft Office 14.0 Object Library
    Name:       Office
    Buitin:     Falsch
    Minor:      5
    Major:      2
    FullPath:       C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14\MSO.DLL
    GUID:       {2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}
    Type:       0
    Isbroken:       Falsch
     
    Description:    Microsoft Word 14.0 Object Library
    Name:       Word
    Buitin:     Falsch
    Minor:      5
    Major:      8
    FullPath:       C:\Program Files (x86)\Microsoft Office\Office14\MSWORD.OLB
    GUID:       {00020905-0000-0000-C000-000000000046}
    Type:       0
    Isbroken:       Falsch
    ….If you are my competitor, I will try all I can to beat you. But if I do, I will not belittle you. I will Salute you, because without you, I am nothing.
    If you are my enemy, we will try to kick the fucking shit out of you…..
    Winston Churchill, 1939
    Save your Forum..._
    _...KILL A MODERATOR!!

Similar Threads

  1. Testing Concatenating with styles
    By DocAElstein in forum Test Area
    Replies: 2
    Last Post: 12-20-2020, 02:49 AM
  2. testing
    By Jewano in forum Test Area
    Replies: 7
    Last Post: 12-05-2020, 03:31 AM
  3. Replies: 18
    Last Post: 03-17-2019, 06:10 PM
  4. Concatenating your Balls
    By DocAElstein in forum Excel Help
    Replies: 26
    Last Post: 10-13-2014, 02:07 PM
  5. Replies: 1
    Last Post: 12-04-2012, 08:56 AM

Posting Permissions

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