top of page

Search Results

281 results found with an empty search

  • MS Excel: WORKDAY function calculate working days

    The WORKDAY  function in Excel helps you calculate a future or past date  by excluding weekends and (optionally) holidays . It's essential for project planning , due date tracking , and workforce scheduling , where counting only business days is crucial. For example, if a task starts on May 1 and takes 10 working days to complete, WORKDAY can instantly return the expected completion date, skipping Saturdays, Sundays, and holidays. Syntax =WORKDAY(start_date, days, [holidays]) Arguments: Argument Required Description start_date ✅ Yes The starting date (can be a date value or cell reference). days ✅ Yes The number of working days  to add (positive) or subtract (negative). holidays ❌ No A range or array of dates to exclude as holidays (optional). How It Works By default, WORKDAY excludes weekends (Saturday and Sunday) . You can also exclude public holidays  by providing them in the holidays argument. Returns a serial number  representing the target date (format as Date). Examples Example 1: Add 10 Working Days to a Start Date =WORKDAY(DATE(2025,5,1), 10) Result:  2025-05-15(Skips weekends; adds 10 business days) Example 2: Subtract 5 Working Days from a Date =WORKDAY("2025-05-15", -5) Result:  2025-05-08 Example 3: Exclude Holidays Assume cell range C2:C3 contains two holiday dates: 2025-05-09 and 2025-05-12. =WORKDAY(DATE(2025,5,1), 10, C2:C3) Result:  2025-05-19(Skips weekends and holidays) Sample Table Start Date Days Holidays (if any) Formula Result 01/05/2025 10 — =WORKDAY(A2, B2) 15/05/2025 01/05/2025 10 09/05, 12/05 =WORKDAY(A3, B3, C2:C3) 19/05/2025 15/05/2025 -5 — =WORKDAY(A4, B4) 08/05/2025 Notes If days = 0, the result is the same as start_date if it's a weekday; otherwise, it returns the next working day. To use a custom weekend definition  (e.g., Friday & Saturday off), use WORKDAY.INTL. Use TEXT()  to format the returned serial number into a readable date format if needed. Related Functions Function Description WORKDAY.INTL() Customizes which days are weekends NETWORKDAYS() Calculates total working days between two dates TODAY() Returns the current date EDATE() Shifts dates by calendar months Summary Table Feature Details Function Name WORKDAY Purpose Add/subtract working days from a date Skips Weekends (Sat/Sun) & optional holidays Return Type Date (serial number formatted as date) Introduced In Excel 2007+ Conclusion The WORKDAY function is a must-have for professionals working with deadlines, SLAs, and schedules . It simplifies complex date calculations by automatically ignoring weekends and holidays, making your time-based analysis more accurate and efficient.

  • MS Excel: WEEKNUM function to get the week number from any date

    The WEEKNUM  function in Microsoft Excel returns the week number of a given date . This is especially useful for weekly reporting, payroll, inventory planning, or project management  where you want to organize or group data by calendar weeks. Whether you need to calculate which week a date falls into or sort reports by weekly intervals, WEEKNUM helps you do it efficiently. Syntax =WEEKNUM(serial_number, [return_type]) Arguments: Argument Required Description serial_number ✅ Yes A valid Excel date (can be a date, cell reference, or formula). return_type ❌ No A number (1 or 2, or 11–21) indicating which day starts the week. Default is 1 (week starts on Sunday). Return Type Options Return Type Week Starts On Notes 1 (default) Sunday Week 1 starts on Jan 1 2 Monday Week 1 starts on Jan 1 11–17 Mon–Sun ISO-like variations 21 Monday ISO 8601 standard (use ISOWEEKNUM) Examples Example 1: Week Number of a Date =WEEKNUM(DATE(2025,5,2)) Result:  18(May 2, 2025 falls in the 18th week of the year if weeks start on Sunday.) Example 2: Week Number Starting from Monday =WEEKNUM("02/05/2025", 2) Result:  18(Using Monday as the first day of the week.) Example 3: Use with TODAY() for Dynamic Week Tracking =WEEKNUM(TODAY(), 2) Returns the current week number based on today’s date and a Monday start. Sample Table Date Formula Return Type Result Description 01/01/2025 =WEEKNUM(A2, 1) 1 1 First week of the year 15/01/2025 =WEEKNUM(A3, 2) 2 3 Third week, Monday start 31/12/2025 =WEEKNUM(A4) 1 53 Last week of the year Notes The WEEKNUM function starts counting from January 1st , regardless of what day of the week that falls on. For ISO 8601 week numbering (where Week 1 is the week containing the first Thursday  of the year), use ISOWEEKNUM  instead. Excel stores dates as serial numbers ; invalid inputs will result in a #VALUE! error. Related Functions Function Description ISOWEEKNUM() Returns ISO-compliant week number WEEKDAY() Returns the day of the week as a number TODAY() Returns the current date TEXT() Format a date to show full names Summary Table Feature Description Function Name WEEKNUM Purpose Get week number of a given date Customizable Week Start ✅ Yes (via return_type) Date System Works with Excel 1900/1904 systems Introduced In Excel 2007+ Conclusion The WEEKNUM function simplifies weekly data organization  in Excel. Whether you’re tracking deadlines, planning shifts, or preparing weekly reports, this function ensures accurate and dynamic week number calculations.

  • MS Excel: WEEKDAY function determine the day of the week from any date

    The WEEKDAY  function in Excel returns a number representing the day of the week  for a given date. It's a vital tool in scheduling, reporting, task management , and conditional formatting , especially when you need to identify weekends or group data by weekdays . For example, if you want to filter out weekends or flag deadlines that fall on Mondays, WEEKDAY makes it possible with just one formula. Syntax =WEEKDAY(serial_number, [return_type]) Arguments: Argument Required Description serial_number ✅ Yes The date you want to find the weekday for. Can be a date value or a reference. return_type ❌ No A number (1–3, 11–17) that defines which day is considered the start of the week. Default is 1. Return Type Options Return Type Week Starts On Sunday = Monday = 1 (default) Sunday 1 2 2 Monday 7 1 3 Monday 6 0 11–17 Custom starts (Mon–Sun) Adjusts accordingly — Examples Example 1: Basic Weekday Calculation =WEEKDAY(DATE(2025,5,4)) Result:  1(If return_type is omitted, Excel assumes Sunday = 1) Example 2: Weekday Starting from Monday =WEEKDAY("04/05/2025", 2) Result:  7(May 4, 2025 is a Sunday; 2 makes Monday = 1) Example 3: Use with IF to Flag Weekends =IF(WEEKDAY(A2, 2) > 5, "Weekend", "Weekday") Flags any Saturday (6) or Sunday (7) as "Weekend". Sample Table Date Formula Return Type Result Interpreted As 02/05/2025 =WEEKDAY(A2) 1 (default) 1 Sunday 03/05/2025 =WEEKDAY(A3, 2) 2 6 Saturday 05/05/2025 =WEEKDAY(A4, 2) 2 1 Monday Notes Excel stores dates as serial numbers  starting from January 1, 1900 (serial number 1). If the input date is invalid, WEEKDAY returns a #VALUE! error. Use TEXT(date, "dddd") to return the full name of the weekday instead of a number. Related Functions Function Description TEXT() Format date to show full weekday name TODAY() Returns current date NOW() Returns current date and time WORKDAY() Returns a date excluding weekends and holidays NETWORKDAYS() Calculates working days between two dates Summary Table Feature Description Function Name WEEKDAY Purpose Returns the day of the week Argument Required Yes (date input) Customizable Start Yes (via return_type) Return Value Integer (1–7 depending on config) Introduced In Excel 2003+ Conclusion The WEEKDAY function is indispensable for time-based analysis in Excel. It helps you quickly evaluate the day of the week , automate logic for weekends , and build smarter date-aware systems . With its flexible return types, you can match any calendar model you need.

  • MS Excel: TODAY function to return the current date automatically

    The TODAY  function in Microsoft Excel is a volatile date function  that returns the current system date , dynamically updating each day you open or refresh the workbook. It does not return the time —only the date. Whether you're creating dashboards, reports, trackers, or deadline calculators, TODAY() helps keep your data up to date without manual input . Syntax =TODAY() Arguments: The TODAY function has no arguments . Examples Example 1: Return the Current Date =TODAY() Result (on May 2, 2025):  02/05/2025 This result will automatically update every day. Example 2: Calculate Days Until a Future Date =A2 - TODAY() If A2 = 31/12/2025, this formula will return the number of days remaining until New Year’s Eve. Example 3: Calculate Age or Tenure If a birth date or start date is in cell A2: =DATEDIF(A2, TODAY(), "Y") Returns the age or years of service based on today's date. Example 4: Expiry or Due Date Passed? =IF(A2 < TODAY(), "Overdue", "On Track") Useful in task or invoice management to flag past due items. Sample Table Description Formula Result (if today is May 2, 2025) Current date =TODAY() 02/05/2025 10 days from today =TODAY() + 10 12/05/2025 30 days ago =TODAY() - 30 02/04/2025 Notes & Behavior The result of TODAY() is recalculated each time the worksheet changes  or is opened. To prevent the date from changing , you can convert the result to static  by copying and using Paste Values. It returns the system date  from your computer, not from the internet. Related Functions Function Purpose NOW() Returns the current date and time DATE() Creates a date from year, month, and day DATEDIF() Calculates difference between two dates EDATE() Adds/subtracts months to/from a date TODAY() Returns current date (no time) Summary Table Feature Description Function Name TODAY Purpose Returns the current date Argument Required ❌ None Returns Date (as a serial number) Volatile ✅ Yes (updates on recalculation) Introduced In Excel 2000+ Conclusion The TODAY function is one of the most frequently used Excel functions for automating date-based logic. Whether you're building reports, aging schedules, or real-time trackers, TODAY() ensures your sheets are always reflecting the current date without manual updates .

  • MS Excel: TIMEVALUE function for converting text to recognized time format

    The TIMEVALUE  function in Excel is used to convert a time represented as a text string  into a decimal number  that Excel recognizes as a valid time. This is essential when you’re working with imported data , manual text entries , or systems that output time as text , and you need that information to behave like real time values in calculations or formatting. Syntax =TIMEVALUE(time_text) Parameters: Argument Required Description time_text Yes A time value in text format, such as "14:30", "2:45 PM" Only the time portion  is interpreted—any date in the text will be ignored . Examples Example 1: Convert "2:30 PM" to a Decimal Time =TIMEVALUE("2:30 PM") Result:  0.604167 This represents 2:30 PM as a fraction of a 24-hour day. Example 2: Use with Cell Reference If A2 = "08:00 AM" =TIMEVALUE(A2) Result:  0.333333(Which is 8:00 AM or one-third of a day) Example 3: Combine with TEXT for Cleanup Sometimes text time comes with extra spaces or formatting issues. =TIMEVALUE(TRIM(A2)) Ensures Excel correctly interprets the string as a time. Example 4: Convert to Readable Time Format After using TIMEVALUE, format the result as Time to see it displayed like 10:15 AM instead of a decimal. Sample Table Input (Text) Formula Decimal Result Formatted Time "06:00" =TIMEVALUE("06:00") 0.25 06:00 AM "12:45 PM" =TIMEVALUE("12:45 PM") 0.53125 12:45 PM "23:59" =TIMEVALUE("23:59") 0.999305 11:59 PM Important Notes If the text doesn’t resemble a valid time , Excel will return a #VALUE! error. The function ignores the date  portion even if it’s included (e.g., "4/5/2025 14:30" → only time is considered). To view the decimal as a readable time, format the cell using Time  format. Related Functions Function Description TIME() Converts hours, minutes, and seconds into a time TEXT() Formats numbers as text VALUE() Converts text to number (general) DATEVALUE() Converts date text to a serial number HOUR() Extracts hour from time MINUTE() Extracts minute from time Summary Table Feature Description Function Name TIMEVALUE Purpose Converts a time string to a time serial number Argument Type Text (must resemble a time) Return Type Decimal (Excel time) Volatile ❌ No Introduced In Excel 2007 and later Conclusion The TIMEVALUE function is a vital tool when working with text-formatted time data  in Excel. It ensures accurate time calculations, formatting, and compatibility—especially when importing data from external sources or text files.

  • MS Excel: TIME function to create time values from hour, minute and second

    The TIME  function in Excel is used to combine hours, minutes, and seconds  into a single valid Excel time . This is especially helpful when you're working with separate components of time and need to assemble them into a time value that Excel can understand and format correctly. Use it for building timestamps , time calculations , and automation of time-based entries  in dashboards, logs, schedules, and more. Syntax =TIME(hour, minute, second) Parameters: Argument Description hour Number from 0 to 23. Values >23 will roll over to next day. minute Number from 0 to 59. Values >59 will increment the hour. second Number from 0 to 59. Values >59 will increment the minute. Excel stores time as a fraction of a 24-hour day. For example, 0.25 = 6:00 AM. Examples Example 1: Simple Time Construction =TIME(9, 30, 0) Result:  09:30 AM Creates a valid Excel time for 9:30 in the morning. Example 2: Values Above Normal Ranges =TIME(25, 75, 120) Result:  04:17 AM (on the next day) Explanation: 25 hours → 1 day + 1 hour 75 minutes → 1 hour + 15 minutes 120 seconds → 2 minutes → Total: 1 day + 1h + 1h + 15m + 2m = 04:17 Example 3: Build Time from Cell Values Assume the following: A B C Hour Minute Second 14 20 45 =TIME(A2, B2, C2) Result:  2:20:45 PM Sample Table Hour Minute Second Formula Result 10 15 0 =TIME(10,15,0) 10:15 AM 23 59 59 =TIME(23,59,59) 11:59:59 PM 25 0 0 =TIME(25,0,0) 1:00 AM Use Cases Combine split time fields (hour, minute, second) into a single time value. Generate timestamps in dashboards and reports. Calculate future/past time intervals by combining with NOW() or TODAY(). Use with + and - for custom time arithmetic. Related Functions Function Purpose NOW() Returns current date and time TODAY() Returns current date HOUR() Extracts hour from time MINUTE() Extracts minute from time SECOND() Extracts second from time TIMEVALUE() Converts text to time Summary Table Feature Description Function Name TIME Purpose Converts separate hour, minute, and second into a time value Argument Type Numbers (can exceed typical ranges) Return Type Decimal number (formatted as time) Volatile ❌ No Introduced In Excel 2007 and later Conclusion The TIME function is essential when dealing with time components separately in Excel. Whether you're calculating shifts, event durations, or simply building dynamic time values, it ensures you get a consistent and correctly formatted time every time.

  • MS Excel: SECOND function to extract second component

    The SECOND  function in Excel allows you to extract the second component  (0 to 59) from a time or a date-time value. This is especially useful for time tracking, timestamp breakdown, and any situation where seconds matter—such as logging system events or analyzing performance durations. Syntax =SECOND(serial_number) Argument: Argument Required Description serial_number Yes A valid time, or a cell containing a time or date-time value (e.g., 12:45:23) Excel stores dates and times as serial numbers. For example, 0.5 represents 12:00:00 PM, and the decimal part corresponds to the time of day. Examples Example 1: Basic Time Input =SECOND("14:25:45") Result:  45→ Extracts the second component from the time 14:25:45. Example 2: Cell Reference Assume A2 contains 9:03:17 AM =SECOND(A2) Result:  17 Example 3: Extract from Date-Time If A3 contains 2025-05-04 18:22:59 =SECOND(A3) Result:  59→ The date part is ignored; only the time’s second  component is returned. Example 4: Using NOW Function =SECOND(NOW()) Result:  The current second based on your system clock. Sample Table Time Value Formula Result 12:45:30 =SECOND(A2) 30 18:59:05 =SECOND(A3) 5 =NOW() =SECOND(NOW()) e.g., 22 (dynamic) Tips & Notes The result will always be an integer from 0 to 59 . Works with both text strings  like "10:15:30" and date-time serial numbers . If the input is a whole number (like 5), the second component is 0. Related Functions Function Description HOUR Returns the hour from a time value MINUTE Returns the minute from a time NOW Returns current date and time TIME Creates a time from hour, minute, second TIMEVALUE Converts text to time Summary Table Feature Description Function Name SECOND Purpose Extracts the second component from a time Returns Integer (0 to 59) Argument Type Time serial number or time string Excel Version Excel 2007 and later Conclusion The SECOND function is a straightforward but valuable tool when precision timing is essential. Whether you're analyzing timestamps or building a custom time dashboard, SECOND helps isolate the exact time component you need.

  • MS Excel: NOW function to return the current date and time

    The NOW  function in Excel returns the current date and time  based on your system clock. It is a volatile function , meaning it updates automatically every time the worksheet recalculates. This function is essential for timestamping , dynamic dashboards , real-time calculations , and time tracking  systems. Syntax =NOW() The function has no arguments . It returns a serial number  representing the current date and time . In Excel, dates are stored as sequential numbers. For example, 1 represents January 1, 1900, and decimals represent time. So 45000.5 would mean noon on May 19, 2023. Examples Example 1: Insert Current Date and Time =NOW() Returns something like: 04/05/2025 14:35 The exact format depends on your regional settings and cell formatting. Example 2: Calculate Deadline (Current Time + 3 Hours) =NOW() + TIME(3, 0, 0) This formula adds 3 hours to the current time. Example 3: Track Time Elapsed Since a Specific Date-Time =NOW() - A2 If cell A2 contains a date-time like 04/05/2025 08:00, the result will be a decimal representing days. Format the result as [h]:mm:ss to see the time difference clearly. Sample Table Task Start Time Current Time (NOW) Elapsed Time Formula Elapsed Time Result 04/05/2025 08:00 =NOW() =NOW() - A2 6:30 Format the result column as Time or [h]:mm:ss. Notes About Volatility The NOW() function updates automatically  when: You open  the workbook. You enter/edit  a cell. You press F9  to recalculate. It does not  update in real-time unless you force a calculation. Difference Between NOW and TODAY Function Returns Includes Time? NOW() Date and time ✅ Yes TODAY() Date only ❌ No Practical Use Cases ⏱ Track real-time durations (e.g., elapsed time since login) 📊 Create dynamic dashboards with current time indicators 📅 Schedule tasks with offset from current time 📥 Timestamp entries or log updates automatically Pro Tips Format the cell containing NOW() using Custom Format  like: dd-mmm-yyyy hh:mm AM/PM yyyy-mm-dd hh:mm:ss Use in conditional formatting  to highlight overdue tasks. Combine with IF or DATEDIF for deadline alerts. Summary Table Feature Description Function Name NOW Purpose Returns current date and time Volatile ✅ Yes Arguments None Returns Date-Time serial number Compatible With Excel 2007 and later Conclusion The NOW function is simple but incredibly powerful. From creating real-time dashboards to automating timestamps, it's an essential tool for any Excel power user who deals with time-sensitive data.

  • MS Excel: NETWORKDAYS.INTL function for # of workdays between workdays

    The NETWORKDAYS.INTL  function in Excel is a powerful upgrade of the NETWORKDAYS function. It calculates the number of working days  between two dates with the flexibility  to define which days of the week are considered weekends and exclude optional holidays. This function is particularly useful in industries or countries where the standard weekend is not Saturday–Sunday (e.g., Sunday–Monday or Friday–Saturday). Syntax =NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays]) Arguments: Argument Required Description start_date Yes The start of the date range end_date Yes The end of the date range weekend No A number or string defining which days are weekends holidays No A range or array of dates to treat as holidays Weekend Codes Numeric Weekend Values: Code Weekend Days 1 Saturday–Sunday 2 Sunday–Monday 3 Monday–Tuesday 4 Tuesday–Wednesday 5 Wednesday–Thursday 6 Thursday–Friday 7 Friday–Saturday 11 Sunday only 12 Monday only ... ... up to 17 (Saturday only) Custom Weekend String (7 characters): Use a 7-character string  of 0s and 1s where each digit represents a day of the week starting from Monday. 1 = Weekend, 0 = Workday Example: "0000011" means Saturday and Sunday are weekends. Examples Start Date End Date Weekend Code Holidays Formula Result Notes 2025-05-01 2025-05-10 1 none =NETWORKDAYS.INTL(A2, B2, 1) 6 Standard weekend 2025-05-01 2025-05-10 "0000011" none =NETWORKDAYS.INTL(A3, B3, "0000011") 6 Same as code 1 2025-05-01 2025-05-10 7 2025-05-05 =NETWORKDAYS.INTL(A4, B4, 7, C4) 5 Friday–Saturday weekend + 1 holiday 2025-12-24 2026-01-02 11 2025-12-25, 2026-01-01 =NETWORKDAYS.INTL(A5, B5, 11, E5:E6) 7 Sunday-only weekend Example Table in Excel A (Start Date) B (End Date) C (Weekend Code) D (Holiday) Formula Result 2025-06-01 2025-06-10 2 2025-06-05 =NETWORKDAYS.INTL(A2, B2, C2, D2) 6 Related Functions Function Description NETWORKDAYS Calculates weekdays (Mon–Fri), excludes fixed weekends only WORKDAY.INTL Returns a future/past workday with custom weekend logic TODAY() Returns current date — useful for dynamic range calculations Tips for Advanced Use Combine with TODAY() to calculate business days remaining: excel CopyEdit =NETWORKDAYS.INTL(TODAY(), DATE(2025,12,31), 1) Use "1111110" to make only Sunday  a workday (i.e., rest of the week off). Great for businesses with non-standard shifts , such as retail, healthcare , or construction . Summary Table Feature Details Function Name NETWORKDAYS.INTL Custom Weekends? ✅ Yes Holiday Support? ✅ Yes Return Type Number of workdays Best For Global teams, irregular workweeks, advanced date modeling Excel Version Excel 2010 and later Conclusion The NETWORKDAYS.INTL function is your go-to solution when standard weekend logic doesn’t fit. It empowers Excel users to customize what counts as a working day , and accurately account for regional calendars  and company policies .

  • MS Excel: NETWORKDAYS function to calculate the number of working days

    The NETWORKDAYS function  in Excel is a built-in date and time function  that calculates the number of working days  (excluding weekends and optionally holidays) between two dates. It’s widely used in project management , HR leave tracking , finance , and operations  to determine how many business days are available or used. Syntax =NETWORKDAYS(start_date, end_date, [holidays]) Arguments: Argument Required Description start_date Yes The starting date of the period. end_date Yes The ending date of the period. [holidays] No One or more dates (range or array) to exclude as holidays (optional). 🎯 Return Value An integer  that represents the count of weekdays (Mon–Fri)  between start_date and end_date, excluding any dates listed as holidays. ✅ Examples Start Date End Date Holidays Formula Result Explanation 2025-05-01 2025-05-10 (none) =NETWORKDAYS(A2, B2) 6 Skips weekend (May 3–4) 2025-05-01 2025-05-10 2025-05-05 =NETWORKDAYS(A3, B3, C3) 5 Skips weekend + May 5 (holiday) 2025-12-24 2026-01-02 2025-12-25, 2026-01-01 =NETWORKDAYS(A4, B4, D4:D5) 6 Skips weekends + Christmas + New Year 🧠 Use Cases Scenario Purpose Project deadline tracking Measure available working days to complete tasks Leave & attendance systems Calculate total working days between start and end dates Invoice payment cycles Count net business days for due dates SLA or service ticket tracking Calculate compliance based on business days 📋 Practical Table Example A (Start Date) B (End Date) C (Holiday 1) D (Holiday 2) Formula Result 2025-06-01 2025-06-10 2025-06-05 2025-06-06 =NETWORKDAYS(A2, B2, C2:D2) 6 🔄 Related Functions Function Description WORKDAY Returns the end date  after adding a number of workdays to a start date NETWORKDAYS.INTL More flexible version — lets you customize which days are weekends DATEDIF Calculates the difference between dates in various units TODAY() Returns the current date — useful for dynamic formulas 🔧 Tips & Best Practices Holidays must be valid Excel date values — not text. If start_date is later than end_date, the result will be negative. Want to ignore only specific weekdays  as non-working days? Use NETWORKDAYS.INTL. Dynamic Example: excel CopyEdit =NETWORKDAYS(TODAY(), DATE(2025,12,31), F1:F10) This calculates remaining working days until the end of 2025, excluding holidays listed in F1:F10. 📌 Summary Table Feature Details Function Name NETWORKDAYS Input Start date, end date, optional holidays Output Number of weekdays (Mon–Fri) Excludes Saturdays, Sundays, and listed holidays Use Cases Timelines, project tracking, payroll Excel Versions All modern Excel versions (2007 and later) 🏁 Conclusion The NETWORKDAYS function is a cornerstone in business and project calculations. By accurately counting only the days that matter — working days  — you can improve your reporting, timelines, and planning with ease.

  • MS Excel: MONTH function to extract minute from date - time value

    The MONTH function  in Microsoft Excel returns the month  from a given date. It's widely used in financial reports, project planning, seasonal analysis, and any scenario where understanding or grouping data by calendar months  is required. Whether you're sorting transactions, creating month-wise summaries, or automating date-based formulas, the MONTH function is a must-know. Syntax =MONTH(serial_number) Parameter: Argument Description serial_number A valid Excel date, date-formatted cell, or a formula that returns a date. Excel stores dates as sequential serial numbers , starting from January 1, 1900. Return Value An integer between 1 and 12 , where: 1 = January 2 = February … 12 = December Examples A (Date) Formula Result Explanation 2025-01-01 =MONTH(A2) 1 Returns January 15-Mar-2025 =MONTH(A3) 3 Returns March 31-Dec-2025 =MONTH("31-Dec-2025") 12 Returns December TODAY() =MONTH(TODAY()) Varies Returns current month Practical Use Cases Scenario Purpose Monthly sales reporting Extract month to group totals Project scheduling Filter or organize by month Employee records Determine birth or join month Conditional formatting Highlight dates by month Seasonality analysis Separate trends by month Example Table in Excel Date Month Number Month Name 2025-01-10 =MONTH(A2) =TEXT(A2, "mmmm") 2025-07-15 7 July 2025-12-31 12 December Related Functions Function Description YEAR() Returns the year from a date DAY() Returns the day of the month from a date TEXT() Formats a date to display the full or short month EDATE() Adds or subtracts whole months to/from a date EOMONTH() Returns the last day of a month from a given date Notes If a non-date number is passed (like 1), Excel assumes it's the date serial number for January 1, 1900 , so =MONTH(1) returns 1. MONTH("2025-04-15") works, as Excel recognizes it as a valid date string. Pro Tip Want to display the name  of the month instead of the number? Combine with the TEXT function: =TEXT(A2, "mmmm") → April =TEXT(A2, "mmm") → Apr Or for a full dynamic message: ="Report for the month of " & TEXT(A2, "mmmm") Summary Table Feature Details Function Name MONTH Input Type Date or serial number Output Integer (1 to 12) Common Uses Grouping, filtering, labeling Availability All Excel versions Conclusion The MONTH function is simple but powerful when working with time-based data. It helps you efficiently categorize, analyze, and visualize data across monthly timelines — a critical task in many industries.

  • MS Excel: MINUTE function for extracting minute portion from value

    Time values are essential in scheduling, data logging, and performance tracking. Microsoft Excel’s MINUTE function  allows users to extract the minute portion  from a given time value. Whether you’re analyzing call durations, meeting times, or timestamps in system logs, this function helps streamline and structure your time-based data. Syntax =MINUTE(serial_number) Argument: Parameter Description serial_number A valid Excel time or a reference to a cell containing a time Excel stores time as a fraction of a day , where 1 = 24 hours, 0.5 = 12 hours, etc. The MINUTE function returns an integer between 0 and 59 . Examples Cell A1 (Time) Formula Result Explanation 12:45 PM =MINUTE(A1) 45 Extracts the 45 minutes 07:00 =MINUTE("07:00") 0 Exact hour, no minutes 18:29:59 =MINUTE(A1) 29 Returns the minute part only 0.78125 =MINUTE(0.78125) 45 0.78125 = 6:45 PM Practical Use Cases Scenario Application Example Shift reporting Extract minute details from check-in times Call center analytics Analyze duration patterns in logs KPI reports Group or filter data based on exact minutes Data validation Ensure minute values are within expected limits Related Functions Function Purpose HOUR Returns the hour from a time value SECOND Returns the seconds from a time value TIME Combines hour, minute, second into a time NOW Returns current system date and time TEXT Formats a time or date as a custom string Best Practices When using MINUTE, ensure your source data is recognized as a valid time. To extract minute values from date-time stamps (e.g., 2025-05-02 14:37:10), Excel will still return 37 with =MINUTE(cell). You can build a dynamic message using the result: ="The event starts at minute " & MINUTE(A1) Summary Table Feature Description Function Name MINUTE Purpose Extracts the minute from a time value Return Type Integer (0 to 59) Input Serial time or time-formatted cell Available In All Excel versions Conclusion The MINUTE function is a powerful, precise tool that makes time-based data in Excel more actionable. Whether you’re slicing timestamps for analysis or formatting schedules for dashboards, knowing how to extract minute values cleanly will improve the accuracy and usability of your data.

bottom of page