LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default RENEWED-- Arrays: Counting multiple values within array

Thanks to T. Valko and JMB who answered my prior question on the same
subject but I'm afraid I left out a couple of significant details.

My renewed question. I'm using Excel 2003 and know how to use arrays--up to
a point.

I have several columnar ranges in a worksheet called "Data" containing Item,
Month, Country, and Sales for some 10K lines. All are named ranges.

On top of a second tab, I have two dropdown lists. One with the months
(pointing to cell A1) and the second with the countries (pointing to cell
A2) The object is to enable anyone to see the total sales for a specific tem
in any month and any county.

So, I have on my column A (starting at A5) a list of items such as

Gizmos
Widgets
Klunks
Whazzits

And right next to each an array

{=SUM((Item=$A5)*(Month=$A$1)*(Country=$A$2)*Sales )} and so on down the
list.

It works just fine if the dropdowns put the month (2 for February) and the
Country (US for USA) in the
respective cells.

But let's say I need the total for TWO countries, like Burundi and Timbuctu
listed under Countries as "BU" and "TI"
How do I tell the array to add up the sales in both when I put BUTI (or
anything else) in cell A2?????? Or anywhere else for that matter?

The trick here is to have the array give me the result for a specific item
for one country if I select that and the total for more than one if I select
the Total of two in the dropdown.

I've tried everything, like entering the array for each country in separate
lines and naming "BUTI" the total.

In essence, how do I tell an array to add up TWO (or more) entries in some
cases??

Any ideas?

TIA


 
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
Array: Counting multiple values within array Trilux_nogo Excel Worksheet Functions 4 April 16th 07 03:12 AM
Counting values in multiple columns Emily Excel Discussion (Misc queries) 2 May 14th 06 03:34 PM
Creating a single vertical array from multiple column arrays Bryan Excel Worksheet Functions 2 December 10th 05 07:12 PM
counting rows with same values for multiple values Jon Viehe New Users to Excel 4 September 1st 05 03:49 PM
Counting Multiple Values In A Cell DiamondDean Excel Worksheet Functions 1 August 20th 05 07:22 AM


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