Conditional Sum Wizard woes

I

Ian

If I use the wizard it produces a working cell with my answer. The formula
it creates is:
{=SUM(IF(Bankings!$A$7:$A$42>=DATEVALUE("04/08/2004"),IF(Bankings!$A$7:$A$42<DATEVALUE("04/09/2004"),Bankings!$D$7:$D$42,0),0))}
Note the curly bracket which show up if I click on the cell it populated.
If put the cursor into the edit line but then press return without making
any change I get #VALUE!. Examining the cell again shows the curly brackets
gone. The error tip says "a value used in the formula is of the wrong
datatype".

What on earth is going on?
Ian
PS UK so dd/mm/yyyy form of date if relevant.
 
K

Ken Wright

Those curly braces mean it is an array formula and CANNOT just be put into the
formula manually. You need to enter the formula using CTRL+SHIFT+ENTER.
 
I

Ian

Wow, that is a bit obscure. I will go and play. How was I supposed to guess
that Microsoft!?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top