#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 504
Default =SUMIF

I am trying to use =SUMIF

What I am trying to do is. If B368 is the same as A377 then in B377, I would
like to add F368, G368, H368, I368.

For example if A377 has ABC in it, and B368 has ABC in it, then I would like
B377 to add F368:I368

In B377 I have tried =SUMIF(B368,A377,F368:I368)but it just remains a zero
no matter what values are in F368:I368)

I know I can use this, =SUMIF(B368,"ABC",F368:I368) but this will not work
for me. On any different sheet A377 could be different.

I am using Excel 2007

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default =SUMIF

try this

=SUMPRODUCT((B368=A377)*(F368:I368))

or

=IF(B368=A377,SUM(F368:I368),"")


On Jan 27, 1:23*am, Kevin wrote:
I am trying to use =SUMIF

What I am trying to do is. If B368 is the same as A377 then in B377, I would
like to add F368, G368, H368, I368.

For example if A377 has ABC in it, and B368 has ABC in it, then I would like
B377 to add F368:I368

In B377 I have tried =SUMIF(B368,A377,F368:I368)but it just remains a zero
no matter what values are in F368:I368)

I know I can use this, =SUMIF(B368,"ABC",F368:I368) but this will not work
for me. On any different sheet A377 could be different.

I am using Excel 2007


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default =SUMIF


Kevin;199410 Wrote:
I am trying to use =SUMIF

What I am trying to do is. If B368 is the same as A377 then in B377, I
would
like to add F368, G368, H368, I368.

For example if A377 has ABC in it, and B368 has ABC in it, then I would
like
B377 to add F368:I368

In B377 I have tried =SUMIF(B368,A377,F368:I368)but it just remains a
zero
no matter what values are in F368:I368)

I know I can use this, =SUMIF(B368,"ABC",F368:I368) but this will not
work
for me. On any different sheet A377 could be different.

I am using Excel 2007


Try =if(b368=a377,sum(f368:i368),"")


--
Pecoflyer

Cheers -
*'Membership is free' (http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=54911

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default =SUMIF

=IF(B368=A377,SUM(F368:I368),"whatever you want if the condirtion isn't
met")
--
David Biddulph

"Kevin" wrote in message
...
I am trying to use =SUMIF

What I am trying to do is. If B368 is the same as A377 then in B377, I
would
like to add F368, G368, H368, I368.

For example if A377 has ABC in it, and B368 has ABC in it, then I would
like
B377 to add F368:I368

In B377 I have tried =SUMIF(B368,A377,F368:I368)but it just remains a zero
no matter what values are in F368:I368)

I know I can use this, =SUMIF(B368,"ABC",F368:I368) but this will not work
for me. On any different sheet A377 could be different.

I am using Excel 2007



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 504
Default =SUMIF

Thanks for the quick responses, I used the first one
"=SUMPRODUCT((B368=A377)*(F368:I368))" and it worked fine.

Thanks

"muddan madhu" wrote:

try this

=SUMPRODUCT((B368=A377)*(F368:I368))

or

=IF(B368=A377,SUM(F368:I368),"")


On Jan 27, 1:23 am, Kevin wrote:
I am trying to use =SUMIF

What I am trying to do is. If B368 is the same as A377 then in B377, I would
like to add F368, G368, H368, I368.

For example if A377 has ABC in it, and B368 has ABC in it, then I would like
B377 to add F368:I368

In B377 I have tried =SUMIF(B368,A377,F368:I368)but it just remains a zero
no matter what values are in F368:I368)

I know I can use this, =SUMIF(B368,"ABC",F368:I368) but this will not work
for me. On any different sheet A377 could be different.

I am using Excel 2007



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 for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
sumif Q Mark Dvorkin Excel Worksheet Functions 1 June 7th 05 04:19 AM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 02:32 PM.

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"