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 help on Converting R1C1 to A1 and A1 to R1C1..tia sa2

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.worksheet.functions,microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 417
Default help on Converting R1C1 to A1 and A1 to R1C1..tia sa2

If you type in the formula in absolute form (i.e. "=$A$1:$Q$18), then
pull down the Tools menu, select Options, then click on the General tab,
then check the "R1C1 reference style, you will see "=R1C1:R18C17" in the
formula bar. Copy and paste from there.

If you leave the formula in relative form (i.e. "=A1:Q18"), you will get
"==RC:R[17]C[16]".
--
Regards,
Bill Renaud



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 417
Default help on Converting R1C1 to A1 and A1 to R1C1..tia sa2

sal2 wrote:
<<Example can I do this R1C1 + R2C3 = R3C4 or A1 + B2 = C3

You can't have operators on the left side of an equation.
Otherwise see my previous reply about using absolute/relative
references.
--
Regards,
Bill Renaud



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 968
Default help on Converting R1C1 to A1 and A1 to R1C1..tia sa2

You can use Application.convertformula in VBA

MsgBox Application.ConvertFormula(ActiveCell.Formula, xlA1, xlR1C1)

MsgBox Application.ConvertFormula("=R" & (1 + 2) & "C" & (1 + 3), xlR1C1,
xlA1)


Charles
______________________
Decision Models
FastExcel 2.3 now available
Name Manager 4.0 now available
www.DecisionModels.com

"temp" wrote in message
m...
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
Two Questions: R1C1 and stop text number converting to data The Moose Excel Discussion (Misc queries) 5 October 31st 06 05:53 PM
R1C1 Arne Hegefors Excel Discussion (Misc queries) 1 August 18th 06 10:11 AM
A:1 now R1C1 Michael E W Excel Worksheet Functions 2 December 24th 05 11:38 PM
Using a cell value for row in R1C1 Rob T Excel Worksheet Functions 2 November 2nd 05 03:47 PM
R1C1 reference Tony S Excel Discussion (Misc queries) 1 May 10th 05 05:58 PM


All times are GMT +1. The time now is 02:07 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"