Forum Discussion
data extract
i have uploaded the file , i have a huge data of such type and this is just an example data to understand.
basically i want to know a formula or function through which i can fetch my required data from sheet 1 source data to sheet 2 .
i want agent id 512 and 112 , only connected system disposition in sheet 2.
copy paste can be easy in a small data but between lacs of similar entries i wanted the things should be sorted. please help.
8 Replies
If you have Microsoft 365 or Office 2021, select A2 on the Scrubbed sheet and enter the following formula:
=FILTER('source data'!A2:H11,(('source data'!A2:A11=112)+('source data'!A2:A11=512))*('source data'!C2:C11="CONNECTED"))
- aayushmanmishraCopper Contributor
i m unable to apply this formula , please if you can show me once. In my excel it is not showing any formula of filter rather filterxml it showing.
- SergeiBaklanDiamond Contributor
As variant that could be Power Query with two steps if create helper table with codes to filter
as
let Source = Excel.CurrentWorkbook(){[Name="SourceData"]}[Content], #"Filtered Rows" = Table.SelectRows(Source, each List.Contains( Filter[AGENT_ID], [AGENT_ID] )) in #"Filtered Rows"
- aayushmanmishraCopper ContributorThanks ! Will apply and get back to you within sometime.