excel - Sum values in columns with variable number of Columns -


i have 'item demand' table have 3 different things:

a column part number of object, several columns dates titles, , quantities values in them.

part number |  date1 |    date2 | date3  |    date4 ... | lead time  2003032.........201.........63.......54..........63.............3    2145631..........54.........21........53..........21............2  4563214.........23..........121.......12.........31.............5 

but here's need , have no clue how.

so if lead time 3 months, need take today's date , sum 3 months, select column correspond result of sum (only same month not same date), take value in column , columns before , sum all.

i'm not sure if have made self clear, i'm sorry if did not. i'll try explain further if there questions.

hope help.

excel 2002

fim. don't need vba situation, formulas sum , offset should do. made simple sheet make clear:

printscreen


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -