Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 93
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 93
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default 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")

?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find and Replace Sheet names FARAZ QURESHI Excel Discussion (Misc queries) 2 February 23rd 09 01:40 AM
Replace cell references with names hmm Excel Discussion (Misc queries) 3 November 17th 08 03:09 PM
Linking Cells accross Workbooks using Column Names Jimmy944 Excel Discussion (Misc queries) 0 July 17th 08 10:23 AM
Find replace in functions J.Mart Excel Discussion (Misc queries) 2 November 18th 07 04:10 AM
How do I replace A, B, C, Column names, with my own names? Lugojanul Excel Discussion (Misc queries) 1 March 15th 07 07:46 PM


All times are GMT +1. The time now is 08:38 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"