![]() |
Formula to write a value into a different cell.
I need a formula in one cell that, under certain conditions (and IF
statement), writes the value of one cell into another cell. In this case, I can't use a macro. Anyone done this sort of thing before? |
Formula to write a value into a different cell.
=if(B210, C2, D2)
This formula (placed in A2 or ???) will look at the value in Cell B2. If B2 is greater than 10 then it returns the value of C2 else it returns the value of D2... -- HTH... Jim Thomlinson "Mr. Clean" wrote: I need a formula in one cell that, under certain conditions (and IF statement), writes the value of one cell into another cell. In this case, I can't use a macro. Anyone done this sort of thing before? |
Formula to write a value into a different cell.
Something like this in say B1?
=IF(A110,H1,"") which tests cell A1, and if the value is greater than 10, stores the contents of H1 in cell B1, otherwise it stores an empty string. -- HTH RP (remove nothere from the email address if mailing direct) "Mr. Clean" wrote in message ... I need a formula in one cell that, under certain conditions (and IF statement), writes the value of one cell into another cell. In this case, I can't use a macro. Anyone done this sort of thing before? |
Formula to write a value into a different cell.
Jim, thanks for the QUICK reply. What I really need is a formula in a cell,
say A1, that tests another cell, say B2, and if the test passes, copies the contents of B2 to cell C3. "Jim Thomlinson" wrote: =if(B210, C2, D2) This formula (placed in A2 or ???) will look at the value in Cell B2. If B2 is greater than 10 then it returns the value of C2 else it returns the value of D2... -- HTH... Jim Thomlinson "Mr. Clean" wrote: I need a formula in one cell that, under certain conditions (and IF statement), writes the value of one cell into another cell. In this case, I can't use a macro. Anyone done this sort of thing before? |
Formula to write a value into a different cell.
Bob, thanks for the QUICK reply. What I really need is a formula in a cell,
say A1, that tests another cell, say B2, and if the test passes, copies the contents of B2 to cell C3. "Bob Phillips" wrote: Something like this in say B1? =IF(A110,H1,"") which tests cell A1, and if the value is greater than 10, stores the contents of H1 in cell B1, otherwise it stores an empty string. -- HTH RP (remove nothere from the email address if mailing direct) "Mr. Clean" wrote in message ... I need a formula in one cell that, under certain conditions (and IF statement), writes the value of one cell into another cell. In this case, I can't use a macro. Anyone done this sort of thing before? |
Formula to write a value into a different cell.
You can't do that. A formula can only return a value to the cell it is in,
it cannot update other cells. -- HTH RP (remove nothere from the email address if mailing direct) "Mr. Clean" wrote in message ... Bob, thanks for the QUICK reply. What I really need is a formula in a cell, say A1, that tests another cell, say B2, and if the test passes, copies the contents of B2 to cell C3. "Bob Phillips" wrote: Something like this in say B1? =IF(A110,H1,"") which tests cell A1, and if the value is greater than 10, stores the contents of H1 in cell B1, otherwise it stores an empty string. -- HTH RP (remove nothere from the email address if mailing direct) "Mr. Clean" wrote in message ... I need a formula in one cell that, under certain conditions (and IF statement), writes the value of one cell into another cell. In this case, I can't use a macro. Anyone done this sort of thing before? |
Formula to write a value into a different cell.
Thanks, Bob. It's guys like you that keep this world going.
"Bob Phillips" wrote: You can't do that. A formula can only return a value to the cell it is in, it cannot update other cells. -- HTH RP (remove nothere from the email address if mailing direct) "Mr. Clean" wrote in message ... Bob, thanks for the QUICK reply. What I really need is a formula in a cell, say A1, that tests another cell, say B2, and if the test passes, copies the contents of B2 to cell C3. "Bob Phillips" wrote: Something like this in say B1? =IF(A110,H1,"") which tests cell A1, and if the value is greater than 10, stores the contents of H1 in cell B1, otherwise it stores an empty string. -- HTH RP (remove nothere from the email address if mailing direct) "Mr. Clean" wrote in message ... I need a formula in one cell that, under certain conditions (and IF statement), writes the value of one cell into another cell. In this case, I can't use a macro. Anyone done this sort of thing before? |
All times are GMT +1. The time now is 09:37 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com