Group Query Adding total sales when it is having random delimiter like inches,kgs,Ton

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

Key Takeaways

This video teaches viewers how to add total sales with random delimiters in Excel using group query

Full Transcript

hi friends this is excel guru rajinikanth and before starting this session i will explain you this first of all i'll give you some interaction about my channel that is excel guru so here in excel guru channel all interview questions with solutions all interview questions within solutions so really from repeated companies in in hyderabad for the post of mis so all of it totally nearly i collected 2 000 plus interview questions from reputed companies in hyderabad so here this is the query asked by one of our friend in group regarding see what actually the query is but the following explain about this query what it is actually see so here is the randomly it is there see rupees 456 420 kgs kg is 470 like this so you have to cut only the numbers but and remove all the characters and add only these numbers without helper column okay for clarification i did this one the sum of this is 292. see how i'll do i will explain you and another query is there is a plus delimiter between the numbers so you have to read off the those plus characters and add those numbers okay this is these are the two things so first of all i'll start this one here i will start what i will do first of all say what how i'll do substitute of from starting i'll explain you i'm adding space to all those things adding space comma and the old text what will be the old text so i'll add this one the space will be the older text and the new text i will add repeat of these many text comma 255 times into not into this one right so after i press f9 what okay repeat 255 characters wait a minute here somewhere went wrong correctly the text is this old text will be the first and new text will be just yes then why it is giving [Music] here i am adding see how why it is giving value it should not give evaluated actually somewhere something went wrong f9 and all of ours why it should not give us wait a minute made of number of substitute of the text this one and the starting number when i give 1 into 255 and the number of characters is 255 so it will pick up all the first and it will read off all the spaces and it it will give you this first word first word of inert range that is f9 the kg or what i'll do i'll trim extra spaces are there so i'm using trim function to read off extra spaces see rs 420 kg is five only first characters kg 580 mtr 486 so if i'll give to f9 it will accept only the second word after the space delimiter which is got my point so what i'll do instead of doing all those things i want one two three four five six seven like that here in place of two in case of one or a two so what i'll do i'll use this function row of this whole thing f4 minus row of this f4 plus one right here is the thing here you will get all the 1 2 3 but here you will see 255 256 because i multiplied with 255 so what i'll do here i will do this if i press f9 it will not give the proper answer right so what i'll do instead of doing all those things transpose i'm transposing into rows into columns still here f9 see rs4 rs456 see 420 kd kg470 580 ton mtr580 yeah 486 inches right so those are numbers in a text format so you have to convert into a numbers in text numbers into your numbers by using double negative f9 see value arrays are there and text numbers is converted into a numbers like 456 456 420 all those things now what i'll do here you have to read up all the errors by using if because if you do directly it will not it will give you the error it will give you the error not the answer f9 so you have to convert this into something which is familiar with everyone that is fairer if you find any error in this value so may be blank now what will happen it will give only the numbers but not the error f9 see you here i will do so that you can able to understand easily s9 okay what happened here again value okay here you have to give um now press c if what i will do from here is f9 again what happened okay i did not kept comma over here if error vitamin d [Music] f9 see 456 420 for all only the numbers are visible and the errors is converted into a blank okay for a while i'll keep like this only for at least 10 to 5 seconds so that you can see you can upload easily got it now if you press enter what will happen it will give you value error everything is correct then also it is giving you value address so what you have to do you have to use the special character that is control shift and enter if you'll do some of this here i'll guarantee some of this whole thing is 2092 2092 got it what i mean to say now coming to this part okay the same procedure as thing is nothing is changed substitute here the delimiter is plus sign here the limit is plus sign right and comma all text will be the old text will be just placed only because already delimiter is plus and the new text i'm replacing with space 255 times this thing and the starting number same like that i will give you so that you can able to understand that easily at night there is a lot of spaces so i read off spaces by using a trim function f9 see first character if i instead of one if i'll give 5 count how many are there 1 2 3 4 5 so 23 will come ok so here what i'll do i need same like row here i can do row like this but here how can i do that one row all those things i did go minus row all those things simply up the center and i will show you that function where i used here pse if the values in one and one cell all the values in one cell if it is a ranges you can use this function if it is in one cell like this how you will do don't worry i'll show you which is the five what i'll do row of indirect of [Applause] ampersand length of we don't know how many are there so length of this thing close all the parentheses for the row and check your starting number f9 okay here what i'll do uh okay i will highlight everything and i will show you f9 okay gone everything is gone i have to get five is that so i'll remove five from here [Music] okay i will use the same function comma starting number row of indirect ampersand length of [Applause] this length of b12 what happened again it has gone over some beds length of b21 into 255 is closed or not text will be this starting number okay you have to close one parentheses over here and remove one parenthesis from there f9 again what happened yes already went wrong again we'll check once again text starting number of c again one more parenthesis over here and remove one parenthesis from here f9 again what happened f9 somewhere went wrong [Music] with the root i have to close the door function here it is there right only properly now let me check starting number yes f9 number of characters yes i'll use mid function first of all f9 everything is right okay again i will do once again sorry guys again i'll do somewhere went wrong made of substitute of adding plus sign ampersand to this comma old text will be the plus sign only and the new text i am replacing with space 255 times new text and starting number is row of indirect of starting from one and we don't know the length of the value so i'm using length function over here to get all the characters from one to end of that i'm closing still row comma not here into 255 comma 255 okay let's check it out yes it is there now i'll use trim function okay two functions to follow the string function trim to move all those things okay converting text numbers into a number by using double negative f9 what happened here went wrong let me check whether where it went wrong everything is correct only i don't know where it went wrong 12 yes converting double negative first of all listening check double negative f9 why it is coming like this okay here you can see 12 45 36 39 all all the numbers so what you'll do if errors if you find any error in this function [Music] so give me d blank f9 3 twelve four fifty six thirty six four and remaining are all blank where it finds the error value and simply use some product for this some product and here also i'm using just enter it will give you the wrong answer so converting into this function into an array function by using ctrl shift and enter f2 ctrl shift enter if you want you can check it by adding those numbers and if you have any doubts ask me in the comment box thank you guys thanks for your support like share and subscribe my channel

Original Description

TELEGRAM GROUP https://t.me/+0_gXCXtEZngxYWM1
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

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

📰
Pydantic for Data Engineering: Schema Validation in ETL & Pipeline Contracts
Use Pydantic for schema validation in ETL pipelines to ensure data consistency and quality
Dev.to · Gowtham Potureddi
📰
Half of Data Engineering Jobs on LinkedIn Aren't Real
Understand the discrepancy between reported data engineering job growth and actual job availability on LinkedIn
Dev.to · DataDriven
📰
Evolutionary Data Through Schemaboi: Achieving Forward, Backwards, and Sideways Compatibility
Learn how Schemaboi achieves forward, backwards, and sideways compatibility for evolutionary data through self-contained schemas in file headers
InfoQ AI/ML
📰
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
Up next
6-Phase SQL Roadmap 2026 | Data Analytics & Engineering | #shorts
SCALER
Watch →