Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Req help on Formula or vb in excel to calculate between reference style and formula style tia sal2


Req help on Formula or vb in excel to calculate between reference style and formula style tia sal2

Greets All,

I'm looking for a formula of VB script in excel to calculate between reference style and formula style tia sal2

Example If A1:Q18 is typed in I would like R1C1:R18C17 to show up or vise a versa in another cell...can this be done?

Also can I add rows and coumns togather.
Example can I do this R1C1 + R2C3 = R3C4 or A1 + B2 = C3

Tia
sal2
  #2   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9,101
Default Req help on Formula or vb in excel to calculate between reference

Her is two functions I wrote. They will return the formula as a text string
and display the formula in another cell.

Put formula in cell A1 =B1

Then in C1 and D1 put in my formulas

=DisplayFormR1C1(A1)
=DisplayForm(A1)


Function DisplayFormR1C1(Target As Range)

DisplayFormR1C1 = "" & Target.FormulaR1C1

End Function
Function DisplayForm(Target As Range)

DisplayForm = "" & Target.Formula

End Function


"temp" wrote:


Req help on Formula or vb in excel to calculate between reference style and formula style tia sal2

Greets All,

I'm looking for a formula of VB script in excel to calculate between reference style and formula style tia sal2

Example If A1:Q18 is typed in I would like R1C1:R18C17 to show up or vise a versa in another cell...can this be done?

Also can I add rows and coumns togather.
Example can I do this R1C1 + R2C3 = R3C4 or A1 + B2 = C3

Tia
sal2

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
Sum Formula with different style tracing precedent by double clicking cel[_2_] Excel Discussion (Misc queries) 1 June 7th 07 02:20 PM
How do I change sheet notation from R1C1 style to A1 style in XL 2 Sherlock1506 Setting up and Configuration of Excel 1 December 5th 06 04:22 PM
Changing from format style to list style B.W. Excel Worksheet Functions 1 November 22nd 06 08:53 PM
How do I convert US style dates to European style? Neo Excel Discussion (Misc queries) 3 October 15th 06 02:24 PM
can a1 reference style and r1c1 style be used in same formula? rjagga Excel Worksheet Functions 1 September 17th 06 10:58 AM


All times are GMT +1. The time now is 09:04 PM.

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"