Macro Drag Down Help

Fraserj

Board Regular
Joined
Nov 29, 2015
Messages
63
Hello people,

I'm stuck with a spreadsheet I'm trying to do.
I've put it in place for someone else who is even worse at computers than me, Columns C,E,G etc... (alternate columns) all update automatically to a certain extent.
I'm up to row 38 at the minute I want/need
If Column "A" includes a name I want those alternate columns to be dragged down to the row, so that the formula's above are dragged down allowing the formula to work
If you get what I mean

[TABLE="width: 500"]
<tbody>[TR]
[TD]Name
[/TD]
[TD]Date
[/TD]
[TD]Date Renewal
[/TD]
[TD]Date
[/TD]
[TD]Date Renewal
[/TD]
[/TR]
[TR]
[TD]James
[/TD]
[TD]01/01/15
[/TD]
[TD]01/01/16
[/TD]
[TD]02/01/15
[/TD]
[TD]02/01/16
[/TD]
[/TR]
[TR]
[TD]Michael
[/TD]
[TD]01/01/15
[/TD]
[TD]01/01/16
[/TD]
[TD]02/01/15
[/TD]
[TD]02/01/16
[/TD]
[/TR]
[TR]
[TD]Sam
[/TD]
[TD]01/01/15
[/TD]
[TD]01/01/16
[/TD]
[TD]02/01/15
[/TD]
[TD]02/01/16
[/TD]
[/TR]
[TR]
[TD]John
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Basically ^^ If John or any other name is written into A. ... the Date Renewal Column drags down, but only to the column where a name is included... is this possible, thanks in advance
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Could you change the formulas to include an extra bit

=IF($A1="","","your formula here")

and then drag down the entire column to say row 100.

it says if A1 is equal to "" (blank), then make this cell value "" (blank), otherwise do this formula

maybe this is a possibility, then when you add a name the formula is already there, it just ""appears""
 
Upvote 0
Could you change the formulas to include an extra bit

=IF($A1="","","your formula here")

and then drag down the entire column to say row 100.

it says if A1 is equal to "" (blank), then make this cell value "" (blank), otherwise do this formula

maybe this is a possibility, then when you add a name the formula is already there, it just ""appears""

I'm trying that, it doesn't seem to work
The formula I've used isn't hard, just in column C8 .... =B8+365
Any ideas?
 
Upvote 0
So C8 would be;

=IF($A8="","",B8+365)

should return urn the formula result in cell c8, as long as a8 is not blank
 
Upvote 0
No problem. Can prefill cells and then they appear when needed.

Any my more problems post back. I'll check thread in the morning.

Good luck
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,971
Members
452,371
Latest member
Frana

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top