Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Sum parts of a column

Hi again,

I am still having trouble with suming parts of a column. Can someone please
help. I have changed my thinking since my post on 8th Sept.

Column H has various numbers in it. Column F has some blanks and some
numbers. What I want to do is....

Sum column H until a row has a number in F that is less than 899 and is not
blank (blanks get sumed with numbers above 899). do not include this row in
sum total. Place total in Column I.

I hope that this makes sense.

Thanks

Roger


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Sum parts of a column

How about showing us an example of your data and tell us what result you
expect.

--
Biff
Microsoft Excel MVP


"Roger Dodger" wrote in message
...
Hi again,

I am still having trouble with suming parts of a column. Can someone
please help. I have changed my thinking since my post on 8th Sept.

Column H has various numbers in it. Column F has some blanks and some
numbers. What I want to do is....

Sum column H until a row has a number in F that is less than 899 and is
not blank (blanks get sumed with numbers above 899). do not include this
row in sum total. Place total in Column I.

I hope that this makes sense.

Thanks

Roger



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default Sum parts of a column

Hi Roger,

I'm not sure whether I read your request correctly. Pls verify my example.
First I assume if you meet a blank or 899 value, you will ignore the
following rows.
If you can assign an extra column let say G in this case.
Formula G1 will be =IF(OR(F1="",F1899),FALSE,TRUE), and drag down to end of
F datas.
I1 will be =SUM(INDIRECT("$H$1:H"&MATCH(FALSE,G:G,0)-1))
F G H I
1 500 TRUE 1325 13456
2 123 TRUE 12131
3 FALSE 5151
4 5656 FALSE 1210
5 FALSE 213
6 500 TRUE 515
7 125 TRUE 21
8 3588 FALSE 21
9 65 TRUE 23
10 11 TRUE 123
11 115 TRUE 123


"Roger Dodger" wrote:

Hi again,

I am still having trouble with suming parts of a column. Can someone please
help. I have changed my thinking since my post on 8th Sept.

Column H has various numbers in it. Column F has some blanks and some
numbers. What I want to do is....

Sum column H until a row has a number in F that is less than 899 and is not
blank (blanks get sumed with numbers above 899). do not include this row in
sum total. Place total in Column I.

I hope that this makes sense.

Thanks

Roger



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Protecting different parts of a worksheet James O[_2_] Excel Discussion (Misc queries) 1 April 13th 07 09:03 PM
Totalling Sum of Parts in a 2 column array. steev_jd Excel Discussion (Misc queries) 2 April 26th 06 03:17 PM
hiding parts of a cell dick Excel Discussion (Misc queries) 0 October 17th 05 12:49 AM
How do I strip out some parts of a column of text data? footballcmr2 Excel Discussion (Misc queries) 3 July 1st 05 07:20 PM
There are a couple of parts to this ???...Thank you for the help. Pete Petersen Excel Worksheet Functions 0 December 30th 04 02:45 PM


All times are GMT +1. The time now is 03:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"