• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Extract data date wise from a table

Looking for formula to extract date wise values from the table to a new table. Sample file is attached.

Thanks.
 

Attachments

  • Data_AK.xlsx
    12.6 KB · Views: 11
With Power Query, here is the Mcode

Code:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"S.No.", Int64.Type}, {"WIMS_STATI", type text}, {"05/02", type number}, {"06/02", type number}, {"07/02", type number}}),
    #"Removed Columns" = Table.RemoveColumns(#"Changed Type",{"S.No."}),
    #"Unpivoted Other Columns" = Table.UnpivotOtherColumns(#"Removed Columns", {"WIMS_STATI"}, "Attribute", "Value"),
    #"Sorted Rows" = Table.Sort(#"Unpivoted Other Columns",{{"Attribute", Order.Ascending}})
in
    #"Sorted Rows"

Data Range
A
B
C
1
WIMS_STATI​
Attribute​
Value​
2
APGW_3005​
05/02​
12.48​
3
APGW_4903​
05/02​
7.75​
4
APGW_3722​
05/02​
5.33​
5
APGW_3267​
05/02​
13.02​
6
APGW_5245​
05/02​
3.91​
7
APGW_3683​
05/02​
1.65​
8
APGW_2624​
05/02​
10.08​
9
APGW_3681​
05/02​
6.85​
10
APGW_3948​
05/02​
6.11​
11
APGW_2877​
05/02​
10.67​
12
APGW_2877​
06/02​
10.96​
13
APGW_3683​
06/02​
1.85​
14
APGW_5245​
06/02​
3.85​
15
APGW_3267​
06/02​
12.82​
16
APGW_3005​
06/02​
12.82​
17
APGW_3948​
06/02​
5.95​
18
APGW_2624​
06/02​
10.63​
19
APGW_3681​
06/02​
6.59​
20
APGW_3722​
06/02​
5.67​
21
APGW_4903​
06/02​
7.52​
22
APGW_3683​
07/02​
1.62​
23
APGW_3005​
07/02​
13.73​
24
APGW_3681​
07/02​
6.73​
25
APGW_4903​
07/02​
7.86​
26
APGW_3948​
07/02​
6.06​
27
APGW_2624​
07/02​
10.85​
28
APGW_3722​
07/02​
6.28​
29
APGW_2877​
07/02​
11.3​
30
APGW_5245​
07/02​
4.21​
31
APGW_3267​
07/02​
12.99​
 
Thank you so much Alan. Can it be done through formula, I mean other than power query? I want just below result. I will select the date and extract values and other row. Thanks once again.

Date05-02
WIMS_STATIValue
APGW_3184610.08
APGW_39486.11
APGW_49037.75
APGW_37225.33
APGW_326713.02
APGW_52453.91
APGW_287710.67
APGW_36816.85
APGW_36831.65
APGW_300512.48
 
[QUOTE = "maniknandi, publicación: 273256, miembro: 3575"]
Muchas gracias Alan. ¿Se puede hacer a través de la fórmula, me refiero a otra que no sea la consulta de potencia? Quiero justo debajo del resultado. Seleccionaré la fecha y extraeré valores y otra fila. Gracias una vez más.

Fecha05-02
WIMS_STATIValor
APGW_3184610.08
APGW_39486.11
APGW_49037.75
APGW_37225.33
APGW_326713.02
APGW_52453,91
APGW_287710,67
APGW_36816,85
APGW_36831,65
APGW_300512.48
[/CITA]
[QUOTE = "maniknandi, publicación: 273256, miembro: 3575"]
Muchas gracias Alan. ¿Se puede hacer a través de la fórmula, me refiero a otra que no sea la consulta de potencia? Quiero justo debajo del resultado. Seleccionaré la fecha y extraeré valores y otra fila. Gracias una vez más.

Fecha05-02
WIMS_STATIValor
APGW_3184610.08
APGW_39486.11
APGW_49037.75
APGW_37225.33
APGW_326713.02
APGW_52453,91
APGW_287710,67
APGW_36816,85
APGW_36831,65
APGW_300512.48
[/CITA]
Creo entender que desea algo como lo adjuntado.

Slds,
MV
 

Attachments

  • Data_AK.xlsx
    14.2 KB · Views: 4
Back
Top