![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Location: Netherlands
Posts: 6
|
I want the MAX from column C2:C9 IF in column
A2:A9 = x (see below) I use this formula: =MAX(IF(A2:A9="x",(C2:C9))) The result is 90 ??? But if pressing the edit formula button "=" the formula result shows "70" A2:A9 C2:C9 x >>>>>>>>>>>> 20 >>>>>>>>>>>> 30 x >>>>>>>>>>>> 50 >>>>>>>>>>>> 10 >>>>>>>>>>>> 60 x >>>>>>>>>>>> 70 >>>>>>>>>>>> 90 x >>>>>>>>>>>> 45 Who can help me out on tis one. [ This Message was edited by: ree001 on 2002-04-24 02:53 ] [ This Message was edited by: ree001 on 2002-04-24 02:58 ] |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
=MAX(IF(A2:A9="x",C2:C9))
should be entered as an array-formula, that is, you need to hit control+shift+enter at the same time, not just enter. Aladin |
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2002
Location: Netherlands
Posts: 6
|
Bedankt, het werkt
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|