#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Array Question

I would like assistance with a formula to accomplish the following:
From a row of data I would like to generate a second row that contains 20
nonzero cells from the original row of data beginning with the cell working
from right to left. Note: I will be adding data to the original row and would
like the formula to regenerate a new row considering the new data and
dropping off data that is more than 20 nonzero cells to the right of the last
entry.




  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Array Question

Do you want the order retained or reversed??

That is, most recent first or most recent last?
--
Gary''s Student - gsnu200827


"Larry L" wrote:

I would like assistance with a formula to accomplish the following:
From a row of data I would like to generate a second row that contains 20
nonzero cells from the original row of data beginning with the cell working
from right to left. Note: I will be adding data to the original row and would
like the formula to regenerate a new row considering the new data and
dropping off data that is more than 20 nonzero cells to the right of the last
entry.




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Array Question

I want the most recent retained -- so the formula needs to consider data from
right to left in the row.

"Gary''s Student" wrote:

Do you want the order retained or reversed??

That is, most recent first or most recent last?
--
Gary''s Student - gsnu200827


"Larry L" wrote:

I would like assistance with a formula to accomplish the following:
From a row of data I would like to generate a second row that contains 20
nonzero cells from the original row of data beginning with the cell working
from right to left. Note: I will be adding data to the original row and would
like the formula to regenerate a new row considering the new data and
dropping off data that is more than 20 nonzero cells to the right of the last
entry.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Array Question

The most recent will be last in the new row.

"Larry L" wrote:

I want the most recent retained -- so the formula needs to consider data from
right to left in the row.

"Gary''s Student" wrote:

Do you want the order retained or reversed??

That is, most recent first or most recent last?
--
Gary''s Student - gsnu200827


"Larry L" wrote:

I would like assistance with a formula to accomplish the following:
From a row of data I would like to generate a second row that contains 20
nonzero cells from the original row of data beginning with the cell working
from right to left. Note: I will be adding data to the original row and would
like the formula to regenerate a new row considering the new data and
dropping off data that is more than 20 nonzero cells to the right of the last
entry.




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Array Question

What Gary meant was this:

Assume this is your data:

1 2 3 4 5

Do you want the result to appear as:

1 2 3 4 5

Or:

5 4 3 2 1

--
Biff
Microsoft Excel MVP


"Larry L" wrote in message
...
The most recent will be last in the new row.

"Larry L" wrote:

I want the most recent retained -- so the formula needs to consider data
from
right to left in the row.

"Gary''s Student" wrote:

Do you want the order retained or reversed??

That is, most recent first or most recent last?
--
Gary''s Student - gsnu200827


"Larry L" wrote:

I would like assistance with a formula to accomplish the following:
From a row of data I would like to generate a second row that
contains 20
nonzero cells from the original row of data beginning with the cell
working
from right to left. Note: I will be adding data to the original row
and would
like the formula to regenerate a new row considering the new data and
dropping off data that is more than 20 nonzero cells to the right of
the last
entry.








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Array Question

Assuming the original row has 20 cells with data
I would like the new data to be 1,2,...19,20

When an additional cell is added to the original row I want the new data to
be 2,3,....20,21

Ocassionally the original row may have a cell that does not have data, in
that case
I want the new row to look at additional cells so that it will always have
all the non blank cells up to 20,

"T. Valko" wrote:

What Gary meant was this:

Assume this is your data:

1 2 3 4 5

Do you want the result to appear as:

1 2 3 4 5

Or:

5 4 3 2 1

--
Biff
Microsoft Excel MVP


"Larry L" wrote in message
...
The most recent will be last in the new row.

"Larry L" wrote:

I want the most recent retained -- so the formula needs to consider data
from
right to left in the row.

"Gary''s Student" wrote:

Do you want the order retained or reversed??

That is, most recent first or most recent last?
--
Gary''s Student - gsnu200827


"Larry L" wrote:

I would like assistance with a formula to accomplish the following:
From a row of data I would like to generate a second row that
contains 20
nonzero cells from the original row of data beginning with the cell
working
from right to left. Note: I will be adding data to the original row
and would
like the formula to regenerate a new row considering the new data and
dropping off data that is more than 20 nonzero cells to the right of
the last
entry.







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
array question Len Case Excel Worksheet Functions 3 December 17th 07 09:48 PM
Countif - Array Question Mike Excel Worksheet Functions 3 December 10th 07 08:03 PM
another array question Robert Dieckmann Excel Worksheet Functions 5 January 20th 07 02:08 AM
Array Question keeblerjp Excel Discussion (Misc queries) 4 June 20th 06 04:21 PM
Array Question Renee Excel Worksheet Functions 0 June 29th 05 07:10 PM


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