#1   Report Post  
Tom Hollies via OfficeKB.com
 
Posts: n/a
Default Excel Maxif

Hi,

Hi,
I wonder if anyone can help, I have 2 columns say C2:C40 and D2:D40 and I
need to add a function to say D50 that will return the Max for both columns
provided the number is 3 in column C and 25 in column D.
Any Ideas regards Tom

--
Message posted via http://www.officekb.com
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

one way (array-entered: CTRL-SHIFT-ENTER or CMD-RETURN):

=MAX(IF(C2:C403,C2:C40),IF(D2:D4025,D2:D40))


In article ,
"Tom Hollies via OfficeKB.com" wrote:

I wonder if anyone can help, I have 2 columns say C2:C40 and D2:D40 and I
need to add a function to say D50 that will return the Max for both columns
provided the number is 3 in column C and 25 in column D.

  #3   Report Post  
Ken Wright
 
Posts: n/a
Default

Do you mean the number has to be in both columns, or that whichever column
it is found in it adheres to the rules for that column alone. What do you
want returned if there is no value that meets the criteria.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"Tom Hollies via OfficeKB.com" wrote in message
...
Hi,

Hi,
I wonder if anyone can help, I have 2 columns say C2:C40 and D2:D40 and I
need to add a function to say D50 that will return the Max for both

columns
provided the number is 3 in column C and 25 in column D.
Any Ideas regards Tom

--
Message posted via http://www.officekb.com



  #4   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Are you sure about the criteria you state and the range for which a
conditional max must be calculated? As is, they sound unusual...

Tom Hollies via OfficeKB.com wrote:
Hi,

Hi,
I wonder if anyone can help, I have 2 columns say C2:C40 and D2:D40 and I
need to add a function to say D50 that will return the Max for both columns
provided the number is 3 in column C and 25 in column D.
Any Ideas regards Tom

  #5   Report Post  
Don Guillett
 
Posts: n/a
Default

try this as an array formula which means you must enter with
ctrl+shift+enter

=MAX(MAX(IF(A2:A223,A2:A22)),MAX(IF(B2:B2225,B2: B22)))

--
Don Guillett
SalesAid Software

"Tom Hollies via OfficeKB.com" wrote in message
...
Hi,

Hi,
I wonder if anyone can help, I have 2 columns say C2:C40 and D2:D40 and I
need to add a function to say D50 that will return the Max for both

columns
provided the number is 3 in column C and 25 in column D.
Any Ideas regards Tom

--
Message posted via
http://www.officekb.com




  #7   Report Post  
Tom Hollies via OfficeKB.com
 
Posts: n/a
Default

Thamks a lot, it worked a treat. I can't say I fully understand why but
that's not unusual for me, thanks again. Tom

--
Message posted via http://www.officekb.com
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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
How do I isolate my Excel server (automation) from other Excel instances? Joseph Geretz Excel Discussion (Misc queries) 5 July 19th 13 03:18 PM
Difference in number of Excel NewsGroups Hari Prasadh Excel Discussion (Misc queries) 1 January 25th 05 11:32 AM
sharing/using/saving Excel 2002 files in Excel 2003 maze2009 Excel Discussion (Misc queries) 0 January 20th 05 07:27 PM
Excel 2002 and 2000 co-install. Control Which Starts ? cnuk Excel Discussion (Misc queries) 2 January 17th 05 08:07 PM


All times are GMT +1. The time now is 02:55 AM.

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

About Us

"It's about Microsoft Excel"