A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Averaging multiple ranges through multiselect listbox



 
 
Thread Tools Display Modes
  #1  
Old June 14th, 2004, 11:17 PM
ZX210
external usenet poster
 
Posts: n/a
Default Averaging multiple ranges through multiselect listbox

I have a spreadsheet with a variable number of data columns. The name
of the column imported into the spreadsheet is located at the top of
the column data. A list box was then created that imported the column
title as the name in the list box. How do I associate the column
titles in a multiselect list box with the data in their columns?

Title 1 Title 2 Title 3 AVG
2 3 2
5 4 3

I want to be able to have a list box containing title 1, 2 and 3. I
then want to be able to select multiple ranges by multiselecting Titles
in the listbox such as Title 1 and 3. The averages should contain the
average of the values in the same row for each column selected. Please
advise. Further, some examples containing manipulation of multiselect
listbox arrays would be appreciated so that maybe I could derive the
code myself. Thanks for any assistance.

Mike Proia




---
Message posted from
http://www.ExcelForum.com/

  #2  
Old June 14th, 2004, 11:36 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default Averaging multiple ranges through multiselect listbox

Hi
not comletly sure but have a look if the combination of 'Data - Filter'
and the function SUBTOTAL does what you want

--
Regards
Frank Kabel
Frankfurt, Germany


I have a spreadsheet with a variable number of data columns. The

name
of the column imported into the spreadsheet is located at the top of
the column data. A list box was then created that imported the

column
title as the name in the list box. How do I associate the column
titles in a multiselect list box with the data in their columns?

Title 1 Title 2 Title 3 AVG
2 3 2
5 4 3

I want to be able to have a list box containing title 1, 2 and 3. I
then want to be able to select multiple ranges by multiselecting
Titles in the listbox such as Title 1 and 3. The averages should
contain the average of the values in the same row for each column
selected. Please advise. Further, some examples containing
manipulation of multiselect listbox arrays would be appreciated so
that maybe I could derive the code myself. Thanks for any

assistance.

Mike Proia




---
Message posted from
http://www.ExcelForum.com/


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:52 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.