#1   Report Post  
Soapydux
 
Posts: n/a
Default Return Maximum value

Hi

Looking to find a formula that will calculate a maximum bid figure
from an array.

Example data.
Products Bidder Amount
Product 1 John £50
Product 2 David £50
Product 1 William £55
Product 1 Jill £45
Product 3 Tom £60
Product 3 Gwen £30

So when I put s table together of all Product I get the highest
bidders for each e.g.

Products Bidder Amount
Product 1 William £55
Product 2 David £50
Product 3 Tom £60

Any ideas?

Thanks
  #2   Report Post  
Ron Coderre
 
Posts: n/a
Default

1)List your products from E1:E3

2)Put this formula in Cell D1:
=MAX(IF($A$2:$A$7=E1,$C$2:$C$7,0))
(Note: Commit that array formula by pressing [Ctrl]+[Shifr]+[Enter])

3)Copy the formula into Cells D2 and D3

I hope that helps.

Regards,
Ron
  #3   Report Post  
 
Posts: n/a
Default

Ron:
Thanks for the formula for the Amount
What formula will bring back the corresponding
Bidder (Name) for the Max Amt?
Tks in advance...
Have a nice day.

-----Original Message-----
1)List your products from E1:E3

2)Put this formula in Cell D1:
=MAX(IF($A$2:$A$7=E1,$C$2:$C$7,0))
(Note: Commit that array formula by pressing [Ctrl]+

[Shifr]+[Enter])

3)Copy the formula into Cells D2 and D3

I hope that helps.

Regards,
Ron
.

  #4   Report Post  
Soapydux
 
Posts: n/a
Default

Hi Thanks for that.

That works to produce the max value per product i.e. Product 1 - £55
but I also need it to identify the highest bidder. Product 1 £55
William

Sorry if that wasn't clear enough before.

Cheers



"?B?Um9uIENvZGVycmU=?=" wrote in message ...
1)List your products from E1:E3

2)Put this formula in Cell D1:
=MAX(IF($A$2:$A$7=E1,$C$2:$C$7,0))
(Note: Commit that array formula by pressing [Ctrl]+[Shifr]+[Enter])

3)Copy the formula into Cells D2 and D3

I hope that helps.

Regards,
Ron

  #5   Report Post  
Ron Coderre
 
Posts: n/a
Default

To return the name of the high bidder (using my previous example) put this
formula in cell F1:
=INDEX($B$1:$B$7,MATCH(E1&D1,($A$1:$A$7)&($C$1:$C$ 7),0))

(Note: Commit that array formula by pressing [Ctrl]+[Shifr]+[Enter])

Then copy it down to Cells F2 and F3

I hope that helps.

Regards,
Ron



  #6   Report Post  
Domenic
 
Posts: n/a
Default

With your list of products in Column E, starting at E2...

Bidder...

F2, copied down:

=INDEX($B$2:$B$7,MATCH(1,($A$2:$A$7=E2)*($C$2:$C$7 =G2),0))

....confirmed with CONTROL+SHIFT+ENTER.

Amount...

G2, copied down:

=MAX(IF($A$2:$A$7=E2,$C$2:$C$7))

....confirmed with CONTROL+SHIFT+ENTER.

Hope this helps!

In article ,
(Soapydux) wrote:

Hi

Looking to find a formula that will calculate a maximum bid figure
from an array.

Example data.
Products Bidder Amount
Product 1 John £50
Product 2 David £50
Product 1 William £55
Product 1 Jill £45
Product 3 Tom £60
Product 3 Gwen £30

So when I put s table together of all Product I get the highest
bidders for each e.g.

Products Bidder Amount
Product 1 William £55
Product 2 David £50
Product 3 Tom £60

Any ideas?

Thanks

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
How do I return dynamic lists? liciakay Excel Worksheet Functions 1 March 30th 05 08:22 AM
If (either of these) return this taxmom Excel Worksheet Functions 6 March 29th 05 09:15 PM
Return lowest quantity Pat Excel Worksheet Functions 2 March 8th 05 09:59 PM
Can VLOOKUP return multiple answers based on several identical lo. jddtct Excel Worksheet Functions 3 January 11th 05 07:03 AM
Return the smallest value Donkey Excel Worksheet Functions 2 December 24th 04 10:10 PM


All times are GMT +1. The time now is 07:02 PM.

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"