Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Formula for rightmost set of values

Hello,
I am setting up a spreadsheet to return the last 6 values of a running data
set.

I can get the rightmost value with the lookup function, but if I want to
constantly return only the last six values to trend on a chart, how can I
accomplish that?

Thanks for the help,
bruce
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Formula for rightmost set of values

Hi,

To return the last 6 values put this in a cell and array enter with
CTRL+Shift+Enter and then drag 5 columns to the right. You can then chart the
5 extracted numbers.

=OFFSET(INDEX(2:2,,COUNT($2:$2)),,ROW(A1)-COLUMN(A1),1,100)

Mike

"brumanchu" wrote:

Hello,
I am setting up a spreadsheet to return the last 6 values of a running data
set.

I can get the rightmost value with the lookup function, but if I want to
constantly return only the last six values to trend on a chart, how can I
accomplish that?

Thanks for the help,
bruce

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Formula for rightmost set of values

How can I accomplish that?

Give us more information. What does your lookup function look like? Where
are the 6 values that you want returned?

Regards,
Fred

"brumanchu" wrote in message
...
Hello,
I am setting up a spreadsheet to return the last 6 values of a running
data
set.

I can get the rightmost value with the lookup function, but if I want to
constantly return only the last six values to trend on a chart, how can I
accomplish that?

Thanks for the help,
bruce


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Formula for rightmost set of values

The worksheet is set up as follows:
column e, row 1 = date (input)
column e, row 2 = # people used (input)
column e, row 3 = # hours worked
column e, row 4 = total hours (row 3 * row 2)

Columns f through CY will be populated as data is inputted on an ongoing
basis.
I want to trend only the last 6 reported values for total hours on a chart.

The lookup function is =LOOKUP(1E+100,E4:CY4)

Hope this helps,
Bruce



"Fred Smith" wrote:

How can I accomplish that?


Give us more information. What does your lookup function look like? Where
are the 6 values that you want returned?

Regards,
Fred

"brumanchu" wrote in message
...
Hello,
I am setting up a spreadsheet to return the last 6 values of a running
data
set.

I can get the rightmost value with the lookup function, but if I want to
constantly return only the last six values to trend on a chart, how can I
accomplish that?

Thanks for the help,
bruce



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
Challenge: Return the rightmost 12 values (rolling 12 months) mr tom Excel Worksheet Functions 2 January 15th 08 01:15 PM
Rightmost Column BillCPA Excel Discussion (Misc queries) 5 November 14th 07 07:08 PM
how to delete the 4 rightmost digits from a cell charlene Excel Worksheet Functions 4 June 29th 06 03:11 PM
Formula ? Return value from rightmost non-blank cell in a row of tgdavis Excel Worksheet Functions 8 April 27th 06 01:00 PM
finding rightmost location of a character KingGeezer Excel Worksheet Functions 9 January 24th 06 05:21 PM


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