Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
peter dmz wrote...
Thank again -- I was just realizing that problem myself. I came up with this alternative, which seems to work =SUMPRODUCT($H1:L1,N(OFFSET($H2:L2,0,COLUMN(L2)-COLUMN($H2:L2)))) .... That works. I tend to use named ranges, so I don't split apart my range references, but splitting does make for shorter formulas. Still puzzled by the N function!?! .... OFFSET only returns Range references. OFFSET called with array 1st, 2nd or 3rd arguments returns something what seems to be an array of range references. Excel can't deal with such beasts when used as arithmetic operands or arguments to most functions. Fortunately, N() is one of the exceptions, and it effectively converts arrays of range references to arrays of numbers (note: it converts entries that aren't numeric into numeric zero). The T() function does the same for strings. CELL("Contents",.) isn't reliable. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to Reverse Contents in an Excel cell (Text or a Number) | Excel Worksheet Functions | |||
reverse a number | Excel Discussion (Misc queries) | |||
Printing same table on reverse side of all pages. | Excel Discussion (Misc queries) | |||
Reverse the sign of a number in a cell | Excel Worksheet Functions | |||
How 2 reverse order of columns | Excel Discussion (Misc queries) |