PC Review


Reply
Thread Tools Rate Thread

Counting results of a formula

 
 
Nadine
Guest
Posts: n/a
 
      4th May 2010
I have a column that has about 111 rows to it. In each row is a formula that
will find an invoice number if it exists elsewhere. The are alpha-numeric
invoice #s.

I need to count the number of invoices found. If I use the COUNTA formula
for that column it will count those cells that have the fomula in it but no
result. I only want to count those cells that have a result from the
formula. Any ideas for using Excel 2003? Thanks.
 
Reply With Quote
 
 
 
 
Gord Dibben
Guest
Posts: n/a
 
      4th May 2010
=COUNTIF(G1:G111,">""")


Gord Dibben MS Excel MVP

On Tue, 4 May 2010 10:10:01 -0700, Nadine <(E-Mail Removed)>
wrote:

>I have a column that has about 111 rows to it. In each row is a formula that
>will find an invoice number if it exists elsewhere. The are alpha-numeric
>invoice #s.
>
>I need to count the number of invoices found. If I use the COUNTA formula
>for that column it will count those cells that have the fomula in it but no
>result. I only want to count those cells that have a result from the
>formula. Any ideas for using Excel 2003? Thanks.


 
Reply With Quote
 
Bob Umlas, Excel MVP
Guest
Posts: n/a
 
      4th May 2010
=SUMPRODUCT(N(A1:A111<>""))
Bob Umlas
Excel MVP

"Nadine" wrote:

> I have a column that has about 111 rows to it. In each row is a formula that
> will find an invoice number if it exists elsewhere. The are alpha-numeric
> invoice #s.
>
> I need to count the number of invoices found. If I use the COUNTA formula
> for that column it will count those cells that have the fomula in it but no
> result. I only want to count those cells that have a result from the
> formula. Any ideas for using Excel 2003? Thanks.

 
Reply With Quote
 
Nadine
Guest
Posts: n/a
 
      4th May 2010
I get the #NUM result. Thanks for trying.

"Bob Umlas, Excel MVP" wrote:

> =SUMPRODUCT(N(A1:A111<>""))
> Bob Umlas
> Excel MVP
>
> "Nadine" wrote:
>
> > I have a column that has about 111 rows to it. In each row is a formula that
> > will find an invoice number if it exists elsewhere. The are alpha-numeric
> > invoice #s.
> >
> > I need to count the number of invoices found. If I use the COUNTA formula
> > for that column it will count those cells that have the fomula in it but no
> > result. I only want to count those cells that have a result from the
> > formula. Any ideas for using Excel 2003? Thanks.

 
Reply With Quote
 
Bob Umlas, Excel MVP
Guest
Posts: n/a
 
      4th May 2010
The formula can't produce #NUM unless the range already has a #NUM in it. Are
you sure you entered it as written?

"Nadine" wrote:

> I get the #NUM result. Thanks for trying.
>
> "Bob Umlas, Excel MVP" wrote:
>
> > =SUMPRODUCT(N(A1:A111<>""))
> > Bob Umlas
> > Excel MVP
> >
> > "Nadine" wrote:
> >
> > > I have a column that has about 111 rows to it. In each row is a formula that
> > > will find an invoice number if it exists elsewhere. The are alpha-numeric
> > > invoice #s.
> > >
> > > I need to count the number of invoices found. If I use the COUNTA formula
> > > for that column it will count those cells that have the fomula in it but no
> > > result. I only want to count those cells that have a result from the
> > > formula. Any ideas for using Excel 2003? Thanks.

 
Reply With Quote
 
Nadine
Guest
Posts: n/a
 
      4th May 2010
I copied the formula into my worksheet and changed A1:A111 to M:M and the
result is #NUM. Is this due to the fact that my invoice numbers are
alpha-numeric? Thanks.

"Bob Umlas, Excel MVP" wrote:

> The formula can't produce #NUM unless the range already has a #NUM in it. Are
> you sure you entered it as written?
>
> "Nadine" wrote:
>
> > I get the #NUM result. Thanks for trying.
> >
> > "Bob Umlas, Excel MVP" wrote:
> >
> > > =SUMPRODUCT(N(A1:A111<>""))
> > > Bob Umlas
> > > Excel MVP
> > >
> > > "Nadine" wrote:
> > >
> > > > I have a column that has about 111 rows to it. In each row is a formula that
> > > > will find an invoice number if it exists elsewhere. The are alpha-numeric
> > > > invoice #s.
> > > >
> > > > I need to count the number of invoices found. If I use the COUNTA formula
> > > > for that column it will count those cells that have the fomula in it but no
> > > > result. I only want to count those cells that have a result from the
> > > > formula. Any ideas for using Excel 2003? Thanks.

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      4th May 2010
xl2007 is the first version that allows you to use the entire column.

Nadine wrote:
>
> I copied the formula into my worksheet and changed A1:A111 to M:M and the
> result is #NUM. Is this due to the fact that my invoice numbers are
> alpha-numeric? Thanks.
>
> "Bob Umlas, Excel MVP" wrote:
>
> > The formula can't produce #NUM unless the range already has a #NUM in it. Are
> > you sure you entered it as written?
> >
> > "Nadine" wrote:
> >
> > > I get the #NUM result. Thanks for trying.
> > >
> > > "Bob Umlas, Excel MVP" wrote:
> > >
> > > > =SUMPRODUCT(N(A1:A111<>""))
> > > > Bob Umlas
> > > > Excel MVP
> > > >
> > > > "Nadine" wrote:
> > > >
> > > > > I have a column that has about 111 rows to it. In each row is a formula that
> > > > > will find an invoice number if it exists elsewhere. The are alpha-numeric
> > > > > invoice #s.
> > > > >
> > > > > I need to count the number of invoices found. If I use the COUNTA formula
> > > > > for that column it will count those cells that have the fomula in it but no
> > > > > result. I only want to count those cells that have a result from the
> > > > > formula. Any ideas for using Excel 2003? Thanks.


--

Dave Peterson
 
Reply With Quote
 
Tom Hutchins
Guest
Posts: n/a
 
      4th May 2010
In Excel 2003 you can't use whole columns with SUMPRODUCT. If you change M:M
to M1:M111 does it work?

Hutch

"Nadine" wrote:

> I copied the formula into my worksheet and changed A1:A111 to M:M and the
> result is #NUM. Is this due to the fact that my invoice numbers are
> alpha-numeric? Thanks.
>
> "Bob Umlas, Excel MVP" wrote:
>
> > The formula can't produce #NUM unless the range already has a #NUM in it. Are
> > you sure you entered it as written?
> >
> > "Nadine" wrote:
> >
> > > I get the #NUM result. Thanks for trying.
> > >
> > > "Bob Umlas, Excel MVP" wrote:
> > >
> > > > =SUMPRODUCT(N(A1:A111<>""))
> > > > Bob Umlas
> > > > Excel MVP
> > > >
> > > > "Nadine" wrote:
> > > >
> > > > > I have a column that has about 111 rows to it. In each row is a formula that
> > > > > will find an invoice number if it exists elsewhere. The are alpha-numeric
> > > > > invoice #s.
> > > > >
> > > > > I need to count the number of invoices found. If I use the COUNTA formula
> > > > > for that column it will count those cells that have the fomula in it but no
> > > > > result. I only want to count those cells that have a result from the
> > > > > formula. Any ideas for using Excel 2003? Thanks.

 
Reply With Quote
 
Nadine
Guest
Posts: n/a
 
      4th May 2010
Unfortunately not since the data in the column will be expanding and
contracting. I writing the formula in a template to be used for each month.
I have a workaround but was hoping to have it better. Oh, well. Thank you.

"Tom Hutchins" wrote:

> In Excel 2003 you can't use whole columns with SUMPRODUCT. If you change M:M
> to M1:M111 does it work?
>
> Hutch
>
> "Nadine" wrote:
>
> > I copied the formula into my worksheet and changed A1:A111 to M:M and the
> > result is #NUM. Is this due to the fact that my invoice numbers are
> > alpha-numeric? Thanks.
> >
> > "Bob Umlas, Excel MVP" wrote:
> >
> > > The formula can't produce #NUM unless the range already has a #NUM in it. Are
> > > you sure you entered it as written?
> > >
> > > "Nadine" wrote:
> > >
> > > > I get the #NUM result. Thanks for trying.
> > > >
> > > > "Bob Umlas, Excel MVP" wrote:
> > > >
> > > > > =SUMPRODUCT(N(A1:A111<>""))
> > > > > Bob Umlas
> > > > > Excel MVP
> > > > >
> > > > > "Nadine" wrote:
> > > > >
> > > > > > I have a column that has about 111 rows to it. In each row is a formula that
> > > > > > will find an invoice number if it exists elsewhere. The are alpha-numeric
> > > > > > invoice #s.
> > > > > >
> > > > > > I need to count the number of invoices found. If I use the COUNTA formula
> > > > > > for that column it will count those cells that have the fomula in it but no
> > > > > > result. I only want to count those cells that have a result from the
> > > > > > formula. Any ideas for using Excel 2003? Thanks.

 
Reply With Quote
 
Nadine
Guest
Posts: n/a
 
      5th May 2010
Is there a way to have this return a Yes or No for example instead of a 1 or
0? Thanks so much.

"Bob Umlas, Excel MVP" wrote:

> =SUMPRODUCT(N(A1:A111<>""))
> Bob Umlas
> Excel MVP
>
> "Nadine" wrote:
>
> > I have a column that has about 111 rows to it. In each row is a formula that
> > will find an invoice number if it exists elsewhere. The are alpha-numeric
> > invoice #s.
> >
> > I need to count the number of invoices found. If I use the COUNTA formula
> > for that column it will count those cells that have the fomula in it but no
> > result. I only want to count those cells that have a result from the
> > formula. Any ideas for using Excel 2003? Thanks.

 
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
counting results of a list =?Utf-8?B?ZmVyZGU=?= Microsoft Excel Worksheet Functions 2 8th Oct 2005 11:13 AM
Counting different results in a field.... HELP PLEASE =?Utf-8?B?QkRQ?= Microsoft Access Queries 6 19th Feb 2004 04:20 PM
Re: Looking up data then counting results J.E. McGimpsey Microsoft Excel Misc 2 16th Sep 2003 06:44 PM
Re: counting db results? Cowboy \(Gregory A. Beamer\) Microsoft Frontpage 0 10th Jul 2003 09:45 PM
Counting db results? matt shudy Microsoft Frontpage 2 10th Jul 2003 07:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:15 PM.