Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 312
Default Array max formula?

Hello everyone. Was hoping for some formula help. With this abridged
sample data:

A 8
B 4
C 9
A 6
D 7
S 1
A 6

I conceptually would like excel to scan the first column (A), and identify
all A's, and return the Max of the value found in column B.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Array max formula?

Use the following array formula:

=MAX((A1:A10="A")*B1:B10)

Since this is an array formula, you must press Ctrl+Shift+Enter
rather than just Enter when you first enter the formula and
whenever you edit the formula later. If you do this correctly,
Excel will display the formula enclosed in curly braces {}.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com





"Steph" wrote in message
...
Hello everyone. Was hoping for some formula help. With this
abridged
sample data:

A 8
B 4
C 9
A 6
D 7
S 1
A 6

I conceptually would like excel to scan the first column (A),
and identify
all A's, and return the Max of the value found in column B.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 312
Default Array max formula?

Thanks Chip!!

"Chip Pearson" wrote in message
...
Use the following array formula:

=MAX((A1:A10="A")*B1:B10)

Since this is an array formula, you must press Ctrl+Shift+Enter
rather than just Enter when you first enter the formula and
whenever you edit the formula later. If you do this correctly,
Excel will display the formula enclosed in curly braces {}.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com





"Steph" wrote in message
...
Hello everyone. Was hoping for some formula help. With this
abridged
sample data:

A 8
B 4
C 9
A 6
D 7
S 1
A 6

I conceptually would like excel to scan the first column (A),
and identify
all A's, and return the Max of the value found in column B.






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
Array formula SUMIF with 2D sum_range array Rich_84 Excel Worksheet Functions 3 April 3rd 09 10:46 PM
Array formula: how to join 2 ranges together to form one array? Rich_84 Excel Worksheet Functions 2 April 1st 09 06:38 PM
Find specific value in array of array formula DzednConfsd Excel Worksheet Functions 2 January 13th 09 06:19 AM
Array Formula - using LEFT("text",4) in formula Andrew L via OfficeKB.com Excel Worksheet Functions 2 August 1st 05 02:36 PM
Convert Normal formula to array formula Pradip Jain Excel Programming 4 May 23rd 05 04:32 PM


All times are GMT +1. The time now is 10:17 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"