Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() "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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() "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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Name of named formula used in an INDIRECT function | Excel Worksheet Functions | |||
inserting a named range into new cells based on a named cell | Excel Discussion (Misc queries) | |||
Defined Named cells lined to a Function Procedure | Excel Worksheet Functions | |||
dynamic named range function | Excel Worksheet Functions | |||
how do you use named cells in the countif function | Excel Worksheet Functions |