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 Won't Work for Me

I'm going absolutely batty trying to figure this out. SUMIF simply will not
work for me when I try anything that requires the criteria portion of the
function to be enclosed in double quotes, which completely defeats the
purpose of what I'm trying to accomplish. Here's the formula I would LIKE to
use:

SUMIF('VTI Distributions'!B2:B7,"=D4",'VTI Distributions'!C2:C7)

If I try the following, it returns a nonzero value:

SUMIF('VTI Distributions'!B2:B7,D4,'VTI Distributions'!C2:C7)

Note the only difference is that the criteria portion has been changed to
only sum for a certain value. If I change the criteria portion to "=D4",
this should return the same value as the above, but it is returning zero.

What the heck is going on?


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default SUMIF Won't Work for Me

Disregard. I think I've figured this out after sifting through some of the
other posts here. Seems I need to code the criteria portion as:

"="&D4

"abrake" wrote:

I'm going absolutely batty trying to figure this out. SUMIF simply will not
work for me when I try anything that requires the criteria portion of the
function to be enclosed in double quotes, which completely defeats the
purpose of what I'm trying to accomplish. Here's the formula I would LIKE to
use:

SUMIF('VTI Distributions'!B2:B7,"=D4",'VTI Distributions'!C2:C7)

If I try the following, it returns a nonzero value:

SUMIF('VTI Distributions'!B2:B7,D4,'VTI Distributions'!C2:C7)

Note the only difference is that the criteria portion has been changed to
only sum for a certain value. If I change the criteria portion to "=D4",
this should return the same value as the above, but it is returning zero.

What the heck is going on?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,365
Default SUMIF Won't Work for Me

Yes, that should fix it. In the original format the conditional was looking
for the cells to actually contain 'D4', not the contents of D4.

"abrake" wrote:

Disregard. I think I've figured this out after sifting through some of the
other posts here. Seems I need to code the criteria portion as:

"="&D4

"abrake" wrote:

I'm going absolutely batty trying to figure this out. SUMIF simply will not
work for me when I try anything that requires the criteria portion of the
function to be enclosed in double quotes, which completely defeats the
purpose of what I'm trying to accomplish. Here's the formula I would LIKE to
use:

SUMIF('VTI Distributions'!B2:B7,"=D4",'VTI Distributions'!C2:C7)

If I try the following, it returns a nonzero value:

SUMIF('VTI Distributions'!B2:B7,D4,'VTI Distributions'!C2:C7)

Note the only difference is that the criteria portion has been changed to
only sum for a certain value. If I change the criteria portion to "=D4",
this should return the same value as the above, but it is returning zero.

What the heck is going on?


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
sumproduct return value by comparing two criteria..... [email protected] Excel Worksheet Functions 8 January 5th 07 06:47 PM
Using SUMIF Function with a named cell reference as value in CRITE smilingindigo Excel Worksheet Functions 3 June 29th 06 03:29 AM
Summarizing field quantities for specific records Charleswdowd Excel Worksheet Functions 0 June 2nd 06 01:12 AM
Need Countif to work like Sumif paulgallanter Excel Worksheet Functions 5 April 9th 06 08:54 PM
Work book formulas Jessica Excel Discussion (Misc queries) 1 June 9th 05 10:51 AM


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