Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 107
Default Use OR or use AND in this formula

Afternoon from Sunny SA,

Picture this.

In column B I have a job title in row 2 (Sales).
In column C I have applicant names in row 2, 3 & 4 (Peter, John & Paul)

Now I want to concatenate column B & C to get Sales Peter, Sales John and
Sales Paul.

How do I get Sales against Paul with a formula.

I was using the formual If(B4="",B3&C4, B4&C4), but this does not work if
there is a blank in cell B3.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Use OR or use AND in this formula

I'm not sure where B3 comes into it because you describe haveing Sales in B2
and names in C2, C3 and C4 but if I have understood put this in any cell and
drag down.

=$B$2&" "&C2

And see if that's what you require.

Mike

"Sunnyskies" wrote:

Afternoon from Sunny SA,

Picture this.

In column B I have a job title in row 2 (Sales).
In column C I have applicant names in row 2, 3 & 4 (Peter, John & Paul)

Now I want to concatenate column B & C to get Sales Peter, Sales John and
Sales Paul.

How do I get Sales against Paul with a formula.

I was using the formual If(B4="",B3&C4, B4&C4), but this does not work if
there is a blank in cell B3.

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Use OR or use AND in this formula

=$B$2&C2

and copy down

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Sunnyskies" wrote in message
...
Afternoon from Sunny SA,

Picture this.

In column B I have a job title in row 2 (Sales).
In column C I have applicant names in row 2, 3 & 4 (Peter, John & Paul)

Now I want to concatenate column B & C to get Sales Peter, Sales John and
Sales Paul.

How do I get Sales against Paul with a formula.

I was using the formual If(B4="",B3&C4, B4&C4), but this does not work if
there is a blank in cell B3.

Thanks



  #4   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Use OR or use AND in this formula

I would use the feature in ASAP Utilities to fill down the blanks in column B
with the values above and then do a straight concatenation, like
=B2&" "&C2, copied down

ASAP Utilities is a free add-in available at www.asap-utilities.com

Vaya con Dios,
Chuck, CABGx3




"Sunnyskies" wrote:

Afternoon from Sunny SA,

Picture this.

In column B I have a job title in row 2 (Sales).
In column C I have applicant names in row 2, 3 & 4 (Peter, John & Paul)

Now I want to concatenate column B & C to get Sales Peter, Sales John and
Sales Paul.

How do I get Sales against Paul with a formula.

I was using the formual If(B4="",B3&C4, B4&C4), but this does not work if
there is a blank in cell B3.

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 107
Default Use OR or use AND in this formula

Afternoon Mike,

Cell B2 cannot be a fixed reference.

Here is the columns:

Bethlehem SHELL
TOTAL
Bloemfontein SHELL
TOTAL
Hartswater TOTAL
Kimberley SHELL
TOTAL
Kroonstad CHEVRON
SHELL
TOTAL
Maseru TOTAL
Sannieshof TOTAL

Do you see that at Kroonstad there are three Oil Companies listed, I need to
concatenate the Town with the Oil company but at Kroonstad the formula does
not work so well.

Thanks



"Mike H" wrote:

I'm not sure where B3 comes into it because you describe haveing Sales in B2
and names in C2, C3 and C4 but if I have understood put this in any cell and
drag down.

=$B$2&" "&C2

And see if that's what you require.

Mike

"Sunnyskies" wrote:

Afternoon from Sunny SA,

Picture this.

In column B I have a job title in row 2 (Sales).
In column C I have applicant names in row 2, 3 & 4 (Peter, John & Paul)

Now I want to concatenate column B & C to get Sales Peter, Sales John and
Sales Paul.

How do I get Sales against Paul with a formula.

I was using the formual If(B4="",B3&C4, B4&C4), but this does not work if
there is a blank in cell B3.

Thanks



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 107
Default Use OR or use AND in this formula

The table is a pivot table, in which I would like to concatenate outside the
table grid.

"CLR" wrote:

I would use the feature in ASAP Utilities to fill down the blanks in column B
with the values above and then do a straight concatenation, like
=B2&" "&C2, copied down

ASAP Utilities is a free add-in available at www.asap-utilities.com

Vaya con Dios,
Chuck, CABGx3




"Sunnyskies" wrote:

Afternoon from Sunny SA,

Picture this.

In column B I have a job title in row 2 (Sales).
In column C I have applicant names in row 2, 3 & 4 (Peter, John & Paul)

Now I want to concatenate column B & C to get Sales Peter, Sales John and
Sales Paul.

How do I get Sales against Paul with a formula.

I was using the formual If(B4="",B3&C4, B4&C4), but this does not work if
there is a blank in cell B3.

Thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"