Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Werner Rohrmoser
 
Posts: n/a
Default create an array with unique items IN MEMORY

Hello,

in the usegroup there are many postings describing how to get
an array of unique items listed on a spreadsheet.

I have the following formula:
{=SUM(--(SUMIF(Months,{"Jan","Feb","Mar"},Values)0))}

I'd like to replace the array constant "{"Jan","Feb","Mar"}"
by an formula which creates an array of unique items from
a range which I've called "Months".

Regards
Werner

  #2   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

1. If you have the latest version of Longre's free morefunc.xll add-in...

=COUNTDIFF(IF(Values0,Months,0),FALSE,0)

which must be confirmed with control+shift+enter.

2. Otherwise...

=SUM(IF(FREQUENCY(IF((Values0)*(Months<""),MATCH (Months,Months,0)),ROW(Months))0,1))

which also needs to be confirmed with control+shift+enter.

Werner Rohrmoser wrote:
Hello,

in the usegroup there are many postings describing how to get
an array of unique items listed on a spreadsheet.

I have the following formula:
{=SUM(--(SUMIF(Months,{"Jan","Feb","Mar"},Values)0))}

I'd like to replace the array constant "{"Jan","Feb","Mar"}"
by an formula which creates an array of unique items from
a range which I've called "Months".

Regards
Werner

Reply
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
Create a Chart with Values from Array AND NOT from Ranges syrhus Charts and Charting in Excel 5 March 19th 05 02:37 AM
How to validate data entries to be unique within an array Dwight at Boeing Excel Worksheet Functions 1 February 15th 05 06:30 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
VBA Import of text file & Array parsing of that data Dennis Excel Discussion (Misc queries) 4 November 28th 04 10:20 PM


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