Computer Science, asked by rpriyanka098, 1 year ago

Suppose there are three different values in three different cell of MS Excel sheet? Use if statement to find the greatest of three numbers stored in the cell?

Answers

Answered by usp488
1
Heyy...
U can Short & filter from Editing Group of Home Tab to find the greatest value in the selected criteria,
U must secect the cells in which u want to want to find the greatest one

see the pic 1 and select the criteria A1:D3
and go to short & filter and select smallest to largest number.


Select or highlight cells with max & min value in a range of cells or each column and row:

Kutools for Excel's Select Cells with Max & Min Value can help you to quickly select all largest or smallest values from a selected range or each row and column.

Find Out The Highest Or Lowest Value In A Selection With Formulas

To get the largest or smallest number in a range:

Just enter the formula =Max (A1:F12) or =Min(A1:F12) in a blank cell, and then press Enter key to get the largest or smallest number in the range, see screenshot:



Note: The Max function and Min function can only find out the highest or lowest value, but not select the value in ranges. With the functions, it is not able to know how many duplicate highest values or lowest values too.

To get the largest 3 or smallest 3 numbers in a range:

Sometimes, you may want to find the largest or smallest 3 numbers from a worksheet, this section, I will introduce formulas for you to solve this problem, please do as follows:

Please enter this formula: =LARGE(A1:F12,1)&", "&LARGE(A1:F12,2)&", "&LARGE(A1:F12,3) to get the largest 3 numbers, and apply this formula: =SMALL(A1:F12,1)&", "&SMALL(A1:F12,2)&", "&SMALL(A1:F12,3) to extract the smallest 3 numbers.

Note: If you want to find the largest or smallest 5 numbers, you just need to use the & to join the LARGE or SMALL function as this: =LARGE(A1:F12,1)&", "&LARGE(A1:F12,2)&", "&LARGE(A1:F12,3)&","&LARGE(A1:F12,4) &","&LARGE(A1:F12,5).

Select The Highest Or Lowest Value In A Selection With Kutools For Excel

The Kutools for Excel's Select Cells with Max & Min Value will help you not only find out the highest or lowest values, but also select all of them together in selections.

1. Select the range that you will work with.

2. Click Kutools > Select > Select Cells with Max & Min Value…, see screenshot:

3. In the Select Cells with Max & Min Value dialog box:

(1.) Specify the type of cells to search (formulas, values, or both) in the Look in box;
(2.) Then check the Maximum value or Minimum value as you need;
(3.) And specify the scope that the largest or smallest based on, here, please choose Cell.
(4.) And then if you want to select the first matching cell, just choose the First cell only option, to select all the matching cells, please choose All cells option.


4. And then click OK, it will select all highest values or lowest values in the selection, see the following screenshots:

Select all the smallest values


Select all the largest values.

Select The Highest Or Lowest Value In Each Row Or Column With Kutools For Excel

If you want to find and select the highest or lowest value in each row or column, the Kutools for Excel also can do you a favor, please do as follows:

1. Select the data range that you want to select the largest or smallest value.

2. Then click Kutools > Select > Select Cells with Max & Min Value to enable this feature.

3. In the Select Cells with Max & Min Value dialog box:

(1.) Specify the type of cells to search (formulas, values, or both) in the Look in box;
(2.) Then check the Maximumvalue or Minimum value as you need;
(3.) And specify the scope that the largest or smallest based on, here, please choose Entire row or Entire colum;
(4.) If you want to select the first matching cell, just choose the First cell only option, to select all the matching cells, please choose All cells option.

This everything related to your question.

Thankyou buddy...
HOPE it helps U. :-)
Attachments:

usp488: If you don't like my answer so plz don't delete it. It is very useful for me.
Similar questions