counting specific weekday in between dates

ExcelGuru · Intermediate ·🏗️ Systems Design & Architecture ·4y ago

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 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
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
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 AI Lessons

Up next
Retracing It All With My Son
Ginny Clarke
Watch →