Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Create a List Output from a Horizontal Array Input

I'm trying to create a dynamic list that changes daily and is derived from an
Array Formula. Is there an array formula that can provide me the list below
with the input data given? The Array Input list stays the Same with the Qty
of items listed, it's the output that will change when and if the second row
of numbers changes in any way.


Input Array:

Tom1 Dick1 Harry1 Tom2 Dick2 Harry2 Tom3 Dick3 Harry3
0 3 0 8 0 0 0 0 1



Output List:
Dick1 - 3
Tom2 - 8
Harry3 - 1



I hope I provided enough info.

Thanks in Advance,
Rob
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Create a List Output from a Horizontal Array Input

Try this...

Names in the range A1:I1
Numbers in the range A2:I2

Assuming the names are unique

Enter this formula in A5. This will return the count of numbers 0.

=COUNTIF(A2:I2,"0")

Enter this array formula** in A6 and copy down to a number of cells that is
equal to the total number of names in A1:I1.

=IF(ROWS(A$6:A6)$A$5,"",INDEX(A$1:I$1,SMALL(IF(A$ 2:I$20,COLUMN(A$1:I$1)),ROWS(A$6:A6))-COLUMN($A1)+1))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

Enter this formula in B6 and copy down the same number of cells as the
formula in A6.

=IF(A6="","",SUMIF(A$1:I$1,A6,A$2:I$2))

--
Biff
Microsoft Excel MVP


"Rob" wrote in message
...
I'm trying to create a dynamic list that changes daily and is derived from
an
Array Formula. Is there an array formula that can provide me the list
below
with the input data given? The Array Input list stays the Same with the
Qty
of items listed, it's the output that will change when and if the second
row
of numbers changes in any way.


Input Array:

Tom1 Dick1 Harry1 Tom2 Dick2 Harry2 Tom3 Dick3 Harry3
0 3 0 8 0 0 0 0 1



Output List:
Dick1 - 3
Tom2 - 8
Harry3 - 1



I hope I provided enough info.

Thanks in Advance,
Rob



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Create a List Output from a Horizontal Array Input

Sorry for not seeing your reply yesterday.... I became too busy fast.

Thanks for the reply! I'll see if this is good and let you know.

Thanks Again!Rob



"T. Valko" wrote:

Try this...

Names in the range A1:I1
Numbers in the range A2:I2

Assuming the names are unique

Enter this formula in A5. This will return the count of numbers 0.

=COUNTIF(A2:I2,"0")

Enter this array formula** in A6 and copy down to a number of cells that is
equal to the total number of names in A1:I1.

=IF(ROWS(A$6:A6)$A$5,"",INDEX(A$1:I$1,SMALL(IF(A$ 2:I$20,COLUMN(A$1:I$1)),ROWS(A$6:A6))-COLUMN($A1)+1))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

Enter this formula in B6 and copy down the same number of cells as the
formula in A6.

=IF(A6="","",SUMIF(A$1:I$1,A6,A$2:I$2))

--
Biff
Microsoft Excel MVP


"Rob" wrote in message
...
I'm trying to create a dynamic list that changes daily and is derived from
an
Array Formula. Is there an array formula that can provide me the list
below
with the input data given? The Array Input list stays the Same with the
Qty
of items listed, it's the output that will change when and if the second
row
of numbers changes in any way.


Input Array:

Tom1 Dick1 Harry1 Tom2 Dick2 Harry2 Tom3 Dick3 Harry3
0 3 0 8 0 0 0 0 1



Output List:
Dick1 - 3
Tom2 - 8
Harry3 - 1



I hope I provided enough info.

Thanks in Advance,
Rob




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Create a List Output from a Horizontal Array Input

It Works Perfectly! Better than I could have ever expected! Thank You Sooo
Much!

Cheers,
Rob



"T. Valko" wrote:

Try this...

Names in the range A1:I1
Numbers in the range A2:I2

Assuming the names are unique

Enter this formula in A5. This will return the count of numbers 0.

=COUNTIF(A2:I2,"0")

Enter this array formula** in A6 and copy down to a number of cells that is
equal to the total number of names in A1:I1.

=IF(ROWS(A$6:A6)$A$5,"",INDEX(A$1:I$1,SMALL(IF(A$ 2:I$20,COLUMN(A$1:I$1)),ROWS(A$6:A6))-COLUMN($A1)+1))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

Enter this formula in B6 and copy down the same number of cells as the
formula in A6.

=IF(A6="","",SUMIF(A$1:I$1,A6,A$2:I$2))

--
Biff
Microsoft Excel MVP


"Rob" wrote in message
...
I'm trying to create a dynamic list that changes daily and is derived from
an
Array Formula. Is there an array formula that can provide me the list
below
with the input data given? The Array Input list stays the Same with the
Qty
of items listed, it's the output that will change when and if the second
row
of numbers changes in any way.


Input Array:

Tom1 Dick1 Harry1 Tom2 Dick2 Harry2 Tom3 Dick3 Harry3
0 3 0 8 0 0 0 0 1



Output List:
Dick1 - 3
Tom2 - 8
Harry3 - 1



I hope I provided enough info.

Thanks in Advance,
Rob




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Create a List Output from a Horizontal Array Input

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Rob" wrote in message
...
It Works Perfectly! Better than I could have ever expected! Thank You
Sooo
Much!

Cheers,
Rob



"T. Valko" wrote:

Try this...

Names in the range A1:I1
Numbers in the range A2:I2

Assuming the names are unique

Enter this formula in A5. This will return the count of numbers 0.

=COUNTIF(A2:I2,"0")

Enter this array formula** in A6 and copy down to a number of cells that
is
equal to the total number of names in A1:I1.

=IF(ROWS(A$6:A6)$A$5,"",INDEX(A$1:I$1,SMALL(IF(A$ 2:I$20,COLUMN(A$1:I$1)),ROWS(A$6:A6))-COLUMN($A1)+1))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the
SHIFT
key then hit ENTER.

Enter this formula in B6 and copy down the same number of cells as the
formula in A6.

=IF(A6="","",SUMIF(A$1:I$1,A6,A$2:I$2))

--
Biff
Microsoft Excel MVP


"Rob" wrote in message
...
I'm trying to create a dynamic list that changes daily and is derived
from
an
Array Formula. Is there an array formula that can provide me the list
below
with the input data given? The Array Input list stays the Same with
the
Qty
of items listed, it's the output that will change when and if the
second
row
of numbers changes in any way.


Input Array:

Tom1 Dick1 Harry1 Tom2 Dick2 Harry2 Tom3 Dick3 Harry3
0 3 0 8 0 0 0 0 1



Output List:
Dick1 - 3
Tom2 - 8
Harry3 - 1



I hope I provided enough info.

Thanks in Advance,
Rob








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
Create an ordered list from 2d array MarkBrazier Excel Worksheet Functions 6 August 3rd 09 04:22 PM
conditional formatting w/ color as input vs output tom Excel Worksheet Functions 3 December 13th 06 02:34 AM
Horizontal Input for Combobox krais Excel Discussion (Misc queries) 2 July 5th 06 07:37 PM
Multiple input and output results smoothie Excel Discussion (Misc queries) 0 June 12th 06 05:58 PM
format cell from data input to output form Brad Stevenson Excel Worksheet Functions 2 May 19th 05 06:04 PM


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