#### Counting rows, then counting values.

```I have a lot of spreadsheets with many rows and columns of numbers. I need
a way to find the highest value in each row, (mark it some how, bold the
number maybe), then count the number of "highest" values are in each
column.

Is there an easy way to do this?

Thank You,
Michael
```
 0
forum1 (79)
6/1/2005 3:02:18 PM
excel.misc 78881 articles. 5 followers.

7 Replies
769 Views

Similar Articles

[PageSpeed] 55

```Hi Michael

You can use this to get the value

=MAX(A1:A20)

and this to count

=COUNTIF(A1:A20,MAX(A1:A20))

--
Regards Ron de Bruin
http://www.rondebruin.nl

"Michael via OfficeKB.com" <forum@nospam.OfficeKB.com> wrote in message news:152907df2ac24b6ab6ee8d51d46958d9@OfficeKB.com...
>I have a lot of spreadsheets with many rows and columns of numbers. I need
> a way to find the highest value in each row, (mark it some how, bold the
> number maybe), then count the number of "highest" values are in each
> column.
>
> Is there an easy way to do this?
>
> Thank You,
> Michael

```
 0
rondebruin (3789)
6/1/2005 3:09:19 PM
```I would use the MAX function to determine the highest value in eac
column for example to find the highest value in column A insert a ro
at row 1 and inter this function =Max(A2:A1000).

Use the conditional formatting too to identify the location of the ma
value by selecting the entire column, select format on the toolbar
then conditional formatting then choose under condition 1 cell value
equal to - then enter "=A1" in the value field and choose the format t
differentiate the max value from the rest of the field.

To count the number of occurences of that max value, use the counti
function.

Barrfl

--
barrfl

Excel User - Energy market
-----------------------------------------------------------------------
barrfly's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=414

```
 0
6/1/2005 3:20:26 PM
```How can I count how many of the highest values are in each column. Example:
Rows = Hours, Columns = Days. I need to find out which of the hours in each
day is the highests number. Next I need to count how many days have the
same hour as its highest number.

1:00    2:00    3:00    4:00
Monday    12      13      14      15
Tuesday   16      18      25      10
Wednes.   20      14      40      30

Total:    1       1       2       0 <- this is the output im looking for
```
 0
forum (466)
6/1/2005 3:28:12 PM
```First part works great, is there a way to do a fill so that I don't have to
do it for every line? How do you I use the countif statement to count the
number of bolded numbers in each column?

Thank you everyone for the help!

Michael

--
Message posted via http://www.officekb.com
```
 0
forum (466)
6/1/2005 5:25:39 PM
```See the second formula that I posted
=COUNTIF(A1:A20,MAX(A1:A20))

--
Regards Ron de Bruin
http://www.rondebruin.nl

"Michael via OfficeKB.com" <forum@OfficeKB.com> wrote in message news:10be3163b326423c842d14f7d26e7138@OfficeKB.com...
> How can I count how many of the highest values are in each column. Example:
> Rows = Hours, Columns = Days. I need to find out which of the hours in each
> day is the highests number. Next I need to count how many days have the
> same hour as its highest number.
>
>          1:00    2:00    3:00    4:00
> Monday    12      13      14      15
> Tuesday   16      18      25      10
> Wednes.   20      14      40      30
>
> Total:    1       1       2       0 <- this is the output im looking for

```
 0
rondebruin (3789)
6/1/2005 6:00:50 PM
```Is there a way in which you can make Excel mark the higest number in a row or
column?

Example:

A    B    C
1  1    3    2

In this example, I would like the cell B3 (or the text in the cell)
automatically highlighted, as it being the higest value of the three cells
A1:C1

Is this possible?

Thomas Bentsen

"Ron de Bruin" skrev:

> Hi Michael
>
> You can use this to get the value
>
> =MAX(A1:A20)
>
> and this to count
>
> =COUNTIF(A1:A20,MAX(A1:A20))
>
> --
> Regards Ron de Bruin
> http://www.rondebruin.nl
>
>
>
> "Michael via OfficeKB.com" <forum@nospam.OfficeKB.com> wrote in message news:152907df2ac24b6ab6ee8d51d46958d9@OfficeKB.com...
> >I have a lot of spreadsheets with many rows and columns of numbers. I need
> > a way to find the highest value in each row, (mark it some how, bold the
> > number maybe), then count the number of "highest" values are in each
> > column.
> >
> > Is there an easy way to do this?
> >
> > Thank You,
> > Michael
>
>
>
```
 0
Tbentsen (3)
8/4/2005 8:40:02 PM
```Check out Conditional Formatting in XL Help. One way:

Select A1:C1. Choose Format/Conditional Formatting. Set the dropdowns

CF1:            Formula is   =A1=MAX(\$A\$1:\$C\$1)
Format1:    Patterns/<highlight color>

In article <D7959FED-DE63-4CFA-9649-07AB6AC0B481@microsoft.com>,
"Tbentsen" <Tbentsen@discussions.microsoft.com> wrote:

> Is there a way in which you can make Excel mark the higest number in a row or
> column?
>
> Example:
>
>     A    B    C
> 1  1    3    2
>
> In this example, I would like the cell B3 (or the text in the cell)
> automatically highlighted, as it being the higest value of the three cells
> A1:C1
>
> Is this possible?
```
 0
jemcgimpsey (6723)
8/4/2005 9:57:22 PM

Similar Artilces:

Using form to enter "query criteria" (between values)
Good morning everyone, I want to create a form with two boxes, where first box is lower limit of the value and the second upper limit. This values should be used in my query as filter criteria. Like this (query filter criteria): > "textbox1" AND < "textbox2" Does anyone know how I can build this in a form (i.e. connect my textboxes and query criteria)? Kindly, Mikael Sweden By thinking about for another minute I found the (simple) answer. In the query criteria I put the following expression: BETWEEN [forms].[nameofform].[NameofDatefield1] AND [forms].[name...

Pivot table and counting.
I have a pivot table that gives me the number of rides done by a van. I can have the pivot table return the number of rides, but what I need is the number vans that participated for a certain day. Example, it is possible to have 27 trips done by 18 vans, how can I count the number of vans and not addup the van number? Any help appreciated. Thank you, Joe Hi Joe We need a bit more information on how your source data table is set up. What information do you have in each column? -- Regards Roger Govier sacredarms <sacredarms@discussions.microsoft.com> wrote: > I have a pi...

Cycle Counting
Hello, I am looking for ideas on how to cycle count serial number tracked items without increasing workload. Our serialized items are barcoded but the problem is the are situated on the pallet incorrectly and the pallet is placed on a third level of a racking system. If we could just cycle count based on item count and not include the serial number it would make it easy. Is this possible in Great Plains. We are running Great Plains 8.0. Any suggestions are greatly aprreciated. Thank You, Brian Morris Database Administrator ...

Excluding Rows During Printout

Count
Hi, I would like to know how which formula I should use to count some codes & to ignore the duplicated codes, for example in column A: Code 1234 4321 4321 1234 1234 3214 Now, I want Excel to count & the result is 3 which are: 1234-4321-3214 Yes I can use PivotTable, but I would like to use a formula because I have to deal with this every day. I appreciate your support. -- MFS22 COUNTIF will do it. =COUNTIF(Rng,Rng), where the criterion is the same as the range: e.g =COUNTIF(A3:A8,A3:A8) HTH Peter "MFS" wrote: > Hi, > I wo...

How do I count the # of times a value reoccurs and plot it over ti
I wish to plot a number of errors made by each users and compare it over time. I have a column of user ID's and a column of dates. I want the chart to count the number of times each user ID appears and plot against it's corresponding date. However, each time I try to do this, the chart appears wrong. Any ideas? In article <9595B2A1-8282-4AB3-8511-A6776E108164@microsoft.com>, Stephen@discussions.microsoft.com says... > I wish to plot a number of errors made by each users and compare it over > time. I have a column of user ID's and a column of dates. I want t...

Summary in the last row
Hi, I'm need to make a vba macro where the macro automaticly shall find the last row and make a summary of the total column D. I cant get It right, can someone please help? So far I only has typed following. Dim lngLastRow As Long lngLastRow = ActiveSheet.Cells(Rows.Count, "D").End(xlUp).Row Range("D" & lngLastRow + 1) = _ -- Best regards Mia Sub slr() dim mc as long Dim lr As Long mc = 4 'col D lr = Cells(Rows.Count, mc).End(xlUp).Row Cells(lr + 1, mc) = _ Application.Sum(Range(Cells(1, mc), Cells(lr, mc))) End Sub -- Don Guill...

Newbie question / plug in a value for a cell based on a range for that value
Hey guys, New to Excel so sorry if this explanation isn't the clearest in terms of correct terminology. In one section of my spreadsheet I have a list of percentage values associated with numbers 1-20. For example #10 is listed with the percentage value of 38.4% in the cell next to it (O14 and P14). In another section of the spreadsheet I have a quick formula that I'd like to use these %'s based on what number (1-20) is entered. In my spreadsheet the % I want to use for this #10 is listed in P14 (38.4%). What can I plug into my formula so when I enter "10" is kno...

getting rid of zero values in a column
i have a set of data on a column that i`ll use to plot on a graph and find a trendline for its behaviour...problem is: there is zero values in some cells that were not calculated... i want to copy this data in a new column getting rid of cells with zero value because it results in a wrong trendline...how can i do this?please help this is an example of what i mean: 1 1 3 3 4 4 0 6 6 3 3 1 0 0 0 1 One of the simpler ways is to hide the rows for the cells that have zeros and then plot the graph. "kafoury123" wrote: > i have a set of data on a ...

hi I am trying to read the values from a excel row. There are 89 columns for each row and same number of data in each rows. Kindly help regards shantanu shantanu, You need to explain how/where you want to read them.... From another workbook, another worksheet, a VBA function, a macro, a C# application? HTH, Bernie MS Excel MVP "shantanu" <shantanusenin@gmail.com> wrote in message news:1184298794.259390.216180@i38g2000prf.googlegroups.com... > hi > I am trying to read the values from a excel row. There are 89 > columns for each row and same number of da...

count number of characters in rich edit control
How can i count number of characters in rich edit control 2 If u mean controls of type Rich TextBox control, try RichControl1 RC1; CString Mes=RC.GetText(); int n=Mes.GetLength(); "Rahul" <Rahul@discussions.microsoft.com> wrote in message news:7743023C-EA83-4ACA-AB67-F1AE7279F1EB@microsoft.com... > How can i count number of characters in rich edit control 2 EM_GETTEXTLENGTHEX, WM_GETTEXTLENGTH, WM_GETTEXT, EM_STREAM* "Rahul" <Rahul@discussions.microsoft.com> wrote in message news:7743023C-EA83-4ACA-AB67-F1AE7279F1EB@microsoft.com... > How can i co...

Multiply all query by same value
...

Line count
I am working with a program called Dictaphone. We use Word 2007 in this program. The line count on Dictaphone and the line count in Word 2007 are different even though the Dictaphone text is retrieved from Word 2007. Why would they be different? What is the difference between virutal line count and physical line count? ...

Makeing a row to be invisible.
Hi, Without using VBA, how can I make a row of cells to be invisible base on value of another cell. for example: make a row to be invisible (by setting row's text color same as background color) if another cell's value is equal to zero. Thanks in advance. Select row to hide. Format>Conditional Formatting>Formula is: =\$A\$2=0 Format>Font>Color.......white OK your way out. Gord Dibben Excel MVP On Fri, 2 Dec 2005 15:21:33 -0800, "A-Design" <afshinstock@hotmail.com> wrote: >Hi, > >Without using VBA, how can I make a row of cells to be ...

Counting sales
I have two different datasets. Each with a common identifier. I need a formula that will reference the identifiers in both datasets and count the number of sales a particular agent made. Example. look up this identifier in the other dataset and then give me the value that is 2 columns over from the identifier in the second dataset. See if this helps: http://contextures.com/xlFunctions02.html -- Biff Microsoft Excel MVP "Dave" <Dave@discussions.microsoft.com> wrote in message news:E7245B37-033F-400E-9CEE-9822BE7CB0F5@microsoft.com... >I have two...

double-click in between two rows or two columns
How to avoid cursor jumping around to different positions when I double-click in between two rows or two column ? Thanks Hi This is a feature of Excel! When you double click the border of the selected cell, the cursor will go to the edge of the contiguous data on the sheet. It's very useful for jumping to the start/end of data. I don't know of a way to disable it. -- Andy. "Ben" <anonymous@discussions.microsoft.com> wrote in message news:bf5d01c4382c\$a19b1bf0\$a601280a@phx.gbl... > How to avoid cursor jumping around to different positions > when I double-c...

trying to create an insert row macro
hey guys, I'm trying to create a macro to streamline a process for one of our factory guys. Right now, I'm going down and manually inserting rows into a database and then dragging the needed formulas and information from the rows above down. What I'm trying to do is make it so he can place his cursor, hit the macro key stroke and have that done for him. When I record the macro, I think I am making an absolute cell reference, because when I run the macro it will only instert where I initially inserted the row. How do I create the macro so he can select where he wants it ...

select query of parent and child in one row
I have a parent table and a child table one parent has between 1 and 6 children in the child table I wont a query to have the parent and the child in one "row" how do I create that? thanks for helping me Your table structure is not correct for a relational database but this will get you there. This has three but you get the idea and expand on it. Place the table in the design grid as many times as you have field to combine. SELECT MultipleFieldData.x, MultipleFieldData.a & IIf(MultipleFieldData_1.b Is Null,Null," " & MultipleFieldData_1.b) & IIf(MultipleF...

From Rows to Columun #3
I have data in rows, I want to past to columns so i can import intio access... HELP Example (Current data) 3 42 42 3 38 38 4 22 I want to move to 3 42 42 3 38 38 4 22 THANKS ...

How to retrieve value from specific cell value?
Does anyone have any suggestions on how to retrieve value from specific cell value with specific worksheet? I would like to create a if-statement within macro, If specific cell within specific worksheet = 1 then process following code End If Does anyone have any suggestions? Thanks in advance for any suggestions Eric hi If Sheets("sheet1").Range("A1") = 1 Then MsgBox "run code" Else MsgBox "skip code" End If regards FSt1 "Eric" wrote: > Does anyone have any suggestions on how to retrieve value from specific cell &...

Value Axis Scale Change Problem #2