Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 66
Default to CONCATENATE from the smallest date with at least 2 criteria

Dear Ashish,

thank you for your excellent External Excel Function, which is workable 100%.

but i have another issued, when the cells contains TEXT cells, the result is
little bit strange (without a comma).

here is the result:
CLOSEDCLOSED, it should be CLOSED, CLOSED
CLOSEDCANCEL, it should be CLOSED, CANCEL

please help and TIA.

respectfully,
andri

"Ashish Mathur" wrote:

Hi,

Download and install the following addin -
http://www.download.com/Morefunc/300...-10423159.html and then use the
following array formula

=SUBSTITUTE(TRIM(MCONCAT(IF((($B$2:$B$11=B15)*($C$ 2:$C$11=C15)),TEXT(A2:A11,"dd/mm/yyyy"),"
")))," ",", ")

B15 has A and C15 has N

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Andri" wrote in message
...
Dear All,

Here is the sample database.

Date Salesman Region
16-Aug-08 A N
16-Aug-09 B E
16-June-07 C S
15-Aug-07 A S
15-Apr-07 B E
4-Sep-07 D N
4-May-07 E N
6-Sep-07 A N
3-Oct-07 B W
24-Sep-07 E E

i would like to concatenate for Salesman B and Region E(east) in A1, so
the
result will be "15-Apr-07,16-Aug-09"... which formula can solve it?

tried SMALL + sumproduct(but...this sum all the date in that arrays).

thank you for your kind attention and help.

respectfully,
andri


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
Concatenate With Criteria Tracey Excel Worksheet Functions 5 March 17th 09 10:07 AM
Returning the smallest value above a certain criteria Andrea K Excel Worksheet Functions 4 September 28th 08 06:48 PM
Return a smallest date Freshman Excel Worksheet Functions 8 December 12th 07 01:45 PM
formula to look up and return smallest date from a range of dates BJ Excel Worksheet Functions 5 December 7th 05 10:35 PM
I know how to concatenate ,can one de-concatenate to split date? QUICK BOOKS PROBLEM- New Users to Excel 1 July 26th 05 05:07 PM


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