Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Harlan Grove
 
Posts: n/a
Default

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
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
How to Reverse Contents in an Excel cell (Text or a Number) CeeGee Excel Worksheet Functions 5 September 13th 07 06:22 PM
reverse a number Derek Excel Discussion (Misc queries) 6 July 19th 05 05:35 PM
Printing same table on reverse side of all pages. dziw Excel Discussion (Misc queries) 1 July 6th 05 06:26 PM
Reverse the sign of a number in a cell Peo Sjoblom Excel Worksheet Functions 0 May 17th 05 06:23 PM
How 2 reverse order of columns Bill Meacham Excel Discussion (Misc queries) 3 February 20th 05 03:29 AM


All times are GMT +1. The time now is 06:20 AM.

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"