copying text between cells

A

AD

the logic I wish to execute goes something like this:

whenever '[target book.xls]Sheet'!$A$2:$A$100="y" I want to copy the text
from the adjacent cell in the range ie. '[target book.xls]Sheet'!$B$2:$B$100
to my source book ie. '[source.xls]Sheet'!$C$10, and this should be
incremented every time text is copied ie. the next cell to be updated would
be '[source.xls]Sheet'!$C$11 and so on until the end of the target range.

Can anybody help ?
 
M

Muhammed Rafeek M

Use: IF('[target book.xls]Sheet'!A2 ="y", '[source.xls]Sheet'!C10,"") in
'[target book.xls]Sheet'!B2

Once you use this function, you can drag to down.
 
A

AD

Thanks Muhammed,

I am not quite sure what you mean by "drag to down". I only want to
increment the source cell '[source.xls]Sheet'!C10,C11 etc only if there is
text to copy from the target..


--
AD


Muhammed Rafeek M said:
Use: IF('[target book.xls]Sheet'!A2 ="y", '[source.xls]Sheet'!C10,"") in
'[target book.xls]Sheet'!B2

Once you use this function, you can drag to down.



AD said:
the logic I wish to execute goes something like this:

whenever '[target book.xls]Sheet'!$A$2:$A$100="y" I want to copy the text
from the adjacent cell in the range ie. '[target book.xls]Sheet'!$B$2:$B$100
to my source book ie. '[source.xls]Sheet'!$C$10, and this should be
incremented every time text is copied ie. the next cell to be updated would
be '[source.xls]Sheet'!$C$11 and so on until the end of the target range.

Can anybody help ?
 
M

Muhammed Rafeek M

could you please send your file to (e-mail address removed)

AD said:
Thanks Muhammed,

I am not quite sure what you mean by "drag to down". I only want to
increment the source cell '[source.xls]Sheet'!C10,C11 etc only if there is
text to copy from the target..


--
AD


Muhammed Rafeek M said:
Use: IF('[target book.xls]Sheet'!A2 ="y", '[source.xls]Sheet'!C10,"") in
'[target book.xls]Sheet'!B2

Once you use this function, you can drag to down.



AD said:
the logic I wish to execute goes something like this:

whenever '[target book.xls]Sheet'!$A$2:$A$100="y" I want to copy the text
from the adjacent cell in the range ie. '[target book.xls]Sheet'!$B$2:$B$100
to my source book ie. '[source.xls]Sheet'!$C$10, and this should be
incremented every time text is copied ie. the next cell to be updated would
be '[source.xls]Sheet'!$C$11 and so on until the end of the target range.

Can anybody help ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top