LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default #VALUE!

My cost column K looks for a CPT code in I5, then for that CPT code's cost in the "CPT" worksheet. If no CPT code, then column K is blank
=IF(ISNA(MATCH(I5,CPT!$A$2:$A$52,FALSE)),"",VLOOKU P(I5,CPT!$A$2:$C$52,3,FALSE)

I would like to sum column K based on a date column (G) for the entries in November
=SUMPRODUCT((MONTH(G2:G8)=11)*(K2:K8)
but I keep getting a #VALUE! error in that cell where the SUMPRODUCT formula is located because K5:K8 are blanks.

I have tried squiggly brackets around the SUMPRODUCT formula and using the ISNUMBER command:
=SUMPRODUCT((MONTH(G2:G8)=11)*ISNUMBER(K2:K8)), but I still get that value error. I have also tried pasting only the values into another column and summing that but it still gives me that value error. Help - thanks a million - really - I'm working at a nonprofit company.
 
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



All times are GMT +1. The time now is 12:28 AM.

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

About Us

"It's about Microsoft Excel"