Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default Formula question...I belive row is the answer...but need help

I have text in columns B and C from row 1 to 170. The formula in cell H1 is
=B1 so it displays the text from B1. The formula in cell H2 is =C1 so it
displays the text from C1. I would like to copy this all the way down but it
skips row 2 and pulls the text from cells B3 and C3. I would like to use a
formula in cell H3 to find the text in cell B2 and a formula in cell H4 to
find the text in cell C2. Then I want to be able to copy this down the whole
sheet. Thanks.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,069
Default Formula question...I belive row is the answer...but need help

In H1, enter =INDIRECT("B" & ROUND(ROW()/2,0))
In H2, enter =INDIRECT("C" & ROUND(ROW()/2,0))

Select H1 and H2. Using the fill handle (cursor changes to a plus sign at
the lower right corner of the selected cells), drag down through cell H340.

Hope this helps,

Hutch

"Jambruins" wrote:

I have text in columns B and C from row 1 to 170. The formula in cell H1 is
=B1 so it displays the text from B1. The formula in cell H2 is =C1 so it
displays the text from C1. I would like to copy this all the way down but it
skips row 2 and pulls the text from cells B3 and C3. I would like to use a
formula in cell H3 to find the text in cell B2 and a formula in cell H4 to
find the text in cell C2. Then I want to be able to copy this down the whole
sheet. Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,069
Default Formula question...I belive row is the answer...but need help

Here's another way. Similar to my first reply, but only one formula. This one
figures out which column (B or C) to retrieve based on whether the currect
row is even or odd. Enter the following in H1 and copy down through row 340:

=INDIRECT(IF(MOD(ROW(),2),"B","C") & ROUND(ROW()/2,0))

Hope this helps,

Hutch

"Jambruins" wrote:

I have text in columns B and C from row 1 to 170. The formula in cell H1 is
=B1 so it displays the text from B1. The formula in cell H2 is =C1 so it
displays the text from C1. I would like to copy this all the way down but it
skips row 2 and pulls the text from cells B3 and C3. I would like to use a
formula in cell H3 to find the text in cell B2 and a formula in cell H4 to
find the text in cell C2. Then I want to be able to copy this down the whole
sheet. Thanks.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default Formula question...I belive row is the answer...but need help

You could use a macro to populate what you want. The following should work.

Sub Macro1()
r = Range("A65536").End(xlUp).Row
h = 1
For i = 1 To r
Range("H" & h).Select
ActiveCell.Formula = "=A" & i
h = h + 1
Range("H" & h).Select
ActiveCell.Formula = "=B" & i
h = h + 1
Next
End Sub


HTH,
Paul

"Jambruins" wrote in message
...
I have text in columns B and C from row 1 to 170. The formula in cell H1
is
=B1 so it displays the text from B1. The formula in cell H2 is =C1 so it
displays the text from C1. I would like to copy this all the way down but
it
skips row 2 and pulls the text from cells B3 and C3. I would like to use
a
formula in cell H3 to find the text in cell B2 and a formula in cell H4 to
find the text in cell C2. Then I want to be able to copy this down the
whole
sheet. Thanks.




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Formula question...I belive row is the answer...but need help

Try this non-volatile formula:

=INDEX($B$1:$C$170,ROWS($1:2)/2,MOD(ROWS($1:1)-1,2)+1)

And copy down.
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Jambruins" wrote in message
...
I have text in columns B and C from row 1 to 170. The formula in cell H1 is
=B1 so it displays the text from B1. The formula in cell H2 is =C1 so it
displays the text from C1. I would like to copy this all the way down but
it
skips row 2 and pulls the text from cells B3 and C3. I would like to use a
formula in cell H3 to find the text in cell B2 and a formula in cell H4 to
find the text in cell C2. Then I want to be able to copy this down the
whole
sheet. Thanks.





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default Formula question...I belive row is the answer...but need help

thanks, it works perfectly

"RagDyeR" wrote:

Try this non-volatile formula:

=INDEX($B$1:$C$170,ROWS($1:2)/2,MOD(ROWS($1:1)-1,2)+1)

And copy down.
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Jambruins" wrote in message
...
I have text in columns B and C from row 1 to 170. The formula in cell H1 is
=B1 so it displays the text from B1. The formula in cell H2 is =C1 so it
displays the text from C1. I would like to copy this all the way down but
it
skips row 2 and pulls the text from cells B3 and C3. I would like to use a
formula in cell H3 to find the text in cell B2 and a formula in cell H4 to
find the text in cell C2. Then I want to be able to copy this down the
whole
sheet. Thanks.




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Formula question...I belive row is the answer...but need help

You're welcome. and thank you for the feed-back.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Jambruins" wrote in message
...
thanks, it works perfectly

"RagDyeR" wrote:

Try this non-volatile formula:

=INDEX($B$1:$C$170,ROWS($1:2)/2,MOD(ROWS($1:1)-1,2)+1)

And copy down.
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Jambruins" wrote in message
...
I have text in columns B and C from row 1 to 170. The formula in cell H1
is
=B1 so it displays the text from B1. The formula in cell H2 is =C1 so it
displays the text from C1. I would like to copy this all the way down
but
it
skips row 2 and pulls the text from cells B3 and C3. I would like to use
a
formula in cell H3 to find the text in cell B2 and a formula in cell H4
to
find the text in cell C2. Then I want to be able to copy this down the
whole
sheet. Thanks.





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
Repeating Formula Question THSaldivar Excel Discussion (Misc queries) 1 July 3rd 06 03:36 PM
I have a question regarding countif formula. Fahad Farid Ansari Excel Worksheet Functions 6 October 1st 05 11:57 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
formula question Pam Coleman Excel Worksheet Functions 9 April 11th 05 08:51 AM


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