Formatting cells filled by array formulae

Ludwig

Board Regular
Joined
Apr 7, 2003
Messages
95
Office Version
  1. 365
Platform
  1. Windows
I have a table where the first column is a date array that fills from a selected a start date to (in effect) the current month. Hence, each month the number of elements in the array extend down the rows.

From that column I then use array formulae to "spill down" calculated values based on each row's date for a number of fields.

What I would like to have is ALL the cell formatting "spill" down for each column as well. I've set the format of the column set so that numbers, [$.c] amounts, text etc are formatted as required for the entire column, but I cannot get cell formatting for borders etc to replicate downward. Means I have to manually format the cell borders as the array rows extend each month.
PS: I don't want to see this border formatting flow down beyond the end of the array row.​

My question:
  • Is there a way to get border formatting to occur for the rows with the array in it, but to *not* show below the 'table' of data.
  • Or do I just have to use conditional formatting to achieve it?
    e.g. conditional formatting borders etc based on something along these lines -
  • Excel Formula:
    AND( row( A1 ) > row( A$5 ) , row(A1) <= count( A$5# ) + row( A$5 ) )
Thanks for the help.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,223,630
Messages
6,173,456
Members
452,514
Latest member
cjkelly15

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