Return a list of text values without blank cells from a column

MDSad

New Member
Joined
Nov 17, 2016
Messages
2
[FONT=&quot]I have 6 columns:[/FONT]
[FONT=&quot]A=code,[/FONT]
[FONT=&quot]B=color (drop down list),[/FONT]
[FONT=&quot]C=checked(1) - only "+",[/FONT]
[FONT=&quot]D=checked(2) - only "+", [/FONT]
[FONT=&quot]E=A and B,[/FONT]
[FONT=&quot]F=show E, which checked(1) only.[/FONT]
[FONT=&quot]It looks like this:[/FONT]
[FONT=&quot] A B C D E F[/FONT]
[FONT=&quot]123 black + + 123 black [/FONT]
[FONT=&quot]456 yellow + 456 yellow 456 yellow[/FONT]
[FONT=&quot]123 green + + 123 green[/FONT]
[FONT=&quot]789 green + + 789 green[/FONT]
[FONT=&quot]789 yellow + 789 yellow 789 yellow [/FONT]
[FONT=&quot]Formula for E is =CONCATENATE(A2;" ";B2)[/FONT]
[FONT=&quot]Formula for F is =IF(AND(C2="+";NOT(D2="+"));E2;"")[/FONT]
[FONT=&quot]I need column G, in this column will be all F values without blank cells. [/FONT]
[FONT=&quot]It must be look like this:[/FONT]
[FONT=&quot] A B C D E F G[/FONT]
[FONT=&quot]123 black + + 123 black 456 yellow[/FONT]
[FONT=&quot]456 yellow + 456 yellow 456 yellow 789 yellow[/FONT]
[FONT=&quot]123 green + + 123 green[/FONT]
[FONT=&quot]789 green + + 789 green[/FONT]
[FONT=&quot]789 yellow + 789 yellow 789 yellow [/FONT]
[FONT=&quot]I tried this formula: [/FONT]
[FONT=&quot]=IFERROR(SMALL(IF(ISBLANK($F$1:$F$1000);"";$F$1:$F$1000);ROW(A1));"")[/FONT]
[FONT=&quot]but it is not working. I think that's because blank cells in F is not actually blank, but I don't know what to do.[/FONT]
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
In J1 control+shift+enter, not just enter, and copy down:

=IFERROR(INDEX($F$1:$F$1000,SMALL(IF(1-($F$1:$F$1000=""),ROW($F$1:$F$1000)-ROW($F$1)+1),ROWS($J$1:J1))),"")
 
Upvote 0

Forum statistics

Threads
1,223,275
Messages
6,171,123
Members
452,381
Latest member
Nova88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top