About 583,000 results
Open links in new tab
  1. VBA, min/max ... or other mathematical functions

    Oct 8, 2018 · There are two shorter ways I've found to code that: Dim A As Integer, B As Integer. A = Sheet1.Range("$A$1").Value. B = Sheet1.Range("$A$2").Value. …

  2. VBA: How to Find Minimum Value in Range - Statology

    Mar 22, 2023 · You can use the following basic syntax to calculate the minimum value in a range using VBA: Range("D2") = WorksheetFunction.Min(Range("B2:B11")) End Sub. This particular …

  3. WorksheetFunction.Min method (Excel) | Microsoft Learn

    Sep 12, 2021 · If the arguments contain no numbers, Min returns 0. Arguments that are error values or text that cannot be translated into numbers cause errors. If you want to include …

  4. Does VBA have Native Functions for MIN, MAX - MrExcel

    May 31, 2015 · Min = -A * (A <= B) - B * (B < A) Note: The single use of an equal sign inside only one the logical expressions is intentional (it protects against both values being the same).

  5. VBA MIN MAX Function: How to Find the Minimum and …

    Learn how to use the VBA MIN and MAX functions to find the minimum and maximum values in a range of cells. This easy-to-follow guide includes step-by-step instructions and screenshots.

  6. Find Smallest and Largest Value in a Range with VBA – …

    Finding Smallest and Largest Value with VBA. Using ParamArray to find Minimum Value. Related Links: Remove Duplicates in a range, using “Find ‘Smallest’, ‘Largest’, ‘K-th Smallest’ and ‘K …

  7. Excel MIN Function | Excel, VBA

    The Excel MIN function returns the smallest value from a specified range of numeric values. Learn how to apply the Excel MIN function using excel and VBA.

  8. How to find minimum value in Excel VBA? - Namso gen

    Jun 30, 2024 · One of the simplest and most straightforward ways to find the minimum value in Excel VBA is by using the WorksheetFunction.Min method. This method allows you to find the …

  9. vba - Finding minimum and maximum values from range of …

    I need to summarize my data by value column with min and max date and time for each value. Min Max . Date Time Date Time. Have you tried to use PivotTable? For example: excel …

  10. WorksheetFunction.Min Method (Excel VBA)

    WorksheetFunction.Min (Excel) Returns the smallest number in a set of values. Arguments can either be numbers or names, arrays, or references that contain numbers. Logical values and …

  11. Some results have been removed