Extracting data as per creteria in different sheets

ExcelGuru · Intermediate ·📊 Data Analytics & Business Intelligence ·4y ago

Key Takeaways

This video teaches how to extract data as per criteria in different sheets using Excel

Full Transcript

hi friends this is rajinikanth excel guru and one of our guy asked this query that you have to extract data as per this criteria in different sheets okay in different sheet not only one sheet different sheets okay so what i'll do here first of all uh i'll do all my tricks over here i'll zoom in first of all zoom it so that you can see the better okay this is the location as per location it should extract all these things date location id bank loan all those things you should extract right so here i will show you one click here like first of all i'll make it decided table control team my table has headers okay so converted into a table why am did like this means i want to keep the data valuation in different sheets so i'll i'll try to make it a dynamic way for that reason i converted this normal data into a table now coming to here here we'll try r dl here directly you can't uh make it okay here the formula is not visible the screen is not visible here so type indirect and f3 sorry s3 is not working here some problem no no it's not coming here we'll change this my table into alt location okay so this table name is location so i'll convert this table into here called dl in data validation and direct double quotes open the bracket double quotes location let's try okay the formula is in data validation you have to type like this indirect and the file name that is location this is the formula you have to type in a data validation so it will convert into a data validation as per this record as per this whenever you enter a new data it will automatically take updation over there in data validation so what i'll do here first of all i'll copy this all things don't see shift here here i'll keep control v these are the things i need right now first of all what you'll do you have to count how many are there as per secari okay so simply use the countif function countif i'll tell why i am doing this type of things in location okay this location the range f4 comma some number b to some number i'll change it to d1 f2 d1 d1 so totally one sikhari is there over here i'll show you why i used that one okay one shikari is there let's filter it first of all and let us check whether how many shikaris are there and select aside only one the only one is that okay now here is the thing you have to extract data as per the location so first of all what i'll do just i write a formula over here see as per location is equal to first of all we have to find how many are there if this f4 equal to in this range shift down arrow s4 okay now press f9 see some problem here okay so i have to keep that true value okay so i want one two three four five six like that so what i'll do i use the row function to get all the one two how many are omega totally f4 minus rho of a2 f4 close parenthesis a2 f4 come outside of this plus one not this a2 this to wait time a little copy this one reference control c here i will change it to the data and i will delete this one only this part already plus one i don't need false close parentheses f9 see wherever it finds the data to show up the true and remaining or all pulses the security one two three four five where it is here 22 position 22. here i think you can able to see 22. i'll zoom ctrl shift enter i'll zoom a little bit f2 now again i will show you first of all logical text f9 sorry logical test f9 and here this is the thing value true see the position is 22nd position here it is the true f9 c if it is true it will match it will pick up the 22 and i i like whole thing f9 that will pick up the 22 so we got the position so now we have to extract that position in this data the value the 22nd position value you have to accept in this date format okay everything is logged properly now f2 what i'll do small and i want if more than one i know i want one two three four five six seven like that so i'll keep the formula like this rows of a dollar for a dollar sport a4 so when i drag this formula it will pick up one two three four but the smallest to second smallest or smallest like that it will do it ctrl shift enter and you may will show you the errors because only one position is there and you want to change this to somebody see it was important i'll show you how to do this one first of all we will go to this now now we got position everything we got now we want index and index is the main thing that which range you have to get it the eat and everything that it from the uh menu index of what i'll do here simply watch carefully don't keep f4 i'm blocking the row but not the column okay i'm locked i'll show you because here i think it is not visible to you properly f2 see i'm locking the row but not the column why because when i drag this formula it has to pick up the location range from the master sheet that duplicate location range from the master sheet for that reason i have not logged in column when i drag this formula see what will happen it will show you f2 see b2 so it will be coming up the same thing when i drag formula still here it will pick up all the positions y zero because there is a blank over there and why what i said why i use the count over here i will show you wait a minute i'll convert this into normal date by pressing ctrl shift at the rate sorry hash for normal date okay converting the serial number into normal data now what i'll do f2 here what i'll do i'll copy the rows formula from this this is the k value control c escape if control v rose is greater than discount if it is greater than discount then give me the blank i'll run this but formula shift enters i drag this formula as much as i can on that drag sideways also so you know this is the thing okay why because you are something to make it like this that everything is perfect now here the thing you have to make it right what is what he said he want to extract each and every location in different sheets so what i'll just copy this heat from i'll type this one and another method is there that is very big method so i am showing the small method just copy the sheet from here see i'm clicking the left mouse and click on the control so it will show you the place else it will show you the blank paper when i press plus to show you the copy symbol that is copying copying the sheet to another sheet that is here so copied here what i'll do is change convert to right double click here same m a n d r e by a l a method copying the sheet and change over here okay double click f i k r a i s i k r e i see how many you want you can drag it to copy it and paste it here it is zero actually so what i'll do control shift tilde because bank loan bank loan number is not available here see what that is showing zero all right you can copy this sheet from sidebar and data validation is also copied from one sheet to another sheet same just click on that change this one to zen wall double click rd and wl involved enter now and make sure that header should be always capital so that it will understand that it is having uh headers for the range if it is not it will not understand now what i'll do i'll convert this into a table see what will happen if i convert this into a table control theme enters so converted into a table it's a dynamic now very much dynamic that i will add a new location i will add a new location new date location is some hyderabad some numbers some numbers name charge 1000 tenure 12 received 140 something like that now added a new location that is hyderabad now let's try here is it there okay okay it's not there see it's not there why because first i converted this into a table not this one if you convert first to this one as a table then it will add hyderabad otherwise it will not add a hydrobot hydrobot either but okay now let me check new sheet the copying sheet go to hyderabad see one by num location spelling spelling mistake is there for that reason no location is dead either but let me accept what's wrong here wait a minute let me check i don't the range has been not taken properly for the planet is not accepting hyderabad right the range is not accepted properly hydria there also last one hye but it is taken only wait till uh 25 convert this into 26 convert this into 26 so what you have to do you have to first convert the table into normal data into a range i mean sorry the table then it will work see okay thank you guys thanks for your support and if you have any doubts please let me know in the comment box

Original Description

telegram group link https://t.me/+8TESWEKBXukwOWVl
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from ExcelGuru · ExcelGuru · 19 of 60

1 Total Sumproduct Session By Excel Expert Mr.Sanjeev kaushik
Total Sumproduct Session By Excel Expert Mr.Sanjeev kaushik
ExcelGuru
2 Uses and Technics of Transpose in 3 Methods
Uses and Technics of Transpose in 3 Methods
ExcelGuru
3 Query Solved ExcelExpert
Query Solved ExcelExpert
ExcelGuru
4 counting numbers and text with creteria lenngth
counting numbers and text with creteria lenngth
ExcelGuru
5 For Reverse Looking Fing age By Using Database Function
For Reverse Looking Fing age By Using Database Function
ExcelGuru
6 MIS INTERVIEW QUESTION EXTRACTING FIRST AND LAST NAME WHICH IS NOT HAVING DELIMETER
MIS INTERVIEW QUESTION EXTRACTING FIRST AND LAST NAME WHICH IS NOT HAVING DELIMETER
ExcelGuru
7 finding Unique count of sales between Dates
finding Unique count of sales between Dates
ExcelGuru
8 counting 2 lookup values as per dupicates
counting 2 lookup values as per dupicates
ExcelGuru
9 Reverse Vlookup to get DOB
Reverse Vlookup to get DOB
ExcelGuru
10 17-04-2022 Sridevi Marriage Celebrations
17-04-2022 Sridevi Marriage Celebrations
ExcelGuru
11 INTERVIEW QUERIES WITH ANOTHER QUERY
INTERVIEW QUERIES WITH ANOTHER QUERY
ExcelGuru
12 finding maximum sales of product when duplicate products
finding maximum sales of product when duplicate products
ExcelGuru
13 QUERY ASKED IN GROUP
QUERY ASKED IN GROUP
ExcelGuru
14 MIS TEST WITH AMAZING SOLUTION BY JR.BILLGATES(ANAND)
MIS TEST WITH AMAZING SOLUTION BY JR.BILLGATES(ANAND)
ExcelGuru
15 query to count not saled products after saled products
query to count not saled products after saled products
ExcelGuru
16 Explanation about birla mandir at Hyderabad
Explanation about birla mandir at Hyderabad
ExcelGuru
17 counting specific weekday in between dates
counting specific weekday in between dates
ExcelGuru
18 Extract Data As per Creteria with power Query
Extract Data As per Creteria with power Query
ExcelGuru
Extracting data as per creteria in different sheets
Extracting data as per creteria in different sheets
ExcelGuru
20 SOLUTION FOR INPHOSYS MIS-1(1-4)
SOLUTION FOR INPHOSYS MIS-1(1-4)
ExcelGuru
21 solution for inphosis mis 2(12-13)
solution for inphosis mis 2(12-13)
ExcelGuru
22 INPHOSIS MIS SOLUTION-3(5-10)
INPHOSIS MIS SOLUTION-3(5-10)
ExcelGuru
23 LOGICAL MIS INPHOSIS-4(17-18)
LOGICAL MIS INPHOSIS-4(17-18)
ExcelGuru
24 MIS INTERVIEW QUESTION
MIS INTERVIEW QUESTION
ExcelGuru
25 MIS INPHOSIS -5(19-21)
MIS INPHOSIS -5(19-21)
ExcelGuru
26 MIS INPHOSIS - 6(23-25)
MIS INPHOSIS - 6(23-25)
ExcelGuru
27 extracting pin codes or number from text string
extracting pin codes or number from text string
ExcelGuru
28 finding maximum sales in one value
finding maximum sales in one value
ExcelGuru
29 finding how many months are there between months
finding how many months are there between months
ExcelGuru
30 Quarter sales by month
Quarter sales by month
ExcelGuru
31 Finding rate with 2 conditions by using vlookup
Finding rate with 2 conditions by using vlookup
ExcelGuru
32 how to find max length word from text string
how to find max length word from text string
ExcelGuru
33 Group query To find sales and Quantity With 2 conditions by using VLOOKUP
Group query To find sales and Quantity With 2 conditions by using VLOOKUP
ExcelGuru
34 my angels birthday celebrations
my angels birthday celebrations
ExcelGuru
35 Group Query Adding total sales when it is having random delimiter like inches,kgs,Ton
Group Query Adding total sales when it is having random delimiter like inches,kgs,Ton
ExcelGuru
36 Seperating first and last Name by space using function
Seperating first and last Name by space using function
ExcelGuru
37 Finding Total Goals from different tables Team members
Finding Total Goals from different tables Team members
ExcelGuru
38 Group Query To Extract Team members Names
Group Query To Extract Team members Names
ExcelGuru
39 Extracting data in a single column
Extracting data in a single column
ExcelGuru
40 converting one column data into table interview question
converting one column data into table interview question
ExcelGuru
41 MIS INTERVIEW QUESTION-100
MIS INTERVIEW QUESTION-100
ExcelGuru
42 MIS INTERVIEW QUESTION -101 FINDING VALUE AS PER CHARACTERS LENGTH BY VLOOKUP
MIS INTERVIEW QUESTION -101 FINDING VALUE AS PER CHARACTERS LENGTH BY VLOOKUP
ExcelGuru
43 chi.shreyansh
chi.shreyansh
ExcelGuru
44 MIS INTERVIEW QUESTION-102(SORT BY LENGTH)
MIS INTERVIEW QUESTION-102(SORT BY LENGTH)
ExcelGuru
45 query to extract last words from sentence
query to extract last words from sentence
ExcelGuru
46 MIS INTERVIEW -103(EXTRACT MAXIMUM CHARACTERS WORD IN A CELL)
MIS INTERVIEW -103(EXTRACT MAXIMUM CHARACTERS WORD IN A CELL)
ExcelGuru
47 group query
group query
ExcelGuru
48 without len function count of characters
without len function count of characters
ExcelGuru
49 MIS QUERY
MIS QUERY
ExcelGuru
50 mis interview questions part -1
mis interview questions part -1
ExcelGuru
51 Real MIS Query-1
Real MIS Query-1
ExcelGuru
52 real mis interview questions-1
real mis interview questions-1
ExcelGuru
53 finding the value as per length of characters
finding the value as per length of characters
ExcelGuru
54 real mis -2
real mis -2
ExcelGuru
55 real MIS -3
real MIS -3
ExcelGuru
56 REAL MIS -4(PART A)
REAL MIS -4(PART A)
ExcelGuru
57 group query
group query
ExcelGuru
58 tech mahindra mis
tech mahindra mis
ExcelGuru
59 courier company MIS
courier company MIS
ExcelGuru
60 tech Mahindra (UPDATED)
tech Mahindra (UPDATED)
ExcelGuru

Related Reads

📰
How Morphohack Helped Me Recover €678,000 in Lost Crypto Assets
Learn how Morphohack helped recover €678,000 in lost crypto assets using data science techniques
Medium · Data Science
📰
10 awk and sed Techniques Every Data Analyst Should Know for Data Cleaning and Transformation
Learn 10 essential awk and sed techniques for efficient data cleaning and transformation as a data analyst
Medium · Data Science
📰
From Data Ownership to an AI-Powered Second Brain
Learn how to leverage AI for data-driven decision making and create a second brain for your organization, enabling better insights and productivity
Medium · Data Science
📰
Snowflake VALIDATION_MODE: Dry Runs and Error Detection Before Loading (2026)
Learn to use Snowflake's VALIDATION_MODE for dry runs and error detection before loading data, ensuring data quality and integrity
Medium · Data Science
Up next
6-Phase SQL Roadmap 2026 | Data Analytics & Engineering | #shorts
SCALER
Watch →