Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default SUMIF FUNCTION works in all cells but those related to one account

My Excel Workbook (2003 version_ includes two tabs (spreadsheets. The first
tab is an income statement. The second tab is a trial balance.

The first spreadsheet has one column of account numbers. The SUMIF function
is in the amount column to the right of the account number column and it
refers to the second spreadsheet account number column. The formula pulls
dollar amounts from that spreadsheet (Trial Balance) for each account number
found in the first spreadsheet.

This SUMIF function works in ever cell of the first spreadsheet except for
cells with one specific account number. There is no error message. It simply
returns a ZERO amount. Formatting is "general" for the account number
columns in both spreadsheets. The account number in question is exactly the
same in both spreadsheets.

Any ideas why this is happening?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default SUMIF FUNCTION works in all cells but those related to one account

The numbers for that account may not be numeric numbers. They may be TEXT
numbers. NUMERIC numbers and TEXT numbers are not the same even though they
may look the same. Or, the accounts don't *exactly* match from sheet to
sheet.

The problem is one or the other!

If your formula works for every other account then I'd look at the accounts
not exactly matching from sheet to sheet as the culprit.

--
Biff
Microsoft Excel MVP


"Skyhawk" wrote in message
...
My Excel Workbook (2003 version_ includes two tabs (spreadsheets. The
first
tab is an income statement. The second tab is a trial balance.

The first spreadsheet has one column of account numbers. The SUMIF
function
is in the amount column to the right of the account number column and it
refers to the second spreadsheet account number column. The formula pulls
dollar amounts from that spreadsheet (Trial Balance) for each account
number
found in the first spreadsheet.

This SUMIF function works in ever cell of the first spreadsheet except for
cells with one specific account number. There is no error message. It
simply
returns a ZERO amount. Formatting is "general" for the account number
columns in both spreadsheets. The account number in question is exactly
the
same in both spreadsheets.

Any ideas why this is happening?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default SUMIF FUNCTION works in all cells but those related to one account

Wihtout seeing your data, possible ideas:

The sum really is zero? Don't know if negative charges exist.

One of the heet's account numbers was originally entered as text. Even if
you then switch the formatting later to general, XL will stores the 'number'
as text, and you won't get a match.

Is there a chance that some zero's have been etnered as O's?
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Skyhawk" wrote:

My Excel Workbook (2003 version_ includes two tabs (spreadsheets. The first
tab is an income statement. The second tab is a trial balance.

The first spreadsheet has one column of account numbers. The SUMIF function
is in the amount column to the right of the account number column and it
refers to the second spreadsheet account number column. The formula pulls
dollar amounts from that spreadsheet (Trial Balance) for each account number
found in the first spreadsheet.

This SUMIF function works in ever cell of the first spreadsheet except for
cells with one specific account number. There is no error message. It simply
returns a ZERO amount. Formatting is "general" for the account number
columns in both spreadsheets. The account number in question is exactly the
same in both spreadsheets.

Any ideas why this is happening?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default SUMIF FUNCTION works in all cells but those related to one acc

Thank you for the quick response.

After checking the formatting, I found all the same. However, on a whim I
copied the problem account number from another source and pasted it into my
spreadsheet. Whalla! It worked. Funny thing, though: formatting was exactly
the same as the number replaced. Oh well: I guess this is one of the
"mysteries" inherrent in Excel...

Skyhawk

"T. Valko" wrote:

The numbers for that account may not be numeric numbers. They may be TEXT
numbers. NUMERIC numbers and TEXT numbers are not the same even though they
may look the same. Or, the accounts don't *exactly* match from sheet to
sheet.

The problem is one or the other!

If your formula works for every other account then I'd look at the accounts
not exactly matching from sheet to sheet as the culprit.

--
Biff
Microsoft Excel MVP


"Skyhawk" wrote in message
...
My Excel Workbook (2003 version_ includes two tabs (spreadsheets. The
first
tab is an income statement. The second tab is a trial balance.

The first spreadsheet has one column of account numbers. The SUMIF
function
is in the amount column to the right of the account number column and it
refers to the second spreadsheet account number column. The formula pulls
dollar amounts from that spreadsheet (Trial Balance) for each account
number
found in the first spreadsheet.

This SUMIF function works in ever cell of the first spreadsheet except for
cells with one specific account number. There is no error message. It
simply
returns a ZERO amount. Formatting is "general" for the account number
columns in both spreadsheets. The account number in question is exactly
the
same in both spreadsheets.

Any ideas why this is happening?




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default SUMIF FUNCTION works in all cells but those related to one acc

That means your account numbers didn't exactly match from sheet to sheet.

When you copied/pasted you also copied/pasted the format of the source cell.
This is the default behavior unless you use Paste Special and explicitly
exclude formats. Apparently, this new format then matched the format of the
other sheet and is now a match.

--
Biff
Microsoft Excel MVP


"Skyhawk" wrote in message
...
Thank you for the quick response.

After checking the formatting, I found all the same. However, on a whim I
copied the problem account number from another source and pasted it into
my
spreadsheet. Whalla! It worked. Funny thing, though: formatting was
exactly
the same as the number replaced. Oh well: I guess this is one of the
"mysteries" inherrent in Excel...

Skyhawk

"T. Valko" wrote:

The numbers for that account may not be numeric numbers. They may be TEXT
numbers. NUMERIC numbers and TEXT numbers are not the same even though
they
may look the same. Or, the accounts don't *exactly* match from sheet to
sheet.

The problem is one or the other!

If your formula works for every other account then I'd look at the
accounts
not exactly matching from sheet to sheet as the culprit.

--
Biff
Microsoft Excel MVP


"Skyhawk" wrote in message
...
My Excel Workbook (2003 version_ includes two tabs (spreadsheets. The
first
tab is an income statement. The second tab is a trial balance.

The first spreadsheet has one column of account numbers. The SUMIF
function
is in the amount column to the right of the account number column and
it
refers to the second spreadsheet account number column. The formula
pulls
dollar amounts from that spreadsheet (Trial Balance) for each account
number
found in the first spreadsheet.

This SUMIF function works in ever cell of the first spreadsheet except
for
cells with one specific account number. There is no error message. It
simply
returns a ZERO amount. Formatting is "general" for the account number
columns in both spreadsheets. The account number in question is exactly
the
same in both spreadsheets.

Any ideas why this is happening?






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
sumif based on last digit of account list Ted Metro Excel Worksheet Functions 1 March 28th 07 09:42 PM
How to use SUMIF function with non-adjacent cells KLaw Excel Worksheet Functions 5 October 19th 06 10:15 AM
Adding cells with the same color, sub works but function doesnt jerredjohnson Excel Discussion (Misc queries) 1 April 18th 06 08:31 PM
Sumif function, nonadjacent cells HFWS Excel Worksheet Functions 5 March 3rd 06 05:18 PM
SUMIF other related field contains certain information Sunantoro Excel Discussion (Misc queries) 3 September 19th 05 10:01 AM


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