LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Looking for row # for highest value AND blank cell in other co

Steve,

That formula gave me a #VALUE! error, perhaps because I am dealing with
strings as well as numbers.

The real difficulty has been to specify the row that has BOTH a blank in A
and the highest balance in I. I figured out a way to do that - to find the
rows with blanks, and search for the highest balance - BUT if there are
multiple rows with the SAME high balance, then it will give the first row in
descending order with that balance REGARDLESS of whether or not A is blank.

I can't ensure that the columns will be sorted, which is another
restriction. Do you know of a way to ensure that the tables get sorted a
specific way everytime the worksheet is opened?

Aaron

"SteveG" wrote:


Aaron,

Try,

=IF(SUMPRODUCT((Bucket!A1:A65000="")*(Bucket!I1:I6 5000=MAX(Bucket!I1:I65000))*(Bucket!B1:B65000))0, SUMPRODUCT((Bucket!A1:A65000="")*(Bucket!I1:I65000 =MAX(Bucket!I1:I65000))*(Bucket!B1:B65000)),"Empty ")

This is not an array formula. All of the ranges must be the same size
for this to work. Also, if there is more than one occurrence where A
is blank and I is the max value of the column it will sum the values in
B.

Does that help?

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=569136




 
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



All times are GMT +1. The time now is 12:59 AM.

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

About Us

"It's about Microsoft Excel"