Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Unique number counting

I have used a formula from an earlier discussion to count the number of
unique number appearing between E2:E1000.
=SUMPRODUCT((E2:E1000<"")/COUNTIF(E2:E1000,E2:E1000&""))
Column E being house numbers.

I would now like to count how many entries between A2:A1000 =1.
Column A is the number of days a repair is outstanding.

The result would show the number of houses that had repairs outstanding.
Each house can have a number of repairs each with a different number of days
outstanding.

Can anyone help me with this please?

Many thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default Unique number counting

Untested
=SUMPRODUCT(--(A2:A1000=1),--(E2:E1000<""),--(1/COUNTIF(E2:E1000,E2:E1000)))
try it with a small data set
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"DianeandChipps" wrote in message
...
I have used a formula from an earlier discussion to count the number of
unique number appearing between E2:E1000.
=SUMPRODUCT((E2:E1000<"")/COUNTIF(E2:E1000,E2:E1000&""))
Column E being house numbers.

I would now like to count how many entries between A2:A1000 =1.
Column A is the number of days a repair is outstanding.

The result would show the number of houses that had repairs outstanding.
Each house can have a number of repairs each with a different number of
days
outstanding.

Can anyone help me with this please?

Many thanks.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Unique number counting

see first of TWO previous posts

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"DianeandChipps" wrote in message
...
I have used a formula from an earlier discussion to count the number of
unique number appearing between E2:E1000.
=SUMPRODUCT((E2:E1000<"")/COUNTIF(E2:E1000,E2:E1000&""))
Column E being house numbers.

I would now like to count how many entries between A2:A1000 =1.
Column A is the number of days a repair is outstanding.

The result would show the number of houses that had repairs outstanding.
Each house can have a number of repairs each with a different number of

days
outstanding.

Can anyone help me with this please?

Many thanks.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Unique number counting

Thanks for your help, it works great.

Is there any way to vary the range as there may be a different number of
rows each time so I avoid error messages on empty cells?

What does the -- mean? I haven't come across this before.

"Bernard Liengme" wrote:

Untested
=SUMPRODUCT(--(A2:A1000=1),--(E2:E1000<""),--(1/COUNTIF(E2:E1000,E2:E1000)))
try it with a small data set
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"DianeandChipps" wrote in message
...
I have used a formula from an earlier discussion to count the number of
unique number appearing between E2:E1000.
=SUMPRODUCT((E2:E1000<"")/COUNTIF(E2:E1000,E2:E1000&""))
Column E being house numbers.

I would now like to count how many entries between A2:A1000 =1.
Column A is the number of days a repair is outstanding.

The result would show the number of houses that had repairs outstanding.
Each house can have a number of repairs each with a different number of
days
outstanding.

Can anyone help me with this please?

Many thanks.




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Unique number counting

Thanks very much, it works great. What does -- mean, I haven't come across
this before.

Is there any way to vary the the cell range as there may be less than 1000
rows so I avoid the #DIV/0! error message?

Many thanks

"Bernard Liengme" wrote:

Untested
=SUMPRODUCT(--(A2:A1000=1),--(E2:E1000<""),--(1/COUNTIF(E2:E1000,E2:E1000)))
try it with a small data set
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"DianeandChipps" wrote in message
...
I have used a formula from an earlier discussion to count the number of
unique number appearing between E2:E1000.
=SUMPRODUCT((E2:E1000<"")/COUNTIF(E2:E1000,E2:E1000&""))
Column E being house numbers.

I would now like to count how many entries between A2:A1000 =1.
Column A is the number of days a repair is outstanding.

The result would show the number of houses that had repairs outstanding.
Each house can have a number of repairs each with a different number of
days
outstanding.

Can anyone help me with this please?

Many thanks.






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Unique number counting

Thanks Bob but this is only counting the number of entries in column A =1.
I was needing use this answer to count the number of houses (column E) which
had an outstanding repair =1 day.
Bernard has answered this but I still had a few queries which I have posted.

Many thanks for your time.

Diane

"Bob Phillips" wrote:

see first of TWO previous posts

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"DianeandChipps" wrote in message
...
I have used a formula from an earlier discussion to count the number of
unique number appearing between E2:E1000.
=SUMPRODUCT((E2:E1000<"")/COUNTIF(E2:E1000,E2:E1000&""))
Column E being house numbers.

I would now like to count how many entries between A2:A1000 =1.
Column A is the number of days a repair is outstanding.

The result would show the number of houses that had repairs outstanding.
Each house can have a number of repairs each with a different number of

days
outstanding.

Can anyone help me with this please?

Many thanks.




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 618
Default Unique number counting

http://www.mcgimpsey.com/excel/formulae/doubleneg.html
--
David Biddulph

"DianeandChipps" wrote in message
...
Thanks very much, it works great. What does -- mean, I haven't come
across
this before.

....


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
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
Filter unique random number T Harris Excel Worksheet Functions 5 December 25th 05 01:12 PM
Match two tables using unique ID number fisherman Excel Discussion (Misc queries) 1 August 18th 05 02:36 AM
Counting the number of cells meeting conditional formating criteria Jeff Excel Worksheet Functions 4 July 9th 05 01:18 AM
Counting number of grades in a row Marie1uk Excel Worksheet Functions 13 July 6th 05 12:56 PM


All times are GMT +1. The time now is 06:26 PM.

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

About Us

"It's about Microsoft Excel"