Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-14-2017, 11:25 AM
snoop snoop is offline filling a row value from another cell Windows 10 filling a row value from another cell Office 2010 64bit
Novice
filling a row value from another cell
 
Join Date: Mar 2017
Posts: 3
snoop is on a distinguished road
Default filling a row value from another cell

HI all



Any idea's how to do this in excel, be gentle

I need to fill in rows cells a certain number of times...

c4 = 6 so fill in row e1 to e6 with the values 1 to 6
c5 = 4 so continue row e7 to e11 with the values 1 to 4
c6 = 5 continue row e12 to e17 with the values 1 to 5


help appreciated Phil.....
Reply With Quote
  #2  
Old 03-14-2017, 10:27 PM
xor xor is offline filling a row value from another cell Windows 10 filling a row value from another cell Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,101
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Enter in E1 and copy down:

=IF(ROWS($1:1)<=$C$4,ROWS($1:1),IF(ROWS($1:1)<=$C$ 4+$C$5,ROW()-$C$4,IF(ROWS($1:1)<=$C$4+$C$5+$C$6,ROW()-$C$4-$C$5"")))

If you start in another cell than E1, for example H8 the formula should look like this:

IF(ROWS($1:1)<=$C$4,ROWS($1:1),IF(ROWS($1:1)<=$C$4 +$C$5,ROW()-CELL("row",$H$8)+1-$C$4,IF(ROWS($1:1)<=$C$4+$C$5+$C$6,ROW()-CELL("row",$H$8)+1-$C$4-$C$5;"")))

The two CELL functions must have the start cell as second argument.
Reply With Quote
  #3  
Old 03-15-2017, 09:01 PM
snoop snoop is offline filling a row value from another cell Windows 10 filling a row value from another cell Office 2010 64bit
Novice
filling a row value from another cell
 
Join Date: Mar 2017
Posts: 3
snoop is on a distinguished road
Default

thanks for the reply

I don't think my explanation was very good.

c4 = 6 so fill in row e1 to e6 with the values 1 to 6
c5 = 4 so continue row e7 to e11 with the values 1 to 4
c6 = 5 continue row e12 to e17 with the values 1 to 5

all these numbers in column C are dynamic

c4 = 35
c5 =126
c6 = 1256
c7 , c8 etc ......down Column C

Help appreciated phil
Reply With Quote
  #4  
Old 03-15-2017, 10:50 PM
xor xor is offline filling a row value from another cell Windows 10 filling a row value from another cell Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,101
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

What you wrote originally and what you write in line 3 to 5 above is exactly what my proposal does.
Attached Files
File Type: xlsx FillRow.xlsx (33.9 KB, 11 views)
Reply With Quote
  #5  
Old 03-16-2017, 11:47 AM
snoop snoop is offline filling a row value from another cell Windows 10 filling a row value from another cell Office 2010 64bit
Novice
filling a row value from another cell
 
Join Date: Mar 2017
Posts: 3
snoop is on a distinguished road
Default

That Works but not for me

I need to explain my problem more fully I have a formula that i repeat many times down, in cell a1 i have '=C1 * d1 /e1'

this formula is copied down 1000's times, however the value of C1 & D1 change intermittently
I want to automate the process the value of c1 & d1 will remain the same for 20 rows and then change to new values for a further 50 rows and this continues.

At the moment I have in cell C1 '=$F$1' & D1 '=$G$1' which is the first 20 rows then I manually change the value C1 to =$F$2 & D1 =$G$2 for 50 rows and so on

Again Be gentle and thank you for your help

Last edited by snoop; 03-16-2017 at 06:49 PM.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
filling in blank cells with data from cell above RayK Excel 1 01-12-2017 04:14 PM
filling a row value from another cell matching data from one work sheet to another, then auto filling missing cell information timomaha Excel 1 09-12-2014 07:51 AM
filling a row value from another cell Text Form Fields - Filling the table cell simville02 Word Tables 1 01-31-2013 11:12 PM
filling a row value from another cell Image filling a Word table cell completely? Elisabeth Word Tables 1 07-18-2012 07:21 AM
Filling the consecutive cell by day. aligahk06 Excel 1 09-15-2010 08:17 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft