Formula wanted

March 19th, 2010 - 07:55 am ET by George | Report spam
Hi.
I have two columns in Excel. In first column A1:A100 i have some integers
and empty cells and in second B1:B100 I have some stings and also some empty
cells. I would like to apply a formula in C1:C100 somehow in a way:

a) to include all stings Bi that the corresponding Ai are numbers
b) with non blank cells in C1:C100 (That means all the strings in C column
will be in successive order. For example C1«C, C2=GEORGE, C3ÌD e.g.)

Any idea?

Thank you.
email Follow the discussionReplies 5 repliesReplies Make a reply

Similar topics

Replies

#1 Bob Phillips
March 19th, 2010 - 11:37 am ET | Report spam
Try this array formula

=IF(ISERROR(SMALL(IF($A$1:$A$20<>"",ROW($A$1:$A$20)),ROW(A1))),"",
INDEX(B:B,SMALL(IF($A$1:$A$20<>"",ROW($A$1:$A$20)),ROW(A1))))


HTH

Bob

"George" wrote in message
news:
Hi.
I have two columns in Excel. In first column A1:A100 i have some integers
and empty cells and in second B1:B100 I have some stings and also some
empty
cells. I would like to apply a formula in C1:C100 somehow in a way:

a) to include all stings Bi that the corresponding Ai are numbers
b) with non blank cells in C1:C100 (That means all the strings in C column
will be in successive order. For example C1«C, C2=GEORGE, C3ÌD e.g.)

Any idea?

Thank you.

Replies Reply to this message
#2 George
March 21st, 2010 - 05:32 am ET | Report spam
Thank you but didn’t work. But I get some ideas from this and I am close to
a solution.

"Bob Phillips" wrote:

Try this array formula

=IF(ISERROR(SMALL(IF($A$1:$A$20<>"",ROW($A$1:$A$20)),ROW(A1))),"",
INDEX(B:B,SMALL(IF($A$1:$A$20<>"",ROW($A$1:$A$20)),ROW(A1))))


HTH

Bob

"George" wrote in message
news:
> Hi.
> I have two columns in Excel. In first column A1:A100 i have some integers
> and empty cells and in second B1:B100 I have some stings and also some
> empty
> cells. I would like to apply a formula in C1:C100 somehow in a way:
>
> a) to include all stings Bi that the corresponding Ai are numbers
> b) with non blank cells in C1:C100 (That means all the strings in C column
> will be in successive order. For example C1«C, C2=GEORGE, C3ÌD e.g.)
>
> Any idea?
>
> Thank you.
>


.

Replies Reply to this message
#3 Bob Phillips
March 21st, 2010 - 12:21 pm ET | Report spam
Did you array enter it?

It worked in my tests, so in what way did it not work?


HTH

Bob

"George" wrote in message
news:
Thank you but didn't work. But I get some ideas from this and I am close
to
a solution.

"Bob Phillips" wrote:

Try this array formula

=IF(ISERROR(SMALL(IF($A$1:$A$20<>"",ROW($A$1:$A$20)),ROW(A1))),"",
INDEX(B:B,SMALL(IF($A$1:$A$20<>"",ROW($A$1:$A$20)),ROW(A1))))


HTH

Bob

"George" wrote in message
news:
> Hi.
> I have two columns in Excel. In first column A1:A100 i have some
> integers
> and empty cells and in second B1:B100 I have some stings and also some
> empty
> cells. I would like to apply a formula in C1:C100 somehow in a way:
>
> a) to include all stings Bi that the corresponding Ai are numbers
> b) with non blank cells in C1:C100 (That means all the strings in C
> column
> will be in successive order. For example C1«C, C2=GEORGE, C3ÌD
> e.g.)
>
> Any idea?
>
> Thank you.
>


.

Replies Reply to this message
#4 George
March 22nd, 2010 - 04:16 am ET | Report spam
Yes I did. It appears only the A1 cell data across the array A1:A20.
(If I replace the form ROW(A1) with ROW(A1:A20) then all the Bi data are
extracted but appears the 0 value in the Bi cells where the corresponding Ai
cells are empty.)


"Bob Phillips" wrote:

Did you array enter it?

It worked in my tests, so in what way did it not work?


HTH

Bob

"George" wrote in message
news:
> Thank you but didn't work. But I get some ideas from this and I am close
> to
> a solution.
>
> "Bob Phillips" wrote:
>
>> Try this array formula
>>
>> =IF(ISERROR(SMALL(IF($A$1:$A$20<>"",ROW($A$1:$A$20)),ROW(A1))),"",
>> INDEX(B:B,SMALL(IF($A$1:$A$20<>"",ROW($A$1:$A$20)),ROW(A1))))
>>
>>
>> HTH
>>
>> Bob
>>
>> "George" wrote in message
>> news:
>> > Hi.
>> > I have two columns in Excel. In first column A1:A100 i have some
>> > integers
>> > and empty cells and in second B1:B100 I have some stings and also some
>> > empty
>> > cells. I would like to apply a formula in C1:C100 somehow in a way:
>> >
>> > a) to include all stings Bi that the corresponding Ai are numbers
>> > b) with non blank cells in C1:C100 (That means all the strings in C
>> > column
>> > will be in successive order. For example C1«C, C2=GEORGE, C3ÌD
>> > e.g.)
>> >
>> > Any idea?
>> >
>> > Thank you.
>> >
>>
>>
>> .
>>


.

Replies Reply to this message
#5 Herbert Seidenberg
March 30th, 2010 - 07:27 pm ET | Report spam
Excel 2007, Tables
Advanced Filter
Filter blank/empty cells and sort.
With macro.
http://www.mediafire.com/file/izlz1...30_10.xlsm
Pdf preview:
http://www.mediafire.com/file/nwtzd...30_10a.pdf
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search