query to extract last words from sentence

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

Key Takeaways

This video teaches how to use Excel to extract the last words from a sentence

Full Transcript

hi friends this is rajinikanth Excel Guru and here I'm going to explain you this is actually one quiz that could be one of our great person that is I call him Juliet Bill Gates and his name is Anand so he wants to know how to extract last word from this only the last word like this okay you want to extract only the last word okay did you understand what I mean to say you want to extract only the last word here number of things are different here the values are differencing okay so how you can accept only the last word without using Flash Fill all those things right now before starting this I request everyone to like share and subscribe and send this to everyone so that everyone should get a knowledge of this okay now I am going to explain you how to extract a last word from these sentences first of all you have to know what is the last space over here the last space over here so how you will do this one so you do what you will do you just count how many spaces over there so you will get automatically the last space see one two three so you have to count how many spaces are there so I will length function minus length of substitute the text is this one the A3 comma old text is space and new text is blank that's it okay so it will count how many the total spaces so automatically we'll get the last space okay forgot to keep this one bracket see one two three one two three here see you are double click okay one two three four five six seven eight so this is the last space okay did you understand what I mean to say now so what you will do you insert uh you insert a new character here you have to insert a new character in that third space okay in that in that place which is not available in the sentences which is not available over here in this any of these values so what you will do here substitute of this old text Place comma the new text the new character which is not available in the value the carrot or Ampersand you can take this one easily you can understand this one and the instance instance means be interacting with a current that is second or third or fourth or fifth so I accept this one foreign value so I'll close this one and enter see you will find the here one two three here you can find the ampersand so now you have to remove the Ampersand by searching of search of ampersand comma in this value so it will pick up this position where it is it will go directly over here until enter double click if you will do director if you look at direct experience over here it will become one two three fourth because into the first occurrence of the value and check space comma in this if one two four five six it will pick up this fifth current of this page okay so for that reason you have to insert a new character in that position where it is space your country will get the 14th Place okay so what a right will not uh that will not work over here so you have to little bit uh what your same logic so here you have to use a replace function replace of old text starting from which characters starting from one how many number of characters you want to extract you want to remove I want to I mean to say you want to replace 14 characters till you find a person till you find Ampersand remove whole thing searching from one so close parenthesis the new text is parenthesis and enters here is the magic got it and if you have any more doubt let me know in the comment box thanks for your support and uh next month I am going to take another session which is because today I am free for that reason I have taken this class actually I will not take okay all the best guys see you in the next session bye

Original Description

#interview #excel
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from ExcelGuru · ExcelGuru · 45 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
19 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
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

📰
Database Internals: 4 Things Every Developer Should Learn Before Writing More Code
Learn database internals to improve coding efficiency and scalability
Medium · Machine Learning
📰
Ranking Numeric Values using Power Query(.pbix included)
Learn to rank numeric values in Power Query for data analysis and comparison
Medium · Data Science
📰
The Data Foundation for Finance Transformation at Enterprise Scale
Learn how to build a canonical finance data repository for enterprise-scale finance transformation, enabling a single source of truth for over 1M daily transactions
Medium · Data Science
📰
Your Pipeline Is 25.4h Behind: Catching Defence Sentiment Leads with Pulsebit
Learn to use Pulsebit's News Sentiment API to catch defence sentiment leads and optimize your pipeline with real-time sentiment analysis
Dev.to · Pulsebit News Sentiment API
Up next
This could be the most perfect data frontend
Matt Williams
Watch →