#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Conditional Sum

I have a worksheet that has many conditional sum functions in it. The array
is exported data out of an accounting program. The formating is the same
between the criteria and the range however I can not seem to get it to work
when I export new data it just comes back with the answer of zero which is
incorrect. I have other worksheets with the same set up except one of the
criteria has letters and numbers in the criteria and they work fine. In the
worksheet that does not work that same criteria is just numbers. Can someone
help me with this issue?


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Conditional Sum

either your criteria is a text value that LOOKS like a number, or the data
from the accounting program is text. Copy an empty cell (Ctrl-C), select all
the supposedly numeric data from the accounting program, and use Edit-Paste
Special- Add You are adding zero, so the numeric values don't change.
However, if Excel thought they were text, this operation forces Excel to
treat them as numbers.

If that doesn't fix your problem, do the same thing to your criteria.


"prongacct07" wrote:

I have a worksheet that has many conditional sum functions in it. The array
is exported data out of an accounting program. The formating is the same
between the criteria and the range however I can not seem to get it to work
when I export new data it just comes back with the answer of zero which is
incorrect. I have other worksheets with the same set up except one of the
criteria has letters and numbers in the criteria and they work fine. In the
worksheet that does not work that same criteria is just numbers. Can someone
help me with this issue?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Conditional Sum

Thanks for the help. The criteria and the range was already formated as text
manually. the sum column however is still in number format. I have gone
back a reformatted the range and criteria to both be numbers and it still
does not work.

"Duke Carey" wrote:

either your criteria is a text value that LOOKS like a number, or the data
from the accounting program is text. Copy an empty cell (Ctrl-C), select all
the supposedly numeric data from the accounting program, and use Edit-Paste
Special- Add You are adding zero, so the numeric values don't change.
However, if Excel thought they were text, this operation forces Excel to
treat them as numbers.

If that doesn't fix your problem, do the same thing to your criteria.


"prongacct07" wrote:

I have a worksheet that has many conditional sum functions in it. The array
is exported data out of an accounting program. The formating is the same
between the criteria and the range however I can not seem to get it to work
when I export new data it just comes back with the answer of zero which is
incorrect. I have other worksheets with the same set up except one of the
criteria has letters and numbers in the criteria and they work fine. In the
worksheet that does not work that same criteria is just numbers. Can someone
help me with this issue?


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Conditional Sum

Once Excel has treated a number as text, changing the format of the cell
containing it to a numeric format DOES NOT cause Excel to treat it as a
number. You have to force it to a number. The easiest way is to follow the
process I described earlier of copying a blank cell, selecting the data you
want to be numeric, and using Edit-Paste special-Add

"prongacct07" wrote:

Thanks for the help. The criteria and the range was already formated as text
manually. the sum column however is still in number format. I have gone
back a reformatted the range and criteria to both be numbers and it still
does not work.

"Duke Carey" wrote:

either your criteria is a text value that LOOKS like a number, or the data
from the accounting program is text. Copy an empty cell (Ctrl-C), select all
the supposedly numeric data from the accounting program, and use Edit-Paste
Special- Add You are adding zero, so the numeric values don't change.
However, if Excel thought they were text, this operation forces Excel to
treat them as numbers.

If that doesn't fix your problem, do the same thing to your criteria.


"prongacct07" wrote:

I have a worksheet that has many conditional sum functions in it. The array
is exported data out of an accounting program. The formating is the same
between the criteria and the range however I can not seem to get it to work
when I export new data it just comes back with the answer of zero which is
incorrect. I have other worksheets with the same set up except one of the
criteria has letters and numbers in the criteria and they work fine. In the
worksheet that does not work that same criteria is just numbers. Can someone
help me with this issue?


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
Conditional Rank (or rather, Conditional Range) [email protected] Excel Worksheet Functions 6 April 16th 07 06:15 PM
Is IF() Conditional the way to do this? Lorne Oliver Excel Worksheet Functions 9 July 5th 06 06:47 PM
Conditional Sum randys Excel Discussion (Misc queries) 3 September 16th 05 02:08 AM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM
Conditional IF Jon1205 Excel Discussion (Misc queries) 4 July 28th 05 11:25 PM


All times are GMT +1. The time now is 04:10 PM.

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"