View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
NBVC[_140_] NBVC[_140_] is offline
external usenet poster
 
Posts: 1
Default if then statement to return text from cells satisfying condition


Download the free Morefunc.xll addin from he
http://download.cnet.com/Morefunc/30...-10423159.html

and use this formula:

=SUBSTITUTE(TRIM(MCONCAT(IF(ISTEXT(A1:G1),A1:G1,"" )," "))," ",",")

which must be confirmed with CTRL+SHIFT+ENTER not just ENTER... after
you have adjusted the ranges to suit.


--
NBVC

Where there is a will there are many ways.

'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=123925