Automatic Forumula Updation?

jamaljan

New Member
Joined
Apr 8, 2010
Messages
35
Well...couldn't think of a better title. I'll explain here what is that I mean by this.

I'm collecting data from around 40 field staff per month. The data structure is not inform in a way that all of them don't have similar number of columns to add data to.

I've resolved the protecting workbook by unlocking the cells to which they can add data BUT the problem is that if they want to add more columns, its not happening after I protect the worksheet.


I need to do 2 things:

1. the staff can add columns to the structure
2. after they have added the column(s), the formula in the final column (Total) should update automatically, i.e. it should include the columns added by the user.


Please tell me if this can be done in excel or should I use some other tool. Point in case, the majority of the staff are novice when it comes to excel.


Thanks & Regards
 

Some videos you may like

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

jamaljan

New Member
Joined
Apr 8, 2010
Messages
35
well, figured it out BUT what should I do so that....

for example if there are A to F columns and the column for Total is G, that the user should add a column only before F and not G, so that the formula is automatically updated ;)
 

jamaljan

New Member
Joined
Apr 8, 2010
Messages
35
Maybe use a Table http://office.microsoft.com/en-us/excel-help/overview-of-excel-tables-HA010048546.aspx

I'm pretty sure this will adjust automatically if columns or rows are added. In Excel before 2007 these were called Lists.
thanks for the link but I didn't find anything there which can restrict the user from adding a column before only column F.




(PS. I've also posted the same question on this forum because I'm too excited to find the solution.... :biggrin: http://www.excelforum.com/excel-programming/738683-automatic-formula-updating.html#post2350483 )
 

bobsan42

Well-known Member
Joined
Jul 14, 2010
Messages
1,343
if the columns added are between the Total Column and the ones already existing - consider using OFFSET and COUNT to create a dynamic range for SUM
Sorry but can't be more specific with so little information.
about the restriction - try to hide all columns after F (if they are not needed)
 

jamaljan

New Member
Joined
Apr 8, 2010
Messages
35
if the columns added are between the Total Column and the ones already existing - consider using OFFSET and COUNT to create a dynamic range for SUM
Sorry but can't be more specific with so little information.
about the restriction - try to hide all columns after F (if they are not needed)
sorry, don't understand what do you mean by OFFSET and COUNT. I've written in the excel file asking users to add column before F so the formula updates automatically but still it would be good if they can't add it otherwise.

As for hiding columns, I don't think there will be of any help. Please tell me what other information is needed. I'm attaching a sample file so you get an idea as to what I'm talking about. :)

well...I can't find anything here to attach the file... :eek:
 

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,105,999
Messages
5,508,708
Members
408,690
Latest member
Lip Renan

This Week's Hot Topics

  • Turn fraction around
    Hello I need to turn a fraction around, for example I have 1/3 but I need to present as 3/1
  • TIme Clock record reformatting to ???
    Hello All, I'd like some help formatting this (Tbl-A)(Loaded via Power Query) [ATTACH type="full" width="511px" alt="PQdata.png"]22252[/ATTACH]...
  • TextBox Match
    hi, I am having a few issues with my code below, what I need it to do is when they enter a value in textbox8 (QTY) either 1,2 or 3 the 3 textboxes...
  • Using Large function based on Multiple Criteria
    Hello, I can't seem to get a Large formula to work based on two criteria's. I can easily get a oldest value based one value, but I'm struggling...
  • Can you check my code please
    Hi, Im going round in circles with a Compil Error End With Without With Here is the code [CODE=rich] Private Sub...
  • Combining 2 pivot tables into 1 chart
    Hello everyone, My question sounds simple but I do not know the answer. I have 2 pivot tables and 2 charts that go with this. However I want to...
Top