Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
GG GG is offline
external usenet poster
 
Posts: 22
Default Max function for row with named cells

I would like to ge the max number from two cells in a given row. Max(A5,A6)
works fine. But if the cells have defined names,(create name, top row) and
i use Max(XMeasA,XmeasB) for example, I get the maximum for both columns
rather than just for the row. Is there some other function available or do I
have to use cell addresses (a pain in this case). Thanks in advance for any
help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Max function for row with named cells

Yes, I came across this a few years ago and found it annoying. If you
use the name of a range, then the whole range will be taken as one of
the parameters, so to avoid that you have to use cell references.

Hope this helps.

Pete

On Aug 27, 11:05*pm, gg wrote:
I would like to ge the max number from two cells in a given row. *Max(A5,A6)
works fine. *But if the cells have defined names,(create name, top row) *and
i use Max(XMeasA,XmeasB) for example, I get the maximum for both columns
rather than just for the row. *Is there some other function available or do I
have to use cell addresses (a pain in this case). *Thanks in advance for any
help.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default Max function for row with named cells


"gg" wrote in message ...
I would like to ge the max number from two cells in a given row. Max(A5,A6)
works fine. But if the cells have defined names,(create name, top row) and
i use Max(XMeasA,XmeasB) for example, I get the maximum for both columns
rather than just for the row. Is there some other function available or do I
have to use cell addresses (a pain in this case). Thanks in advance for any
help.


GG, you could try if this is practical:
Suppose you want the max of the 2. row
=MAX(XMeasA 2:2,XMeasB 2:2)
There is a space between the ranges, which is an intersection operator.
Pull the formula down.
Hans T.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
GG GG is offline
external usenet poster
 
Posts: 22
Default Max function for row with named cells



"Hans Terkelsen" wrote:


"gg" wrote in message ...
I would like to ge the max number from two cells in a given row. Max(A5,A6)
works fine. But if the cells have defined names,(create name, top row) and
i use Max(XMeasA,XmeasB) for example, I get the maximum for both columns
rather than just for the row. Is there some other function available or do I
have to use cell addresses (a pain in this case). Thanks in advance for any
help.


GG, you could try if this is practical:
Suppose you want the max of the 2. row
=MAX(XMeasA 2:2,XMeasB 2:2)
There is a space between the ranges, which is an intersection operator.
Pull the formula down.
Hans T.


Thanks much-works beautifully. GG


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
Name of named formula used in an INDIRECT function Werner Rohrmoser Excel Worksheet Functions 4 August 21st 08 11:19 AM
inserting a named range into new cells based on a named cell Peter S. Excel Discussion (Misc queries) 1 June 4th 06 03:53 AM
Defined Named cells lined to a Function Procedure swiftcode Excel Worksheet Functions 4 October 11th 05 08:30 AM
dynamic named range function MJB Excel Worksheet Functions 1 August 5th 05 05:56 AM
how do you use named cells in the countif function boofybrunt Excel Worksheet Functions 5 April 13th 05 09:31 AM


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