PC Review


Reply
Thread Tools Rate Thread

Blanks and Non blanks

 
 
Rover
Guest
Posts: n/a
 
      8th Apr 2008
Lets say you have a spreadsheet that 2500 rows with 10 or so columns...i need
to be able to calculate subtotals based on blanks and non-blanks of several
columns...ie: if column C is blank, and if column E is non-blank, and column
H is non-blank, then give me the totals of column J...I know you can use a
sort to do this, but its not practical...i tried a sum(if( formula, but no
luck....I appreciate your help...
 
Reply With Quote
 
 
 
 
Joel
Guest
Posts: n/a
 
      8th Apr 2008
IF the cells have numbers, then simply do a sum of the cells to determine if
they arre blank. the SUM function returns zeroes for blank cells.

"Rover" wrote:

> Lets say you have a spreadsheet that 2500 rows with 10 or so columns...i need
> to be able to calculate subtotals based on blanks and non-blanks of several
> columns...ie: if column C is blank, and if column E is non-blank, and column
> H is non-blank, then give me the totals of column J...I know you can use a
> sort to do this, but its not practical...i tried a sum(if( formula, but no
> luck....I appreciate your help...

 
Reply With Quote
 
Rover
Guest
Posts: n/a
 
      8th Apr 2008
Thanks Joel...That is exactly what I am trying to do, but I cant seem to
figure out what the foormula should be.

Lets say you want the sums in column T, if column B is blank, column C is
blank and column D is non-blank.
or

You want the sum in column T, if column B non blank, column is non blank and
column D is blank...

I been trying to figure this out for two days now...any help is appreciated...


"Joel" wrote:

> IF the cells have numbers, then simply do a sum of the cells to determine if
> they arre blank. the SUM function returns zeroes for blank cells.
>
> "Rover" wrote:
>
> > Lets say you have a spreadsheet that 2500 rows with 10 or so columns...i need
> > to be able to calculate subtotals based on blanks and non-blanks of several
> > columns...ie: if column C is blank, and if column E is non-blank, and column
> > H is non-blank, then give me the totals of column J...I know you can use a
> > sort to do this, but its not practical...i tried a sum(if( formula, but no
> > luck....I appreciate your help...

 
Reply With Quote
 
Joel
Guest
Posts: n/a
 
      8th Apr 2008
=IF(AND(SUM(T:T)=0,SUM(C:C)=0,SUM(D)>0),SUM("T:T"),"")

"Rover" wrote:

> Thanks Joel...That is exactly what I am trying to do, but I cant seem to
> figure out what the foormula should be.
>
> Lets say you want the sums in column T, if column B is blank, column C is
> blank and column D is non-blank.
> or
>
> You want the sum in column T, if column B non blank, column is non blank and
> column D is blank...
>
> I been trying to figure this out for two days now...any help is appreciated...
>
>
> "Joel" wrote:
>
> > IF the cells have numbers, then simply do a sum of the cells to determine if
> > they arre blank. the SUM function returns zeroes for blank cells.
> >
> > "Rover" wrote:
> >
> > > Lets say you have a spreadsheet that 2500 rows with 10 or so columns...i need
> > > to be able to calculate subtotals based on blanks and non-blanks of several
> > > columns...ie: if column C is blank, and if column E is non-blank, and column
> > > H is non-blank, then give me the totals of column J...I know you can use a
> > > sort to do this, but its not practical...i tried a sum(if( formula, but no
> > > luck....I appreciate your help...

 
Reply With Quote
 
Rover
Guest
Posts: n/a
 
      8th Apr 2008
Thank you Joel...Does that also work if the cell are date formated? So when
I say blank for no blank, I am referring to dates. What do I use for dates?
I am assuming ="" for blanks and <>"" for non blanks...

"Joel" wrote:

> =IF(AND(SUM(T:T)=0,SUM(C:C)=0,SUM(D)>0),SUM("T:T"),"")
>
> "Rover" wrote:
>
> > Thanks Joel...That is exactly what I am trying to do, but I cant seem to
> > figure out what the foormula should be.
> >
> > Lets say you want the sums in column T, if column B is blank, column C is
> > blank and column D is non-blank.
> > or
> >
> > You want the sum in column T, if column B non blank, column is non blank and
> > column D is blank...
> >
> > I been trying to figure this out for two days now...any help is appreciated...
> >
> >
> > "Joel" wrote:
> >
> > > IF the cells have numbers, then simply do a sum of the cells to determine if
> > > they arre blank. the SUM function returns zeroes for blank cells.
> > >
> > > "Rover" wrote:
> > >
> > > > Lets say you have a spreadsheet that 2500 rows with 10 or so columns...i need
> > > > to be able to calculate subtotals based on blanks and non-blanks of several
> > > > columns...ie: if column C is blank, and if column E is non-blank, and column
> > > > H is non-blank, then give me the totals of column J...I know you can use a
> > > > sort to do this, but its not practical...i tried a sum(if( formula, but no
> > > > luck....I appreciate your help...

 
Reply With Quote
 
Joel
Guest
Posts: n/a
 
      9th Apr 2008
Dates are really numbers formated as a date. It you put a date into a cell
and then change the cell to number forat you will see a number.


The number for the date follows the following rules
1) Jan 1, 1900 is one
2) Each day is also one. the days increment from Jan 1
3) Each hour is 1/24
4) Each minute is 1/1440 which is 24 * 60.
5) All other time is fraction of the day with 1 day equaling one.

"Rover" wrote:

> Thank you Joel...Does that also work if the cell are date formated? So when
> I say blank for no blank, I am referring to dates. What do I use for dates?
> I am assuming ="" for blanks and <>"" for non blanks...
>
> "Joel" wrote:
>
> > =IF(AND(SUM(T:T)=0,SUM(C:C)=0,SUM(D)>0),SUM("T:T"),"")
> >
> > "Rover" wrote:
> >
> > > Thanks Joel...That is exactly what I am trying to do, but I cant seem to
> > > figure out what the foormula should be.
> > >
> > > Lets say you want the sums in column T, if column B is blank, column C is
> > > blank and column D is non-blank.
> > > or
> > >
> > > You want the sum in column T, if column B non blank, column is non blank and
> > > column D is blank...
> > >
> > > I been trying to figure this out for two days now...any help is appreciated...
> > >
> > >
> > > "Joel" wrote:
> > >
> > > > IF the cells have numbers, then simply do a sum of the cells to determine if
> > > > they arre blank. the SUM function returns zeroes for blank cells.
> > > >
> > > > "Rover" wrote:
> > > >
> > > > > Lets say you have a spreadsheet that 2500 rows with 10 or so columns...i need
> > > > > to be able to calculate subtotals based on blanks and non-blanks of several
> > > > > columns...ie: if column C is blank, and if column E is non-blank, and column
> > > > > H is non-blank, then give me the totals of column J...I know you can use a
> > > > > sort to do this, but its not practical...i tried a sum(if( formula, but no
> > > > > luck....I appreciate your help...

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sumproduct copying blanks or how to insert zero into blanks =?Utf-8?B?YXNnMjMwNw==?= Microsoft Excel Worksheet Functions 4 4th Apr 2007 07:26 PM
copy range of cells with blanks then paste without blanks =?Utf-8?B?anVzdGFndXlmcm9ta3k=?= Microsoft Excel Programming 5 3rd Sep 2006 11:23 PM
copy range of cells with blanks then paste without blanks =?Utf-8?B?anVzdGFndXlmcm9ta3k=?= Microsoft Excel Worksheet Functions 1 3rd Sep 2006 07:56 PM
Adding 'Blanks' & 'Non-blanks' to a filter combo box Robin Microsoft Access VBA Modules 2 2nd Aug 2006 05:48 PM
Paste Special Skip Blanks not skipping blanks, but overwriting... =?Utf-8?B?Z3Nyb3Npbg==?= Microsoft Excel Misc 0 22nd Feb 2005 03:33 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:54 AM.