Conditional Sum

H

harman

Hi,
I am trying to get some information out of a sheet using conditiona
sum wizard.

BookCode BookYear StatementDate Deposit TotalReceivable
SL 03 9/1/2005 180.00 1,195.00
SL 03 9/1/2005 704.00 4,689.00
SL 03 9/1/2005 703.35 4,689.00
NH 04 9/1/2005 2,250.0
15,000.00
RR 04B 9/1/2005 10.00 55.0

DP 03 9/1/2005 -
1,343.00
WH 02 9/1/2005 229.17
687.50


I get a reasult back for (BookCode=RR and BookYear=04B) but if I us
any other *BookYear *it always returns a 0 for example if i want sum o
Deposit where BookCode=SL and BookYear = 03 it returns a 0. I Think th
leading 0 in the BookYear is the problem but then why does BookYear=04
work.

- Any help is appreciated ..
 
G

Guest

Hi Harman,

I think the issue is that the conditional sum wizard is trying to convert
the criteria you select into a number so 03 becomes 3 and then it can't find
a match.

The simplest fix appears to be to prefix your book years with a non-numeric
digit so Excel cannot convert them to numbers. If you prefix each book year
with a 'Y' so e.g. 03 becomes Y03 then the wizard seems to work OK.

An alternative would be to convert all Book Years that can be numbers into
numbers and then treat them as numbers in the wizard so 03 becomes 3. You
could then use a custom format on the column to format the figure as 03.

Hope this makes sense and helps,

Mark
 

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