m_in_spain
Board Regular
- Joined
- Sep 28, 2018
- Messages
- 72
- Office Version
- 365
- Platform
- Windows
Hi again
Today's problem involves lists and ISBLANK when i am trying to remove the blank cells.
1) I have a list over 3 columns, BV, BW and BX the lists go from Row3 to Row300. I have named BV3:BX300 as tab. Some have formulae in that produce text, others have a formula that produces a blank cell. for example =IF(fuel_type=oxy,"deleteAirHybrid","")
So if the fuel type is not oxy, the cell is blank... except it isnt!
Next i am trying to make one list of all the cells in tab that have visible data in. I do not want the ones that have a formula to make them blank.
The formula i have got to in cell BY2 is:
{=INDEX(tbl, SMALL(IF(SMALL(IF(COUNTIF($BZ2:BZ$2, tbl)+ISBLANK(tbl)=0, COUNTIF(tbl, "<"&tbl)+1, ""), 1)=IF(ISBLANK(tbl), "", COUNTIF(tbl, "<"&tbl)+1), ROW(tbl)-MIN(ROW(tbl))+1), 1), MATCH(MIN(IF(COUNTIF($BZ2:BZ$2, tbl)+ISBLANK(tbl)>0, "", COUNTIF(tbl, "<"&tbl)+1)), INDEX(IF(ISBLANK(tbl), "", COUNTIF(tbl, "<"&tbl)+1), SMALL(IF(SMALL(IF(COUNTIF($BZ2:BZ$2, tbl)+ISBLANK(tbl)=0, COUNTIF(tbl, "<"&tbl)+1, ""), 1)=IF(ISBLANK(tbl), "", COUNTIF(tbl, "<"&tbl)+1), ROW(tbl)-MIN(ROW(tbl))+1), 1), , 1), 0), 1)}
which i drag down to fill lower cells in column BY
this works fine when there is a visible string in tab and also when a cell is actually blank. However when there is a formula which makes a cell "appear" blank, in my new list in BY i receive the error #NUM ! in the list
So far I only have 6 "apparently" blank cells, and i get 6 of these errors under the remainder of the new list.
Sorry it is long winded, as ever, any help will be appreciated.
Thanks
Today's problem involves lists and ISBLANK when i am trying to remove the blank cells.
1) I have a list over 3 columns, BV, BW and BX the lists go from Row3 to Row300. I have named BV3:BX300 as tab. Some have formulae in that produce text, others have a formula that produces a blank cell. for example =IF(fuel_type=oxy,"deleteAirHybrid","")
So if the fuel type is not oxy, the cell is blank... except it isnt!
Next i am trying to make one list of all the cells in tab that have visible data in. I do not want the ones that have a formula to make them blank.
The formula i have got to in cell BY2 is:
{=INDEX(tbl, SMALL(IF(SMALL(IF(COUNTIF($BZ2:BZ$2, tbl)+ISBLANK(tbl)=0, COUNTIF(tbl, "<"&tbl)+1, ""), 1)=IF(ISBLANK(tbl), "", COUNTIF(tbl, "<"&tbl)+1), ROW(tbl)-MIN(ROW(tbl))+1), 1), MATCH(MIN(IF(COUNTIF($BZ2:BZ$2, tbl)+ISBLANK(tbl)>0, "", COUNTIF(tbl, "<"&tbl)+1)), INDEX(IF(ISBLANK(tbl), "", COUNTIF(tbl, "<"&tbl)+1), SMALL(IF(SMALL(IF(COUNTIF($BZ2:BZ$2, tbl)+ISBLANK(tbl)=0, COUNTIF(tbl, "<"&tbl)+1, ""), 1)=IF(ISBLANK(tbl), "", COUNTIF(tbl, "<"&tbl)+1), ROW(tbl)-MIN(ROW(tbl))+1), 1), , 1), 0), 1)}
which i drag down to fill lower cells in column BY
this works fine when there is a visible string in tab and also when a cell is actually blank. However when there is a formula which makes a cell "appear" blank, in my new list in BY i receive the error #NUM ! in the list
So far I only have 6 "apparently" blank cells, and i get 6 of these errors under the remainder of the new list.
Sorry it is long winded, as ever, any help will be appreciated.
Thanks