PC Review


Reply
Thread Tools Rate Thread

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

 
 
temp@temp.com
Guest
Posts: n/a
 
      5th Dec 2006
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
 
Reply With Quote
 
 
 
 
Roger Govier
Guest
Posts: n/a
 
      5th Dec 2006
Hi

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

Roger Govier


"(E-Mail Removed)" <(E-Mail Removed)> wrote in message
news:Xns9890481A7165tenotempcom@127.0.0.1...
> 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



 
Reply With Quote
 
Don Guillett
Guest
Posts: n/a
 
      5th Dec 2006

Sub altrowformula()
For i = 2 To 12 Step 2
Cells(i, "H").Formula = "=a" & i / 2 & "+3"
Next i
End Sub
--
Don Guillett
SalesAid Software
(E-Mail Removed)
"(E-Mail Removed)" <(E-Mail Removed)> wrote in message
news:Xns9890481A7165tenotempcom@127.0.0.1...
> 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



 
Reply With Quote
 
RagDyer
Guest
Posts: n/a
 
      5th Dec 2006
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.
--
HTH,

RD

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

"(E-Mail Removed)" <(E-Mail Removed)> wrote in message
news:Xns9890481A7165tenotempcom@127.0.0.1...
> 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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Req help on Formula or vb in excel to calculate between reference style and formula style tia sal2 temp Microsoft Excel Worksheet Functions 1 13th Sep 2007 09:02 AM
Req help on Formula or vb in excel to calculate between reference style and formula style tia sal2 temp Microsoft Excel Programming 1 13th Sep 2007 09:02 AM
Req help on Formula or vb in excel to calculate between reference style and formula style tia sal2 temp Microsoft Excel Misc 1 13th Sep 2007 09:02 AM
How can I put a formula into every other row tia sal2 temp@temp.com Microsoft Excel Misc 3 5th Dec 2006 07:28 PM
How to add patterns to excel tia sal2 temp@temp.com Microsoft Excel Misc 1 22nd Oct 2006 05:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:08 PM.