Forum

Notifications
Clear all

Formula for column width?

2 Posts
2 Users
0 Reactions
175 Views
(@gabrielviljoen)
Posts: 3
Active Member
Topic starter
 

Hi

I have a report with actual data for 12 months and then the budgeted data for 12 months in columns.

I use formulas to determine the total at the end of the year. 

My June report total column will be calculated as Jan to May Actual + June to Dec Budget.

I hide the columns not used (Jun to Dec Actual and Jan to May Budget) manually.

Is there an excel formula to hide a column or adjust their width based on a cell value?

I can do this with VBA, but would prefer an Excel formula option.

Gabriel 

 
Posted : 22/06/2024 7:44 am
Riny van Eekelen
(@riny)
Posts: 1195
Member Moderator
 

I'm afraid not. Excel formulas can not manipulate column width. But there are ways to present the data you want with formulas that extract/filter the correct columns from the Actual/Budget table.

Could you upload a file showing how your data is structured? Remove any confidential information.

 
Posted : 23/06/2024 2:09 am
Share: