Manipulating matrices of unknwon (a priori) size

E

Euh

Hello,

In one of my worksheet, a user has to input columns of data.
The categories (columns) are fixed, but the number of data (lines) may
vary,

I eventually need to invert and multiply matrices, but the size of
these matrices will depend on
the number of data (lines),

I know how to do it manually by selecting the cells.
I know I could probably do it all using VBA

But is there a quick way to implement it automatically purely in a
worksheet ?
 
P

Pete

Hello,

In one of my worksheet, a user has to input columns of data.
The categories (columns) are fixed, but the number of data (lines) may
vary,

I eventually need to invert and multiply matrices, but the size of
these matrices will depend on
the number of data (lines),

I know how to do it manually by selecting the cells.
I know I could probably do it all using VBA

But is there a quick way to implement it automatically purely in a
worksheet ?
Euh:
You could use the =COUNTA function to determine the number of nonblank
cells(in your case, number of data lines) in your range, and use this
figure as your multiplier.
Hope it helps.
Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top