LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Using the OFFSET function within SUMXMY2

Thank you. I already did simplify it to some degree, but the reference to the
fixed cells serves a purpose.
The spreadsheet will continue to work when cells are inserted or removed
because Excel will update the references automatically, while if I just wrote
"2" I would have to change every cell manually.

"Shane Devenshire" wrote:

Hi,

I think you can simplify your formula down to this and it will work:

=SUMXMY2(OFFSET($G$2,$T$3-2,,Number_of_Periods),OFFSET($H$2,$T$3-2,,Number_of_Periods))

First the ROW($G$2) and ROW($H$2) are static, they always equal 2 so just
use 2. A few of the other arguments can be left out because you are using
the default.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"yk__" wrote:

Hi,

I have the following functions working perfectly well:
=SUMSQ(OFFSET($G$2,$T$3-ROW($G$2),0,Number_of_Periods,1))
I also have the following working well:
=SUMSQ(OFFSET($H$2,$T$3-ROW($H$2),0,Number_of_Periods,1))
But the following function returns the #NUM! error:
=SUMXMY2(OFFSET($G$2,$T$3-ROW($G$2),0,Number_of_Periods,1),OFFSET($H$2,$T$3-ROW($H$2),0,Number_of_Periods,1))
I tried other functions that operate on two dynamic range parameters and
they also don't work.
I tried in Excel 2003 and Excel 2007.
What am I doing wrong?

Thanks



 
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
Min function with an offset Jase Excel Discussion (Misc queries) 1 November 5th 08 03:22 PM
XL2002 - OFFSET function and LARGE function Trevor Williams Excel Worksheet Functions 3 March 3rd 08 01:40 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
offset function hidden_stairway About this forum 0 June 17th 05 09:12 PM
help with offset function Mexage Excel Worksheet Functions 0 May 24th 05 05:18 PM


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