Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / December 2006

Tip: Looking for answers? Try searching our database.

How can I put a formula into every other row tia sal2

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
temp@temp.com - 05 Dec 2006 17:05 GMT
Greetings all

I'm trying to get excel to calculate a formula for every other row is this
possible.

Example:
Column A1-A9 has 1 thru 9 in it.
Column C1 has the formula A1+3 and I would like that formula to be in every
other row of C.  So C1 would be A1+3 ,C2 would be blank, C3 would be A2+3,
C4 would be blank, C5 would be A3+3 and so on.

Is this possible?
tia sal2
Roger Govier - 05 Dec 2006 17:20 GMT
Hi

Try
=IF(MOD(ROW(),2)=1,A1+3,"")
Signature

Regards

Roger Govier

> Greetings all
>
[quoted text clipped - 12 lines]
> Is this possible?
> tia sal2
Don Guillett - 05 Dec 2006 17:43 GMT
Sub altrowformula()
For i = 2 To 12 Step 2
Cells(i, "H").Formula = "=a" & i / 2 & "+3"
Next i
End Sub
Signature

Don Guillett
SalesAid Software
dguillett1@austin.rr.com

> Greetings all
>
[quoted text clipped - 10 lines]
> Is this possible?
> tia sal2
RagDyer - 05 Dec 2006 19:28 GMT
Enter this formula in C1:
=INDEX(A:A,ROWS($1:2)/2)+3

And enter this formula in C3:
=INDEX(A:A,ROWS($1:4)/2)+3

NOW ... Select C1 to *C4*,
Click on the fill handle of the *selected 4 cells*,
And drag down to copy as needed.
Signature

HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

> Greetings all
>
[quoted text clipped - 10 lines]
> Is this possible?
> tia sal2
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.