Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Find Maximum Value for a matched value 1

Status
Not open for further replies.

sdiverdan

Technical User
Sep 23, 2003
28
0
0
CA
I have a spreadsheet containing 45 different rows representing network lines, a column has line speeds (128,256, 512..) and another column has the maximum Kbps for that particular line for a particular day. I'm trying to retreive into a cell the maximum Kbps for a line speed. I know the large function gives me the maximum for a column. I've tried vlookup, match, sumif,countif and arrays however to no success. How do I find the largest value for all the 128 lines? I'm really stumped. %-)


Dan
 
With your line speeds in Col A A1:A30 and the actual speeds in Col B B1:B30, and the speed you wish to query in D1, in any other cell use:-

=MAX(IF(A1:A30=$D$1,B1:B30))

Array entered using CTRL+SHIFT+ENTER

Regards
Ken................

----------------------------------------------------------------------------
Attitude - A little thing that makes a BIG difference
----------------------------------------------------------------------------
 
Thanks Ken, here's a star, that's exactly what I was looking for! thanks...[thumbsup]


Dan
 
My pleasure, and thanks for the feedback.

Regards
Ken..............

----------------------------------------------------------------------------
Attitude - A little thing that makes a BIG difference
----------------------------------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top