Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
carl
 
Posts: n/a
Default MCONCAT only Visible Cells

I use MCONCAT (Laurent Longre's MOREFUNC.XLL). I often need to filter my
spreadsheet and work with only a portion of the data. I was hoping there was
a way to use the MCONCAT to concatenate only the "visible cells".

My spreadsheet looks like this:

ColA ColB
AB 123
CD 456
EF 123

If I filter ColB down to 123, I would like the MCONCAT to concatenate ColA
Values AB and EF.

Thank you for thinking about this.

Best Regards.
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi Carl

not sure that this is the total solution to your problem, but on my website
(www.hcts.net.au/tipsandtricks.htm) i have a concat_if function, which
concatenates a range based on values in another range ... so you could use
this UDF to do
=CONCAT_IF(B1:B3,123,A1:A3,",")
to end up with
AB,EF

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"carl" wrote in message
...
I use MCONCAT (Laurent Longre's MOREFUNC.XLL). I often need to filter my
spreadsheet and work with only a portion of the data. I was hoping there
was
a way to use the MCONCAT to concatenate only the "visible cells".

My spreadsheet looks like this:

ColA ColB
AB 123
CD 456
EF 123

If I filter ColB down to 123, I would like the MCONCAT to concatenate ColA
Values AB and EF.

Thank you for thinking about this.

Best Regards.



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

=SUBSTITUTE(MCONCAT(IF(SUBTOTAL(3,OFFSET(A3:A10,RO W(A3:A10)-MIN(ROW(A3:A10)),,1)),","&A3:A10,"")),",","",1)

which you need to confirm with control+shift+enter instead of just with
enter.

carl wrote:
I use MCONCAT (Laurent Longre's MOREFUNC.XLL). I often need to filter my
spreadsheet and work with only a portion of the data. I was hoping there was
a way to use the MCONCAT to concatenate only the "visible cells".

My spreadsheet looks like this:

ColA ColB
AB 123
CD 456
EF 123

If I filter ColB down to 123, I would like the MCONCAT to concatenate ColA
Values AB and EF.

Thank you for thinking about this.

Best Regards.

  #4   Report Post  
carl
 
Posts: n/a
Default

Thank you. This is a very useful UDF. Is it possbile to add a second (third)
criteria. For example:

ColA ColB ColC
AB 123 1
CD 456 2
EF 123 4
GF 123 1


concatenate only if colb=123 and colc=1

thank you again for your help.


"JulieD" wrote:

Hi Carl

not sure that this is the total solution to your problem, but on my website
(www.hcts.net.au/tipsandtricks.htm) i have a concat_if function, which
concatenates a range based on values in another range ... so you could use
this UDF to do
=CONCAT_IF(B1:B3,123,A1:A3,",")
to end up with
AB,EF

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"carl" wrote in message
...
I use MCONCAT (Laurent Longre's MOREFUNC.XLL). I often need to filter my
spreadsheet and work with only a portion of the data. I was hoping there
was
a way to use the MCONCAT to concatenate only the "visible cells".

My spreadsheet looks like this:

ColA ColB
AB 123
CD 456
EF 123

If I filter ColB down to 123, I would like the MCONCAT to concatenate ColA
Values AB and EF.

Thank you for thinking about this.

Best Regards.




  #5   Report Post  
JulieD
 
Posts: n/a
Default

mmm will have to think about it .. check my website in a month or two -you
never know
--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"carl" wrote in message
...
Thank you. This is a very useful UDF. Is it possbile to add a second
(third)
criteria. For example:

ColA ColB ColC
AB 123 1
CD 456 2
EF 123 4
GF 123 1


concatenate only if colb=123 and colc=1

thank you again for your help.


"JulieD" wrote:

Hi Carl

not sure that this is the total solution to your problem, but on my
website
(www.hcts.net.au/tipsandtricks.htm) i have a concat_if function, which
concatenates a range based on values in another range ... so you could
use
this UDF to do
=CONCAT_IF(B1:B3,123,A1:A3,",")
to end up with
AB,EF

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"carl" wrote in message
...
I use MCONCAT (Laurent Longre's MOREFUNC.XLL). I often need to filter my
spreadsheet and work with only a portion of the data. I was hoping
there
was
a way to use the MCONCAT to concatenate only the "visible cells".

My spreadsheet looks like this:

ColA ColB
AB 123
CD 456
EF 123

If I filter ColB down to 123, I would like the MCONCAT to concatenate
ColA
Values AB and EF.

Thank you for thinking about this.

Best Regards.






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
AutoFill Visible Cells with Months Elaine New Users to Excel 3 March 16th 05 10:13 PM
Select Visible Cells Only Apparently Excel Discussion (Misc queries) 2 January 29th 05 12:40 AM
Copy & Paste Visible Cells with Formulas Ricky Excel Worksheet Functions 5 January 27th 05 05:37 PM
SUMPRODUCT TO CALCULATE VISIBLE CELLS ONLY Lisa Excel Worksheet Functions 4 January 11th 05 12:58 PM
Strange Problem with Chart and Plot Visible Cells Option Marcus Leon Charts and Charting in Excel 1 January 7th 05 03:52 AM


All times are GMT +1. The time now is 08:44 PM.

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

About Us

"It's about Microsoft Excel"