If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Replace Cells with Column names in functions?
I have a # of fairly long/complex cell functions that get hard to debug
because there are also a lot of rows. Is there anyway to change display so it replaces the column name e.g. If(BT1204="X". BA="Y" to If(CustomerName="X", CustomerCode="Y") ? |
#2
|
|||
|
|||
Replace Cells with Column names in functions?
CustomerName is a defined name range for BT1204
Find & Replace Find what: BT1204 Replace with: CustomerName "msnyc07" wrote: I have a # of fairly long/complex cell functions that get hard to debug because there are also a lot of rows. Is there anyway to change display so it replaces the column name e.g. If(BT1204="X". BA="Y" to If(CustomerName="X", CustomerCode="Y") ? |
#3
|
|||
|
|||
Replace Cells with Column names in functions?
Hmm, thanks, but i am more looking for some auto or semi automatic way for
the displayed functions to reference the column names. Search and replace for all formulas might get problematic. "Teethless mama" wrote: CustomerName is a defined name range for BT1204 Find & Replace Find what: BT1204 Replace with: CustomerName "msnyc07" wrote: I have a # of fairly long/complex cell functions that get hard to debug because there are also a lot of rows. Is there anyway to change display so it replaces the column name e.g. If(BT1204="X". BA="Y" to If(CustomerName="X", CustomerCode="Y") ? |
#4
|
|||
|
|||
Replace Cells with Column names in functions?
msnyc07 wrote:
I have a # of fairly long/complex cell functions that get hard to debug because there are also a lot of rows. Is there anyway to change display so it replaces the column name e.g. If(BT1204="X". BA="Y" to If(CustomerName="X", CustomerCode="Y") ? Look at "About labels and names in formulas" in the help file. |
#5
|
|||
|
|||
Replace Cells with Column names in functions?
Hi,
define a name to BT1204 as Customername, BA1204 as customercode. Now go to Apply names, select all the names and click on OK. All the BT1204 and BA1204 on the same sheet will get replaced by customername and customercode -- Regards, Ashish Mathur Microsoft Excel MVP "msnyc07" wrote in message ... I have a # of fairly long/complex cell functions that get hard to debug because there are also a lot of rows. Is there anyway to change display so it replaces the column name e.g. If(BT1204="X". BA="Y" to If(CustomerName="X", CustomerCode="Y") ? |
Thread Tools | |
Display Modes | |
|
|