#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Barb Reinhardt
 
Posts: n/a
Default SUMIF Question

I want to sum the values in cells E2:P110 based on the values column D. The
values in D are formulas resulting in something that appears to match D112 in
some cases. I'm using the following equation:

=SUMIF(D2:D110,D112,E2:P110)

My problem is that D2 :D10 have a formula in it and it's not matching. If
I enter the result of the formula, all is good. How should I deal with this?

Thanks in advance,
Barb Reinhardt
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tim C
 
Posts: n/a
Default SUMIF Question

Barb,

It sounds like a rounding issue. What you see displayed may not be the
exact value of the cell. Try modifying your formulas to round the value of
the cell, not just the display.

Tim C

"Barb Reinhardt" wrote in message
...
I want to sum the values in cells E2:P110 based on the values column D.
The
values in D are formulas resulting in something that appears to match D112
in
some cases. I'm using the following equation:

=SUMIF(D2:D110,D112,E2:P110)

My problem is that D2 :D10 have a formula in it and it's not matching.
If
I enter the result of the formula, all is good. How should I deal with
this?

Thanks in advance,
Barb Reinhardt



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Barb Reinhardt
 
Posts: n/a
Default SUMIF Question

The formula is a VLOOKUP and it's pulling TEXT values.

"Tim C" wrote:

Barb,

It sounds like a rounding issue. What you see displayed may not be the
exact value of the cell. Try modifying your formulas to round the value of
the cell, not just the display.

Tim C

"Barb Reinhardt" wrote in message
...
I want to sum the values in cells E2:P110 based on the values column D.
The
values in D are formulas resulting in something that appears to match D112
in
some cases. I'm using the following equation:

=SUMIF(D2:D110,D112,E2:P110)

My problem is that D2 :D10 have a formula in it and it's not matching.
If
I enter the result of the formula, all is good. How should I deal with
this?

Thanks in advance,
Barb Reinhardt




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tim C
 
Posts: n/a
Default SUMIF Question

Barb,

Maybe trailing spaces?

Tim C

"Barb Reinhardt" wrote in message
...
The formula is a VLOOKUP and it's pulling TEXT values.

"Tim C" wrote:

Barb,

It sounds like a rounding issue. What you see displayed may not be the
exact value of the cell. Try modifying your formulas to round the value
of
the cell, not just the display.

Tim C

"Barb Reinhardt" wrote in
message
...
I want to sum the values in cells E2:P110 based on the values column D.
The
values in D are formulas resulting in something that appears to match
D112
in
some cases. I'm using the following equation:

=SUMIF(D2:D110,D112,E2:P110)

My problem is that D2 :D10 have a formula in it and it's not matching.
If
I enter the result of the formula, all is good. How should I deal
with
this?

Thanks in advance,
Barb Reinhardt






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default SUMIF Question

=SUMPRODUCT((D2:D110=D112)*(E2:P110))

Tim C wrote:
Barb,

Maybe trailing spaces?

Tim C

"Barb Reinhardt" wrote in message
...

The formula is a VLOOKUP and it's pulling TEXT values.

"Tim C" wrote:


Barb,

It sounds like a rounding issue. What you see displayed may not be the
exact value of the cell. Try modifying your formulas to round the value
of
the cell, not just the display.

Tim C

"Barb Reinhardt" wrote in
message
...

I want to sum the values in cells E2:P110 based on the values column D.
The
values in D are formulas resulting in something that appears to match
D112
in
some cases. I'm using the following equation:

=SUMIF(D2:D110,D112,E2:P110)

My problem is that D2 :D10 have a formula in it and it's not matching.
If
I enter the result of the formula, all is good. How should I deal
with
this?

Thanks in advance,
Barb Reinhardt








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default SUMIF Question

Hey Bob, I've not seen this symbol before - have you been able to
attach something here? I'm viewing through Google Groups.

Pete

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default SUMIF Question

Pete,

Do you mean that card type icon in the top-right corner? If so, that is a
personalised business card. I was playing with Mozilla Thunderbird
newsreader, and added one. Just trying it out.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Pete_UK" wrote in message
oups.com...
Hey Bob, I've not seen this symbol before - have you been able to
attach something here? I'm viewing through Google Groups.

Pete



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Barb Reinhardt
 
Posts: n/a
Default SUMIF Question

Bob,

Let's say I want to concatenate B2 with D2 and compare it to B114, what do I
change? Or do I need to have a helper column?

=SUMPRODUCT((D2:D110=B114)*(E2:P110))

"Bob Phillips" wrote:

=SUMPRODUCT((D2:D110=D112)*(E2:P110))

Tim C wrote:
Barb,

Maybe trailing spaces?

Tim C

"Barb Reinhardt" wrote in message
...

The formula is a VLOOKUP and it's pulling TEXT values.

"Tim C" wrote:


Barb,

It sounds like a rounding issue. What you see displayed may not be the
exact value of the cell. Try modifying your formulas to round the value
of
the cell, not just the display.

Tim C

"Barb Reinhardt" wrote in
message
...

I want to sum the values in cells E2:P110 based on the values column D.
The
values in D are formulas resulting in something that appears to match
D112
in
some cases. I'm using the following equation:

=SUMIF(D2:D110,D112,E2:P110)

My problem is that D2 :D10 have a formula in it and it's not matching.
If
I enter the result of the formula, all is good. How should I deal
with
this?

Thanks in advance,
Barb Reinhardt






  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Barb Reinhardt
 
Posts: n/a
Default SUMIF Question

Bob, how would I count how many values in E2:P110 have values where the D
column values match D112.



"Bob Phillips" wrote:

=SUMPRODUCT((D2:D110=D112)*(E2:P110))

Tim C wrote:
Barb,

Maybe trailing spaces?

Tim C

"Barb Reinhardt" wrote in message
...

The formula is a VLOOKUP and it's pulling TEXT values.

"Tim C" wrote:


Barb,

It sounds like a rounding issue. What you see displayed may not be the
exact value of the cell. Try modifying your formulas to round the value
of
the cell, not just the display.

Tim C

"Barb Reinhardt" wrote in
message
...

I want to sum the values in cells E2:P110 based on the values column D.
The
values in D are formulas resulting in something that appears to match
D112
in
some cases. I'm using the following equation:

=SUMIF(D2:D110,D112,E2:P110)

My problem is that D2 :D10 have a formula in it and it's not matching.
If
I enter the result of the formula, all is good. How should I deal
with
this?

Thanks in advance,
Barb Reinhardt






  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default SUMIF Question

No, you can do that

=SUMPRODUCT((B2:B110&D2:D110=B114)*(E2:P110))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Barb Reinhardt" wrote in message
...
Bob,

Let's say I want to concatenate B2 with D2 and compare it to B114, what do

I
change? Or do I need to have a helper column?

=SUMPRODUCT((D2:D110=B114)*(E2:P110))

"Bob Phillips" wrote:

=SUMPRODUCT((D2:D110=D112)*(E2:P110))





  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default SUMIF Question

Just test the range rather than multiply it

=SUMPRODUCT((D2:D110=B114)*(ISNUMBER(E2:P110)))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Barb Reinhardt" wrote in message
...
Bob, how would I count how many values in E2:P110 have values where the D
column values match D112.



"Bob Phillips" wrote:

=SUMPRODUCT((D2:D110=D112)*(E2:P110))

Tim C wrote:
Barb,

Maybe trailing spaces?

Tim C

"Barb Reinhardt" wrote in

message
...

The formula is a VLOOKUP and it's pulling TEXT values.

"Tim C" wrote:


Barb,

It sounds like a rounding issue. What you see displayed may not be

the
exact value of the cell. Try modifying your formulas to round the

value
of
the cell, not just the display.

Tim C

"Barb Reinhardt" wrote in
message
...

I want to sum the values in cells E2:P110 based on the values column

D.
The
values in D are formulas resulting in something that appears to

match
D112
in
some cases. I'm using the following equation:

=SUMIF(D2:D110,D112,E2:P110)

My problem is that D2 :D10 have a formula in it and it's not

matching.
If
I enter the result of the formula, all is good. How should I deal
with
this?

Thanks in advance,
Barb Reinhardt








  #12   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Aladin Akyurek
 
Posts: n/a
Default SUMIF Question

Better switch to a Sum/If formula when a vector and a matrix involved:

=SUM(IF(D2:D100=D112,E2:P100))

which needs to be confirmed with control+shift+enter.

In fact, it's not unreasonable to create a total per record in an
aditional column and invoke an ordinary Sumif formula:

Q2, copied down:

=SUM(E2:P2)

Then:

=SUMIF(D2:D110,D112,Q2:Q110)

Barb Reinhardt wrote:
I want to sum the values in cells E2:P110 based on the values column D. The
values in D are formulas resulting in something that appears to match D112 in
some cases. I'm using the following equation:

=SUMIF(D2:D110,D112,E2:P110)

My problem is that D2 :D10 have a formula in it and it's not matching. If
I enter the result of the formula, all is good. How should I deal with this?

Thanks in advance,
Barb Reinhardt

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 of Sumif perhaps? Fred Excel Discussion (Misc queries) 2 March 29th 06 05:39 PM
SUMIF Question Criteria Dave Excel Worksheet Functions 3 February 8th 06 12:48 PM
SUMIF, multiple criteria Lauren753 Excel Discussion (Misc queries) 1 June 20th 05 08:28 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM
sumif Question Jason Excel Discussion (Misc queries) 4 March 15th 05 04:11 PM


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