View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Victor Delta[_2_] Victor Delta[_2_] is offline
external usenet poster
 
Posts: 199
Default Add columns to reach a predetermined value

"afn" wrote in message
...
I'm working on spreadsheet that has 1000's of rows and want to be
able
to add up a column until it reaches, for example, 900. And then take
the next set and of rows and do the same. So that there are several
rows "grouped" that the sum of the values in the particular column is
900. As well there will be times after the first "grouping" is set
the
numbers will change so the the procedure will have to redone. OR there
maybe times that the list needs to sorted/filtered and again sum the
rows until 900 is reached.

Also there maybe times when the value of 900 may need to be changed
to
a different #.


You could use conditional formatting to show the groups in different
colours. i.e. set the CF so that the cells in the number column show say a
yellow pattern when the number is 1-900, red for 901-1800, blue for 1801 -
2700 etc

V