LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,173
Default Question about a formula

jln

Then [2] refers to F, 2 columns to the right of D (D27)
--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"jln via OfficeKB.com" <u25956@uwe wrote in message
news:6afed105b6b42@uwe...
Here is what it looks like when i record it

Range("D27").Select
ActiveCell.FormulaR1C1 =
"=SUMIF(TOEPIEXP!C[2],1,TOEPIEXP!C[34])-R[-2]C-R
[-1]C"

Nick Hodge wrote:
jln

Using R1C1 notation, everything is relative to the range the formula is
in.
you have clipped the part before

FormulaR1C1

If this was Range("C1").FormulaR1C1 then

C[2] would refer to Column E

Does that make sense?

Nick that what i thought but im not using column 2 im using 6. I have
recorded for about 20 lines all using column 6 and they all say 2. SO
how

[quoted text clipped - 15 lines]
is
the work sheet. What is C? what is 40?


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200612/1


 
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
Newbie Formula Question - how to get formula to repeat in each subsequent row? [email protected] New Users to Excel 2 January 10th 10 05:02 PM
Formula Question... sarge355 New Users to Excel 4 July 28th 08 01:09 PM
Formula question Jim Peterson Excel Worksheet Functions 3 April 9th 08 09:51 PM
Another Formula Question zoomzoom632 Excel Discussion (Misc queries) 3 September 17th 07 01:50 AM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM


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

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

About Us

"It's about Microsoft Excel"