Home |
Search |
Today's Posts |
#15
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Excellent suggestion! Create a name referencing a single cell using column
absolute but row relative references. That works well and will get inserted by Insert/Name/Apply. This is one of those "Why didn't I think of that?" insights that help turn on the light bulb. In hindsight, I should have created the name to match the original cell reference in the initial formula and saved all my grief. Thanks very much to all who replied with such helpful insights. "Harlan Grove" wrote: Jim Russell wrote... I have a formula that includes the expression "min(L2,M2)". I want to be able to name columns L and M, and have those names used in the expression. The row number is relative, so the formulas below are "min(l3,M3)", etc. . . . How should I name the columns to be able to apply them, and what should the formula look like when it is done? .... If this isn't just a contrived, oversimplified example, so the two columns in question really would be adjacent, the simplest, MOST READABLE formula would be =MIN($L2:$M2) If you really, really have to use defined names, then in any cell in the row in which you want the formula to reference L2:M2 define a name like ColsLM referring to =$L2:$M2. Then use the formula =MIN(ColsLM) If you fill this formula down into the next row, in that row ColsLM would refer to L3:M3 since ColLM is defined as column absolute but row relative, so the row portion of the range reference changes as formulas using the defined name are filled or copied into different rows. If you want two separate defined names, then in any cell in the row in which uou want the formula to reference L2 and M2 define the names ColL referring to =$L2 and ColM referring to =$M2. Then use the formula =MIN(ColL,ColM) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Relative references | Excel Worksheet Functions | |||
Relative references | Excel Discussion (Misc queries) | |||
Relative references | Excel Discussion (Misc queries) | |||
How to rename references from range names to cell references | Excel Discussion (Misc queries) | |||
Selecting ALL names when using Insert/Names/Apply | Excel Worksheet Functions |