Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

List first value in an array containing and ignoring random blanks

$
0
0

Hi.  I am just learning about the use of functions so bear with me. I am trying to list the first value from an array (column) that contains blanks and concatenate a series of those values from up to 4 arrays (columns).  The formula works regardless of whether the first cell in the array is blank or not but if the second column does not contain a value in the first cell, the formula doesn't work.  I do not know VBA so I can only use functions.  Here's the formula I used as an example. I used CTRL+Shift+Enter.  I'd appreciate an explanation of why this doesn't work. And some help if there's a simple fix.

=IF($A$2="","","For Formulation 2 App1 = "&INDEX($C$2:$C$11,MATCH(FALSE,ISBLANK($C$2:$C$11),0)))&IF(ISBLANK($D$2:$D$11),"","; App 2= "&INDEX($D$2:$D$11,MATCH(FALSE,ISBLANK($D$2:$D$11),0)))&IF(ISBLANK($D$2:$D$11),"","; App 3= "&INDEX($D$2:$D$11,MATCH(FALSE,ISBLANK($D$2:$D$11),0)))

A2 = 195;  C3=197, C4=137, the rest are blank; D3=198, D5=156, the rest are blank.  Here's the result.

 For Formulation 2 App1 = 197

Thanks for your help,

Marty


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>