LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Multidimensional Array problem I can't solve ! Please help me out !

Hello,

I have a 2 dimensional array with 3 colums, consisting of a product column,
a number column and a column for the amount of the product used.
Like this:

Calcium 123 50(g)
Potassium 245 10
Zinc 360 15
Calcium 123 25

What I want to do is loop through the array and make a new array, but with
all the Calcium with the same number (123) only mentioned ONCE and with the
amounts used added, like this.

Calcium 123 75
Potassium 245 10
Zinc 360 15

So I want to put in the new array:
* all unique products and
* the added amounts of all the products that appear more than once and have
the same number.

I'm quite a VBA newbie and already tried several times to find a solution,
but without any luck.
Any help would be great.

Thanks in advance,

David


 
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
unable to solve array formula syntax Green Fox Excel Worksheet Functions 2 September 6th 07 02:24 PM
Pls help me to solve this problem... Bradley Excel Worksheet Functions 13 July 21st 07 02:40 AM
Can I use an array function to solve my question??? Oshtruck user Excel Worksheet Functions 1 August 10th 06 06:20 PM
please solve the problem somaraju Excel Discussion (Misc queries) 1 February 23rd 06 11:17 AM
size of multidimensional dynamic array ThatFella[_2_] Excel Programming 4 September 3rd 03 11:53 PM


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