#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default #VALUE! ERROR

Why am I getting a #VALUE! in a blank cell with the following formula:

=SUMPRODUCT((G32*4+H32*2)*(IF($A32="","",SUMPRODUC T((Sheet1!$A$2:$A$26=$A32)*(Sheet1!$G$2:$G$26)))))
--
George
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default #VALUE! ERROR

Because you're trying to multiply a range by a blank. You can't multiply
blanks; they are valueless.

Better to do something like this:

=IF(ISBLANK($A32),"",[your SUMPRODUCT formula])

Dave
--
Brevity is the soul of wit.


"George" wrote:

Why am I getting a #VALUE! in a blank cell with the following formula:

=SUMPRODUCT((G32*4+H32*2)*(IF($A32="","",SUMPRODUC T((Sheet1!$A$2:$A$26=$A32)*(Sheet1!$G$2:$G$26)))))
--
George

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
Custom error bars not working [email protected] Charts and Charting in Excel 3 December 8th 05 10:17 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Problem Opening an Excel File MSO9.DLL Error Mash23 Links and Linking in Excel 0 August 24th 05 03:21 PM
error "module not found" Amit Excel Discussion (Misc queries) 1 May 13th 05 01:24 PM
#REF error Christen Excel Worksheet Functions 5 November 3rd 04 07:29 PM


All times are GMT +1. The time now is 10:18 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"