Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Finding the MAX number while considering similar names

Hello!
I have a list of names associated with hours. I want to get the maximum hour
number while adding whatever hours of the same names. Here is an example of a
sheet:

a 2
b 5
a 1
a 6
d 3

Visually, I know my answer is:
9
Because since "a" is the same person, that persons hours gets added. And so
the maximum number is no longer 6, but an addition of all the similar names.
In this case, "a" which gives me 9.

I hope I wasn't too confusing...
thanks in advance for the help!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default Finding the MAX number while considering similar names

Try this:

=SUMIF(A1:A5,"A",B1:B5)

Biff

"Ninjapowa" wrote in message
...
Hello!
I have a list of names associated with hours. I want to get the maximum
hour
number while adding whatever hours of the same names. Here is an example
of a
sheet:

a 2
b 5
a 1
a 6
d 3

Visually, I know my answer is:
9
Because since "a" is the same person, that persons hours gets added. And
so
the maximum number is no longer 6, but an addition of all the similar
names.
In this case, "a" which gives me 9.

I hope I wasn't too confusing...
thanks in advance for the help!!



  #3   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Finding the MAX number while considering similar names

Perhaps
=MAX(SUMIF(A1:A5,A1:A5,B1:B5))

array entered with Cntrl+Shift+Enter (or you get #VALUE)

"Ninjapowa" wrote:

Hello!
I have a list of names associated with hours. I want to get the maximum hour
number while adding whatever hours of the same names. Here is an example of a
sheet:

a 2
b 5
a 1
a 6
d 3

Visually, I know my answer is:
9
Because since "a" is the same person, that persons hours gets added. And so
the maximum number is no longer 6, but an addition of all the similar names.
In this case, "a" which gives me 9.

I hope I wasn't too confusing...
thanks in advance for the help!!

  #4   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Finding the MAX number while considering similar names

small correction - if it's not array entered you get 0 (although normally I
get and have come to expect #VALUE)


"JMB" wrote:

Perhaps
=MAX(SUMIF(A1:A5,A1:A5,B1:B5))

array entered with Cntrl+Shift+Enter (or you get #VALUE)

"Ninjapowa" wrote:

Hello!
I have a list of names associated with hours. I want to get the maximum hour
number while adding whatever hours of the same names. Here is an example of a
sheet:

a 2
b 5
a 1
a 6
d 3

Visually, I know my answer is:
9
Because since "a" is the same person, that persons hours gets added. And so
the maximum number is no longer 6, but an addition of all the similar names.
In this case, "a" which gives me 9.

I hope I wasn't too confusing...
thanks in advance for the help!!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding Names exsam21 Excel Worksheet Functions 1 January 17th 06 10:40 PM
Finding number of particular days in a period girlfriend in school Excel Worksheet Functions 0 July 13th 05 06:36 PM
Finding the 3rd largest number in a list Simon Jefford Excel Worksheet Functions 2 June 28th 05 04:01 PM
Finding First and Last Worksheet Names [email protected] Excel Discussion (Misc queries) 4 May 13th 05 04:22 PM
finding row number? james Excel Discussion (Misc queries) 3 February 3rd 05 12:56 AM


All times are GMT +1. The time now is 05:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"