counting specific weekday in between dates
Skills:
ML Maths Basics60%
Key Takeaways
Counts specific weekdays between dates in Excel
Full Transcript
okay guys this is the interview question asked by one of the mnc company in hyderabad to count how many sunday saturdays or any sunday or monday or a tuesday or wednesday any any day to find how many with this in a week so in a particular start date and end date if they give start date and end date you have to find them either sunday monday tuesday wednesday anything to count i'll show you these two formulas okay i'll show you the two formulas one is complex formula that is array constraint and another one is simple formula okay so first of all i will show you the complex formula okay now see no indirect every time i'll use this one start dip i will do like this this this indicates in excel this indicates from okay so what you'll do here i'm percent double quote this one this one ampersand and this one f9 so it will give you like this but you want all dates between these two numbers you can every date okay so what you'll do i use one function called indirect but it will give you the errors you can't use more than eight one line two characters okay so here is to remove that one use this one see all dates between start and end dates it is a number format now convert what you want i want to be convert this all dates into dates or four okay f9 so it will give you all weekdays monday tuesday wednesday thursday friday like this now what you'll do just i will use equal to after this one okay it will give you error because it's nothing is that okay so i suspend this formula for a while here i will use sunday now i'll come back and see whether at night see wherever it finds the sunday it will show us this true remaining or all falses okay so let's see it will work or not convert true and falses by using true as a one and false zero by using mathematical operator because here is there another one is there so you have to wrap that one into this now press f9 see how many are there one two three four just count those things thumb product enter there are four sundays if i change january 0 one [Music] zero one two zero two one so in a uh january from first to end of the january that is 31 january it is five sundays if i change this to monday it will show you all mondays okay this is the one method and another method is very simple you use network international and start date will be this end date will be this and everyone thinking that why don't you use sunday directly so it will give you the errors 11. and not error see but we need four answers so there is a amazing thing that i'll take this one okay i'll take this one previously what i did i did that one only okay i have selected the cell just to press enter it will give you num error so there is a i'll show you 0 is a working day and one is non-working day non-working day non-working output like this how you know this one okay here it is the function i'll show you here if you go to help here they will mention that one zero is in working day and one is non-working day one represent non-working day zero represent working day one represent non-working day okay and zero represent working day so what i'll do here zero starts from non-working day okay zero monday starts for monday okay we need only sundays okay you have to make it holiday on that sunday so it will start from uh non-working day one monday tuesday wednesday thursday friday saturday sunday so it will give you errors okay how to read of this convert this into text by single quote okay so why what is counting is counting how many are there f2 wait a minute one two three four five six seven yes five only monday okay i'll make it like this let's see zero one monday tuesday wednesday thursday friday saturday and sunday so it's not working so this is the right one monday tuesday wednesday thursday friday saturday and sunday right giving five when it is only four okay we'll go to the current month okay the current is equal to today not today okay make it today okay see four sundays are there it's working perfectly here means in february four sundays are there is it right right four sundays are there in february okay this is the easiest method and make sure that which one you want to make to count the weekday you have to make it as a working day and remaining or non-working day simply it will count that weekday okay one is known it's think of three words okay one is non-working day you have to go to office zero is working day so it's a holiday okay so that concept i have used this one and if you have any doubts ask me in the comment box this is one of the reputed company asked this query okay thank you guys thanks for your support and please i request everyone to share this video to everyone so that everyone will know they will get some idea okay these are the two methods one method is this one second method is this one okay thank you guys thanks for your support signing off the nikon
Original Description
MNC interview question for the post of MIS
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from ExcelGuru · ExcelGuru · 17 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
▶
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Total Sumproduct Session By Excel Expert Mr.Sanjeev kaushik
ExcelGuru
Uses and Technics of Transpose in 3 Methods
ExcelGuru
Query Solved ExcelExpert
ExcelGuru
counting numbers and text with creteria lenngth
ExcelGuru
For Reverse Looking Fing age By Using Database Function
ExcelGuru
MIS INTERVIEW QUESTION EXTRACTING FIRST AND LAST NAME WHICH IS NOT HAVING DELIMETER
ExcelGuru
finding Unique count of sales between Dates
ExcelGuru
counting 2 lookup values as per dupicates
ExcelGuru
Reverse Vlookup to get DOB
ExcelGuru
17-04-2022 Sridevi Marriage Celebrations
ExcelGuru
INTERVIEW QUERIES WITH ANOTHER QUERY
ExcelGuru
finding maximum sales of product when duplicate products
ExcelGuru
QUERY ASKED IN GROUP
ExcelGuru
MIS TEST WITH AMAZING SOLUTION BY JR.BILLGATES(ANAND)
ExcelGuru
query to count not saled products after saled products
ExcelGuru
Explanation about birla mandir at Hyderabad
ExcelGuru
counting specific weekday in between dates
ExcelGuru
Extract Data As per Creteria with power Query
ExcelGuru
Extracting data as per creteria in different sheets
ExcelGuru
SOLUTION FOR INPHOSYS MIS-1(1-4)
ExcelGuru
solution for inphosis mis 2(12-13)
ExcelGuru
INPHOSIS MIS SOLUTION-3(5-10)
ExcelGuru
LOGICAL MIS INPHOSIS-4(17-18)
ExcelGuru
MIS INTERVIEW QUESTION
ExcelGuru
MIS INPHOSIS -5(19-21)
ExcelGuru
MIS INPHOSIS - 6(23-25)
ExcelGuru
extracting pin codes or number from text string
ExcelGuru
finding maximum sales in one value
ExcelGuru
finding how many months are there between months
ExcelGuru
Quarter sales by month
ExcelGuru
Finding rate with 2 conditions by using vlookup
ExcelGuru
how to find max length word from text string
ExcelGuru
Group query To find sales and Quantity With 2 conditions by using VLOOKUP
ExcelGuru
my angels birthday celebrations
ExcelGuru
Group Query Adding total sales when it is having random delimiter like inches,kgs,Ton
ExcelGuru
Seperating first and last Name by space using function
ExcelGuru
Finding Total Goals from different tables Team members
ExcelGuru
Group Query To Extract Team members Names
ExcelGuru
Extracting data in a single column
ExcelGuru
converting one column data into table interview question
ExcelGuru
MIS INTERVIEW QUESTION-100
ExcelGuru
MIS INTERVIEW QUESTION -101 FINDING VALUE AS PER CHARACTERS LENGTH BY VLOOKUP
ExcelGuru
chi.shreyansh
ExcelGuru
MIS INTERVIEW QUESTION-102(SORT BY LENGTH)
ExcelGuru
query to extract last words from sentence
ExcelGuru
MIS INTERVIEW -103(EXTRACT MAXIMUM CHARACTERS WORD IN A CELL)
ExcelGuru
group query
ExcelGuru
without len function count of characters
ExcelGuru
MIS QUERY
ExcelGuru
mis interview questions part -1
ExcelGuru
Real MIS Query-1
ExcelGuru
real mis interview questions-1
ExcelGuru
finding the value as per length of characters
ExcelGuru
real mis -2
ExcelGuru
real MIS -3
ExcelGuru
REAL MIS -4(PART A)
ExcelGuru
group query
ExcelGuru
tech mahindra mis
ExcelGuru
courier company MIS
ExcelGuru
tech Mahindra (UPDATED)
ExcelGuru
More on: ML Maths Basics
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
Monolith vs Microservices: A Real-World Architectural Autopsy
Dev.to · Erwin Wilson Ceniza2
FOV in FPS Games: The Math Behind Field of View Settings
Dev.to · Alex Carter
How I Structured My Next.js 14 App Router Project — And Why It Scales
Dev.to · Mbanefo Emmanuel Ifechukwu
Let’s write a simple Lexer in Go
Medium · Programming
🎓
Tutor Explanation
DeepCamp AI