#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default #value error?

I keep getting a #value error and i'm not sure why?
=SUM(IF(Capitol!$B$13:$B$15=$L$4,IF(Capitol!$C$13: $C$15=$L$5,IF(Capitol!$D$13:$D$15=$L$6,IF(Capitol! $A$13:$A$15,1,0)))))

Thanks for any help
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default #value error?

This looks like an array formula.

F2 then CTRL + SHIFT + ENTER

Excel will put { } around it.


Gord Dibben MS Excel MVP

On Sun, 27 Jul 2008 12:08:59 -0700, kp0250
wrote:

I keep getting a #value error and i'm not sure why?
=SUM(IF(Capitol!$B$13:$B$15=$L$4,IF(Capitol!$C$13 :$C$15=$L$5,IF(Capitol!$D$13:$D$15=$L$6,IF(Capitol !$A$13:$A$15,1,0)))))

Thanks for any help


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default #value error?

In addition...

What are you attempting to do with the last IF:

....IF(Capitol!$A$13:$A$15,1,0)...

If there are any TEXT entries in that range you'll also get the #VALUE!
error.

You can do this with a normally entered formula. The "blank area" at the end
is for whatever IF(Capitol!$A$13:$A$15 is supposed to do/mean.

=SUMPRODUCT(--(Capitol!$B$13:$B$15=$L$4),--(Capitol!$C$13:$C$15=$L$5),--(Capitol!$D$13:$D$15=$L$6),--(............))


--
Biff
Microsoft Excel MVP


"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
This looks like an array formula.

F2 then CTRL + SHIFT + ENTER

Excel will put { } around it.


Gord Dibben MS Excel MVP

On Sun, 27 Jul 2008 12:08:59 -0700, kp0250
wrote:

I keep getting a #value error and i'm not sure why?
=SUM(IF(Capitol!$B$13:$B$15=$L$4,IF(Capitol!$C$1 3:$C$15=$L$5,IF(Capitol!$D$13:$D$15=$L$6,IF(Capito l!$A$13:$A$15,1,0)))))

Thanks for any help




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 287
Default #value error?

That formula needs "array entering", i.e. confirmed with CTRL+SHIFT+ENTER so
that curly braces appear around the formula, have you done that?

"kp0250" wrote:

I keep getting a #value error and i'm not sure why?
=SUM(IF(Capitol!$B$13:$B$15=$L$4,IF(Capitol!$C$13: $C$15=$L$5,IF(Capitol!$D$13:$D$15=$L$6,IF(Capitol! $A$13:$A$15,1,0)))))

Thanks for any help

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default #value error?

I have now... lol

It was such an easy fix, but i didn't realize it. Thank you.

"daddylonglegs" wrote:

That formula needs "array entering", i.e. confirmed with CTRL+SHIFT+ENTER so
that curly braces appear around the formula, have you done that?

"kp0250" wrote:

I keep getting a #value error and i'm not sure why?
=SUM(IF(Capitol!$B$13:$B$15=$L$4,IF(Capitol!$C$13: $C$15=$L$5,IF(Capitol!$D$13:$D$15=$L$6,IF(Capitol! $A$13:$A$15,1,0)))))

Thanks for any help

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
Error of slope taking into account error of the data points cer144 Excel Worksheet Functions 5 July 7th 08 07:26 PM
Error: "Excel encountered an error and had to remove some formatti Carl Excel Discussion (Misc queries) 0 September 18th 06 06:39 PM
Counting instances of found text (Excel error? Or user error?) S Davis Excel Worksheet Functions 5 September 12th 06 04:52 PM
Excel 2003 Macro Error - Runtime error 1004 Cow Excel Discussion (Misc queries) 2 June 7th 05 01:40 PM


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