I'm trying to perform the simple task of removing the blank cells from two columns. I did some research & found this formula online:
Formula:
=IFERROR(INDEX(BlanksRange,SMALL((IF(LEN(BlanksRange),ROW(INDIRECT("1:"&ROWS(BlanksRange))))),ROW(A1)),1),"")
and then adapted it to my purposes:
Formula:
=IFERROR(INDEX($B$2:$B$1000,SMALL((IF(LEN($B$2:$B$1000),ROW(INDIRECT("1:"&ROWS($B$2:$B$1000))))),ROW(E2)),1),"")
That works perfectly, but when I try to do the same for the column right next to the first column, it doesn't work. Here's the formula I used for that column:
Formula:
=IFERROR(INDEX($C$2:$C$1000,SMALL((IF(LEN($C$2:$C$1000),ROW(INDIRECT("1:"&ROWS($C$2:$C$1000))))),ROW(F2)),1),"")
Maybe I'm not understanding the syntax of the formula like I should and adapting the formula incorrectly?
Any insight would be greatly appreciated.
Bookmarks