Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Please Help Fill Down problem

Sorry about the cross post but I'm getting desperate...

row 1 contains headers. col A and C contain values. I need to populate Col B
with values like the following

B2 needs to read R2C3
B3 needs to read R2C4
B4 needs to read R2C5
B5 needs to read R3C3
B6 needs to read R3C4
B7 needs to read R3C5
B8 needs to read R4C3
B9 needs to read R4C4
B10 needs to read R4C5

etc...

I was given...
=OFFSET($C$4,INT((ROW(A1)-1)/3),MOD(ROW(A1)-1,3))

But it's not working because of the values that I have in columns A and C.


Any and all help is greatly appreciated.



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Please Help Fill Down problem

check your other post for another suggestion.

"Stephen" wrote:

Sorry about the cross post but I'm getting desperate...

row 1 contains headers. col A and C contain values. I need to populate Col B
with values like the following

B2 needs to read R2C3
B3 needs to read R2C4
B4 needs to read R2C5
B5 needs to read R3C3
B6 needs to read R3C4
B7 needs to read R3C5
B8 needs to read R4C3
B9 needs to read R4C4
B10 needs to read R4C5

etc...

I was given...
=OFFSET($C$4,INT((ROW(A1)-1)/3),MOD(ROW(A1)-1,3))

But it's not working because of the values that I have in columns A and C.


Any and all help is greatly appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Please Help Fill Down problem

got it! Thank you. I'm cross posting the solutions that worked for me in
hope that others can benifit too. It amounts to either using a marco

Sub test()
Row = 2
a = 2
Do
For i = 3 To 5
Cells(Row, 2).Value = "R" & a & "C" & i
Row = Row + 1
Next i
a = a + 1
Loop Until Row 735
End Sub


or one of two formulas...

="R"&INT(ROW(A3)/3)+1&"C"&MOD(ROW(A2)+1,3)+3

or without the cell references...

="R"&INT((ROW()+4)/3)&"C"&MOD(ROW()+1,3)+3

I ended up using the macro so I did not have to convert the formulas into
their values.

Thank you to everyone for their input.


"JMB" wrote:

check your other post for another suggestion.

"Stephen" wrote:

Sorry about the cross post but I'm getting desperate...

row 1 contains headers. col A and C contain values. I need to populate Col B
with values like the following

B2 needs to read R2C3
B3 needs to read R2C4
B4 needs to read R2C5
B5 needs to read R3C3
B6 needs to read R3C4
B7 needs to read R3C5
B8 needs to read R4C3
B9 needs to read R4C4
B10 needs to read R4C5

etc...

I was given...
=OFFSET($C$4,INT((ROW(A1)-1)/3),MOD(ROW(A1)-1,3))

But it's not working because of the values that I have in columns A and C.


Any and all help is greatly appreciated.



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
Fill Effects on Fill Color Rugdoody Excel Discussion (Misc queries) 1 September 14th 05 06:45 PM
Fill handle formula neeraj Excel Worksheet Functions 9 September 13th 05 01:46 AM
Fill handle problem XP Kylor Excel Discussion (Misc queries) 2 April 26th 05 12:56 PM
A different "Fill Color" problem JKD Excel Worksheet Functions 1 November 2nd 04 11:35 PM
A different "Fill Color" problem JKD Excel Worksheet Functions 1 November 1st 04 10:21 PM


All times are GMT +1. The time now is 02:26 AM.

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"