PC Review


Reply
Thread Tools Rate Thread

Dynamic allocation of rows

 
 
bobsn
Guest
Posts: n/a
 
      19th Feb 2008
Hello all

I have a 2 columns and 45 rows of data that is a result set of
previous selections. and they are related one to one.

The data in this table changes dynamically based on the previous
selections. So on one selection it could have 6 rows and the rest 39
as N/A. On another selection it could have 25 rows and the rest 20
being N/A's.

I need to create another table exactly with these columns which have
the valid rows instead on NA's. So in the first case I should be able
to see 2 columns and 6 rows only and in the second the two columns and
25 rows only.

I feel based on the count of valid columns, there needs to be
allocation of rows dynamically. I am not aware of functions in excel
to do that..

Thanks for your suggestions and time.
 
Reply With Quote
 
 
 
 
paul.robinson@it-tallaght.ie
Guest
Posts: n/a
 
      19th Feb 2008
Hi
Look up Pivot Tables in help - that may be what you are looking for.
Very easy to set up and use and once you get used to them, you'll
never leave home without one.
regards
Paul

On Feb 19, 5:31*pm, bobsn <bhanusama...@gmail.com> wrote:
> Hello all
>
> I have a 2 columns and 45 rows of data that is a result set of
> previous selections. and they are related one to one.
>
> The data in this table changes dynamically based on the previous
> selections. So on one selection it could have 6 rows and the rest 39
> as N/A. On another selection it could have 25 rows and the rest 20
> being N/A's.
>
> I need to create another table exactly with these columns which have
> the valid rows instead on NA's. So in the first case I should be able
> to see 2 columns and 6 rows only and in the second the two columns and
> 25 rows only.
>
> I feel based on the count of valid columns, there needs to be
> allocation of rows dynamically. I am not aware of functions in excel
> to do that..
>
> *Thanks for your suggestions and time.


 
Reply With Quote
 
bobsn
Guest
Posts: n/a
 
      19th Feb 2008
No. Pivot table is not I am looking for...


Lets say I have

Product Value
A 2
B 3
C 12
D 4
E 78
#N/A #N/A
#N/A #N/A
#N/A #N/A

I would like to see in my next step..

Product Value
A 2
B 3
C 12
D 4
E 78

But the first table keeps changing depending on some criterion... It
may have 10 rows of which 2 have data and the rest is #N/A's... So my
child table ie, the second one here should have only 2 rows.

Product Value
A 2
B 3
#N/A #N/A
#N/A #N/A
#N/A #N/A
#N/A #N/A
#N/A #N/A
#N/A #N/A

In this case my child table should be

Product Value
A 2
B 3

Hope this is clear... Thanks.
 
Reply With Quote
 
JLGWhiz
Guest
Posts: n/a
 
      19th Feb 2008
Why not use autofilter for everything not equal to #N/A?
"bobsn" wrote:

> No. Pivot table is not I am looking for...
>
>
> Lets say I have
>
> Product Value
> A 2
> B 3
> C 12
> D 4
> E 78
> #N/A #N/A
> #N/A #N/A
> #N/A #N/A
>
> I would like to see in my next step..
>
> Product Value
> A 2
> B 3
> C 12
> D 4
> E 78
>
> But the first table keeps changing depending on some criterion... It
> may have 10 rows of which 2 have data and the rest is #N/A's... So my
> child table ie, the second one here should have only 2 rows.
>
> Product Value
> A 2
> B 3
> #N/A #N/A
> #N/A #N/A
> #N/A #N/A
> #N/A #N/A
> #N/A #N/A
> #N/A #N/A
>
> In this case my child table should be
>
> Product Value
> A 2
> B 3
>
> Hope this is clear... Thanks.
>

 
Reply With Quote
 
bobsn
Guest
Posts: n/a
 
      19th Feb 2008
I tried that already. The issue is there are more calculations on the
value column (in example) once I have achieved this. Also it is not an
issue of displaying the #N/A's. I am looking to extract information
from the first table with values and put them in the second table.

-Thanks
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic memory allocation Le Minh Microsoft C# .NET 5 5th Oct 2006 09:22 PM
Problem with dynamic allocation of IP address by DNS modi_puneet@hotmail.com Windows XP Networking 1 22nd Jul 2004 02:01 AM
Dynamic DNS allocation =?Utf-8?B?bmlnZWxi?= Microsoft Windows 2000 2 20th Feb 2004 08:48 PM
Please Help! Dynamic Allocation of array of structures RBCC Microsoft VB .NET 5 24th Jan 2004 10:47 PM
Dynamic Memory Allocation - RAM vs VM Frank Peacock Windows XP General 0 21st Oct 2003 04:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:12 PM.