ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Pulling info 2 cells and putting it in one (https://www.excelbanter.com/excel-worksheet-functions/158350-pulling-info-2-cells-putting-one.html)

Ian

Pulling info 2 cells and putting it in one
 
I have two separate cells, one in worksheet 1 and another worksheet2. I would
like to make it so when I enter info in either of them it will automatically
populate a cell on worksheet 3. I would like the cell in worksheet 3 to pull
the info from either cell automatically in worksheet 1 or 2. Any thoughts?

andy62

Pulling info 2 cells and putting it in one
 
You don't say what you're trying to populate cell 3 with, but if it simply is
the combined contents of the two other cells you can use this in cell 3:

=Sheet1!A1&Sheet2!A1

Adjust the cell references as appropriate. To insert a space between them:

=Sheet1!A1&" "&Sheet2!A1

"Ian" wrote:

I have two separate cells, one in worksheet 1 and another worksheet2. I would
like to make it so when I enter info in either of them it will automatically
populate a cell on worksheet 3. I would like the cell in worksheet 3 to pull
the info from either cell automatically in worksheet 1 or 2. Any thoughts?


T. Valko

Pulling info 2 cells and putting it in one
 
I'm assuming that both sheets will not have an entry at the same time. If
they do then Sheet1 will take precedence.

=IF(Sheet1!A1="",IF(Sheet2!A1="","",Sheet2!A1),She et1!A1)

--
Biff
Microsoft Excel MVP


"Ian" wrote in message
...
I have two separate cells, one in worksheet 1 and another worksheet2. I
would
like to make it so when I enter info in either of them it will
automatically
populate a cell on worksheet 3. I would like the cell in worksheet 3 to
pull
the info from either cell automatically in worksheet 1 or 2. Any thoughts?




Ian

Pulling info 2 cells and putting it in one
 
THanks, I think that should work fine!

"andy62" wrote:

You don't say what you're trying to populate cell 3 with, but if it simply is
the combined contents of the two other cells you can use this in cell 3:

=Sheet1!A1&Sheet2!A1

Adjust the cell references as appropriate. To insert a space between them:

=Sheet1!A1&" "&Sheet2!A1

"Ian" wrote:

I have two separate cells, one in worksheet 1 and another worksheet2. I would
like to make it so when I enter info in either of them it will automatically
populate a cell on worksheet 3. I would like the cell in worksheet 3 to pull
the info from either cell automatically in worksheet 1 or 2. Any thoughts?



All times are GMT +1. The time now is 12:59 PM.

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