Excel 2007 - swop cells

Hi 

I need a formula(?) to swop the text in column A and B if column C has a 'Y' in it, like in the example below

Is this possible?

Thanks

Ivan

May 29th, 2015 10:11am

Hi 

I need a formula(?) to swop the text in column A and B if column C has a 'Y' in it, like in the example below

Is this possible?

Thanks

Ivan

In A2 the formula is:-

=IF(C2="y",B1,"C2 is not y")

In B2 the formula is:-

=IF(C2="y",A1,"C2 is not y")

Does the above give you what you want?

Free Windows Admin Tool Kit Click here and download it now
May 30th, 2015 6:22am

Hi 

I need a formula(?) to swop the text in column A and B if column C has a 'Y' in it, like in the example below

Is this possible?

Thanks

Ivan

In A2 the formula is:-

=IF(C2="y",B1,"C2 is not y")

In B2 the formula is:-

=IF(C2="y",A1,"C2 is not y")

Does the above give you what you want?

May 30th, 2015 10:21am

Hi 

I need a formula(?) to swop the text in column A and B if column C has a 'Y' in it, like in the example below

Is this possible?

Thanks

Ivan

In A2 the formula is:-

=IF(C2="y",B1,"C2 is not y")

In B2 the formula is:-

=IF(C2="y",A1,"C2 is not y")

Does the above give you what you want?

Free Windows Admin Tool Kit Click here and download it now
May 30th, 2015 10:21am

Hi

IF C1=Y then swop A1 with B1 (not in a new row), 

A1=Hello

B1=World

IF C1=y then make A1=World & B1=Hello

Does this make more sense? Thanks for you time and effort



June 1st, 2015 3:07am

Hi

IF C1=Y then swop A1 with B1 (not in a new row), 

A1=Hello

B1=World

IF C1=y then make A1=World & B1=Hello

Does this make more sense? Thanks for you time and effort



In A1:-

=IF(C1="y","World","Hello")

In B1:-

=IF(C1="y","Hello","World")

I can't think of any other way to do this without getting a Circular Reference.

You'll have to hard code what's in the cells into the formulae.

Free Windows Admin Tool Kit Click here and download it now
June 1st, 2015 3:47pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics