Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 08-11-2005, 06:58 PM
was was is offline
Registered User
 
Join Date: 21 Feb 2005
Posts: 15
was is becoming part of the community
Counting multiple variables returns #VALUE

Please Register to Remove these Ads

I am attempting to count the number of engineering drawings with an E in the name in column O. Between to dates in column F.

This returns 66 if I just want to find the number of "E" drawings in column O:

SUMPRODUCT(--(ISNUMBER(SEARCH("E",ECNT!O2:O690)))

But when I tried to add a date range for column F to the formula it returns #VALUE:

SUMPRODUCT(--(ISNUMBER(SEARCH("E",ECNT!O2:O690))),--(ECNT!F2:F690>=DATE(2005,4,1)),--(ECNT!F2:F690<=DATE(2005,4,7)))

What gives?

Any help would be greatly appreciated.
Reply With Quote
  #2  
Old 08-11-2005, 10:05 PM
Dave Peterson
Guest
 
Posts: n/a
Re: Counting multiple variables returns #VALUE

I'd look for errors in F2:f690.

Select that range
edit|goto|special
check constants and then uncheck all but errors

If that didn't find something, then do the same for formulas.

(don't forget to look in hidden rows.)

was wrote:
>
> I am attempting to count the number of engineering drawings with an E in
> the name in column O. Between to dates in column F.
>
> This returns 66 if I just want to find the number of "E" drawings in
> column O:
>
> SUMPRODUCT(--(ISNUMBER(SEARCH("E",ECNT!O2:O690)))
>
> But when I tried to add a date range for column F to the formula it
> returns #VALUE:
>
> SUMPRODUCT(--(ISNUMBER(SEARCH("E",ECNT!O2:O690))),--(ECNT!F2:F690>=DATE(2005,4,1)),--(ECNT!F2:F690<=DATE(2005,4,7)))
>
> What gives?
>
> Any help would be greatly appreciated.
>
> --
> was
> ------------------------------------------------------------------------
> was's Profile: http://www.excelforum.com/member.php...o&userid=20211
> View this thread: http://www.excelforum.com/showthread...hreadid=395173


--

Dave Peterson
Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump