Fill down and across when columns and rows are variable

Excelish12

New Member
Joined
Aug 24, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi

I have a worksheet that creates a schedule for venues based on same basic user input i.e. start and end date, times for days of the week. I have a formula that calculates the number of columns to insert after the start date column. I have so far been able to insert blank columns after the start date, to fill in the dates and to calculate the day of the week above the date.
What I cannot figure out is how to insert the formula for time going down and across. The VBA must only insert formulas down up to last row of data based on Venue column and must only fill formula data across up to the Duration Column.

P.S: columns are fixed up to the first date i.e. a user cannot insert any columns here but the columns after this are variable based on the end date.

What is the best way to go about this?
 

Attachments

  • Excel Screenshot.png
    Excel Screenshot.png
    59.2 KB · Views: 5

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,214,968
Messages
6,122,506
Members
449,089
Latest member
RandomExceller01

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