vba_learner
New Member
I have a spreadsheet with multiple columns. I need to subtotal the range. I m faced with a problem,as the column in which my figures for subtotal are,keeps changing monthly. I need help with a cha code to carry out subtotal based on column header. So for example if column A has sales,with header "Sales", and colum B has names of sales reps with column header "Names"code should search for a specific user using auto filter and subtotal the visible range that is below the sales header.
Basically I have to total sales figures for sales reps and the names and sales figures columns keep changing each month.
Please help,I hope I m clear in what I m looking for. Thanks for ur help in advance.
Basically I have to total sales figures for sales reps and the names and sales figures columns keep changing each month.
Please help,I hope I m clear in what I m looking for. Thanks for ur help in advance.