LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default Help save a life - offset, Index/Match or something else?

Hi Steve
Then combine it with Offset.
The starting point will be
=INDEX($A$1:$AK$4,ROW(A2),MATCH(LOOKUP(99^99,$A$1: $AK1),$A$1:$AK$1,0)-12)

And starting from there we want
=Sum(???,0,0,1,12)

so put them both together
=SUM(OFFSET(INDEX($A$1:$AK$4,ROW(A2),
MATCH(LOOKUP(99^99,$A$1:$AK1),$A$1:$AK$1,0)-11),0,0,1,12))

--
Regards

Roger Govier


"Steve" wrote in message
...
Thanks for the reply Roger. I have tried what you mentioned and it
works for
one value at a time. I think I understand how to use
offset/index/match to
return one value at a time.

What I really need is to be able to sum multiple values. So if I have
a row
of data called "Revenue" and I have data from Jan 06 thru Apr 07 - I
want to
sum Jan 07-Apr 07 in one column and compare to a sum of Jan 06-Apr 06
in
another column. Then when I enter data in the May 07 column on my
trend
sheet that the two columns on my YTD tab would shift to show Jan
06-May 06
summed in one column compared to Jan 07- May 07 summed in another.

Make sense? I know there has to be a better way...

"Roger Govier" wrote:

Hi Steve

Assuming you have all of the data entered on a sheet in A1:AK1000,
with
a header in row 1 which is the Date with a Custom format of "mmm-yy"
FormatCellsNumberCustom mmm-yy
This would cover a period from Jan-06 to Dec-08, but I am assuming
there
will be no month entered into this row until you also enter data for
the
column that month represents.

The formula
=INDEX($A$1:$AK$4,ROW(A2),MATCH(LOOKUP(99^99,$A$1: $AK1),$A$1:$AK$1,0))

will pick out row 2 values from that sheet for the latest month to
have
values.
As you copy down, it will pick up data from successive rows.

=INDEX($A$1:$AK$4,ROW(A2),MATCH(LOOKUP(99^99,$A$1: $AK1),$A$1:$AK$1,0)-1)
will give the values from the month before
=INDEX($A$1:$AK$4,ROW(A2),MATCH(LOOKUP(99^99,$A$1: $AK1),$A$1:$AK$1,0)-12)
will give the values for the month that is 12 months previous.
--
Regards

Roger Govier


"Steve" wrote in message
...
Anyone???

If someone could at least help me with how to do the YTD tab I
would
be so
far down the path.

I need it so that when I enter in the latest month that it sums the
YTD
columns. So if it was April data it would have summed Jan-Apr) but
now when
I enter in May that it would sum Jan-May.

Please help...








 
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
Help with Offset/Index/Match formula S Davis Excel Worksheet Functions 1 March 28th 07 05:44 PM
index match offset? denise Excel Worksheet Functions 10 July 4th 06 04:28 AM
Index - Offset - Match Issues Ray Wright Excel Worksheet Functions 4 October 3rd 05 06:14 AM
Index, Match, Offset? Not sure which to use Ms. P. Excel Worksheet Functions 4 July 29th 05 11:04 PM
lookup, index, match, offset, etc. [email protected] Excel Worksheet Functions 2 January 3rd 05 08:51 PM


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