ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Ignoring blanks from Column(s) (https://www.excelbanter.com/excel-worksheet-functions/121256-ignoring-blanks-column-s.html)

Michael

Ignoring blanks from Column(s)
 
Hello

I have a column which is 40 rows deep.
In the column E2:E41 which has text and "".
In a another column H I would like to just display the text on
sequential rows.

Example
E8 = Hotel
E15= Taxi
E23 = Restaurant
E40= Car

I would like in display in column H
H2= Hotel
H3= Taxi
H4= Restaurant
H4= Car

Using formula only no VBA

Thanks

Michael




CLR

Ignoring blanks from Column(s)
 
Maybe.........Data Filter Autofilter "non-blanks"

Vaya con Dios,
Chuck, CABGx3


"Michael" wrote in message
...
Hello

I have a column which is 40 rows deep.
In the column E2:E41 which has text and "".
In a another column H I would like to just display the text on
sequential rows.

Example
E8 = Hotel
E15= Taxi
E23 = Restaurant
E40= Car

I would like in display in column H
H2= Hotel
H3= Taxi
H4= Restaurant
H4= Car

Using formula only no VBA

Thanks

Michael






Teethless mama

Ignoring blanks from Column(s)
 
Try this:

=IF(ISERR(SMALL(IF(ISTEXT($E$2:$E$41),ROW(INDIRECT ("1:"&ROWS($E$2:$E$41)))),ROWS($1:1))),"",INDEX($E $2:$E$41,SMALL(IF(ISTEXT($E$2:$E$41),ROW(INDIRECT( "1:"&ROWS($E$2:$E$41)))),ROWS($1:1))))

CTRL-SHIFT-ENTER (not just ENTER)
Copy down as far as need


"Michael" wrote:

Hello

I have a column which is 40 rows deep.
In the column E2:E41 which has text and "".
In a another column H I would like to just display the text on
sequential rows.

Example
E8 = Hotel
E15= Taxi
E23 = Restaurant
E40= Car

I would like in display in column H
H2= Hotel
H3= Taxi
H4= Restaurant
H4= Car

Using formula only no VBA

Thanks

Michael





Michael

Ignoring blanks from Column(s)
 
On Sat, 2 Dec 2006 08:31:00 -0800, Teethless mama
wrote:
Teethless mama unfortunately this formula did not work.
I simply copied what was it E8 to H8 etc and left the blanks in place.


Try this:

=IF(ISERR(SMALL(IF(ISTEXT($E$2:$E$41),ROW(INDIREC T("1:"&ROWS($E$2:$E$41)))),ROWS($1:1))),"",INDEX($ E$2:$E$41,SMALL(IF(ISTEXT($E$2:$E$41),ROW(INDIRECT ("1:"&ROWS($E$2:$E$41)))),ROWS($1:1))))

CTRL-SHIFT-ENTER (not just ENTER)
Copy down as far as need


"Michael" wrote:

Hello

I have a column which is 40 rows deep.
In the column E2:E41 which has text and "".
In a another column H I would like to just display the text on
sequential rows.

Example
E8 = Hotel
E15= Taxi
E23 = Restaurant
E40= Car

I would like in display in column H
H2= Hotel
H3= Taxi
H4= Restaurant
H4= Car

Using formula only no VBA

Thanks

Michael






All times are GMT +1. The time now is 02:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com