Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
imjustme
 
Posts: n/a
Default Do Not count blank cells


Hi all!!

I have been trying to figure out how to NOT have excel count blank
cells when it is counting my information that my formulas are telling
it to count. This is my current formula (array):

=SUMPRODUCT(--(oc!$C$1:$C$1000=435),--(oc!$H$1:$H$2000="approved"),--(oc!$D$1:$D$1000="telemedicine")

I have to put a space in each blank cell (which could be a bunch)

Thanks

Dee


--
imjustme
------------------------------------------------------------------------
imjustme's Profile: http://www.excelforum.com/member.php...o&userid=26854
View this thread: http://www.excelforum.com/showthread...hreadid=480665

  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default Do Not count blank cells

Why would it count blank cells?


--

Regards,

Peo Sjoblom

"imjustme" wrote in
message ...

Hi all!!

I have been trying to figure out how to NOT have excel count blank
cells when it is counting my information that my formulas are telling
it to count. This is my current formula (array):


=SUMPRODUCT(--(oc!$C$1:$C$1000=435),--(oc!$H$1:$H$2000="approved"),--(oc!$D$
1:$D$1000="telemedicine")

I have to put a space in each blank cell (which could be a bunch)

Thanks

Dee


--
imjustme
------------------------------------------------------------------------
imjustme's Profile:

http://www.excelforum.com/member.php...o&userid=26854
View this thread: http://www.excelforum.com/showthread...hreadid=480665



  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default Do Not count blank cells

I'm kind of amazed it worked at all.

First, this shouldn't be array entered (ctrl-shift-enter) if that's what you
meant. Just hitting enter will be sufficient.

Second, you're missing a final close parenthesis at the end.

And lastly, don't you want all the ranges to be 1:1000 or 1:2000?



imjustme wrote:

Hi all!!

I have been trying to figure out how to NOT have excel count blank
cells when it is counting my information that my formulas are telling
it to count. This is my current formula (array):

=SUMPRODUCT(--(oc!$C$1:$C$1000=435),--(oc!$H$1:$H$2000="approved"),--(oc!$D$1:$D$1000="telemedicine")

I have to put a space in each blank cell (which could be a bunch)

Thanks

Dee

--
imjustme
------------------------------------------------------------------------
imjustme's Profile: http://www.excelforum.com/member.php...o&userid=26854
View this thread: http://www.excelforum.com/showthread...hreadid=480665


--

Dave Peterson
  #4   Report Post  
imjustme
 
Posts: n/a
Default Do Not count blank cells


I do not know why it is counting the blank cells. There used to be
information in them and then I deleted it out. It will not do it for
every month just 3 out of the 12.

=SUMPRODUCT(--(ma!$C$1:$C$1000=690),--(ma!$H$1:$H$1000="approved"),--(ma!$K$1:$K$1000="outpatient")

The reason I was missing a ")" is because when you do C+S+E it will add
it when it adds the }.

=SUMPRODUCT(--(ma!$C$1:$C$1000=690),--(ma!$H$1:$H$1000="approved"),--(ma!$K$1:$K$1000="outpatient"))
This is the formula I should use????


--
imjustme
------------------------------------------------------------------------
imjustme's Profile: http://www.excelforum.com/member.php...o&userid=26854
View this thread: http://www.excelforum.com/showthread...hreadid=480665

  #5   Report Post  
Dave Peterson
 
Posts: n/a
Default Do Not count blank cells

Again, this doesn't need to be entered as an array formula.

And yep, excel will offer to correct the missing parenthesis.

Any chance you have calculation set to manual.
Tools|options|calculation tab is where you would check.

I don't see any reason for it to count blank cells.

if you use 3 separate cells:
=SUMPRODUCT(--(ma!$C$1:$C$1000=690))
=SUMPRODUCT(--(ma!$H$1:$H$1000="approved"))
=SUMPRODUCT(--(ma!$K$1:$K$1000="outpatient"))

Do each of those count correctly? (Each of those answers won't be the same as
the long formula--well, unless by chance.)


imjustme wrote:

I do not know why it is counting the blank cells. There used to be
information in them and then I deleted it out. It will not do it for
every month just 3 out of the 12.

=SUMPRODUCT(--(ma!$C$1:$C$1000=690),--(ma!$H$1:$H$1000="approved"),--(ma!$K$1:$K$1000="outpatient")

The reason I was missing a ")" is because when you do C+S+E it will add
it when it adds the }.

=SUMPRODUCT(--(ma!$C$1:$C$1000=690),--(ma!$H$1:$H$1000="approved"),--(ma!$K$1:$K$1000="outpatient"))
This is the formula I should use????

--
imjustme
------------------------------------------------------------------------
imjustme's Profile: http://www.excelforum.com/member.php...o&userid=26854
View this thread: http://www.excelforum.com/showthread...hreadid=480665


--

Dave Peterson
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
count number of cells bill gras Excel Worksheet Functions 4 October 3rd 05 07:15 AM
Generating truly blank cells Nat Excel Worksheet Functions 4 September 30th 05 11:39 PM
formula to count cells not blanK pmarques Excel Worksheet Functions 4 August 3rd 05 01:44 PM
removing blank cells from a column joeeng Excel Discussion (Misc queries) 1 July 26th 05 08:01 PM
blank cells R.VENKATARAMAN Excel Discussion (Misc queries) 1 April 6th 05 10:25 AM


All times are GMT +1. The time now is 10:52 AM.

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"