#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default FORMULA HELP!!!

I am trying to do the following:

Issue- If B1:B50=Yes and D1:D50=(A specific name) then sum all totals
(Dollar Amounts) in C1:C50 where both of these conditions are true. Can
anyone help. Here is the forumula that I am currently doing, but my result
is always the $VALUE! error.

=SUM(IF(B1:B50=Y*D1:D50=(Specific Name),N6:N45,0))
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default FORMULA HELP!!!

There are many errors there,

for one thing the arrays should be of the same size


=SUM(IF(B1:B50="Y",IF(D1:D50="Specific Name",N1:N50)))


entered with ctrl + shift & enter

it can also be written

=SUMPRODUCT(--(B1:B50="Y"),--(D1:D50="Specific Name"),N1:N50)

entered normally


--
Regards,

Peo Sjoblom





"Bolin" wrote in message
...
I am trying to do the following:

Issue- If B1:B50=Yes and D1:D50=(A specific name) then sum all totals
(Dollar Amounts) in C1:C50 where both of these conditions are true. Can
anyone help. Here is the forumula that I am currently doing, but my
result
is always the $VALUE! error.

=SUM(IF(B1:B50=Y*D1:D50=(Specific Name),N6:N45,0))



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default FORMULA HELP!!!

Try this:

=SUMPRODUCT(--(B1:B50="Yes"),--(D1:D50="Specific Name"),C1:C50)

HTH,
Paul

"Bolin" wrote in message
...
I am trying to do the following:

Issue- If B1:B50=Yes and D1:D50=(A specific name) then sum all totals
(Dollar Amounts) in C1:C50 where both of these conditions are true. Can
anyone help. Here is the forumula that I am currently doing, but my
result
is always the $VALUE! error.

=SUM(IF(B1:B50=Y*D1:D50=(Specific Name),N6:N45,0))



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default FORMULA HELP!!!

Thanks for the help. It works like a charm!!!

"PCLIVE" wrote:

Try this:

=SUMPRODUCT(--(B1:B50="Yes"),--(D1:D50="Specific Name"),C1:C50)

HTH,
Paul

"Bolin" wrote in message
...
I am trying to do the following:

Issue- If B1:B50=Yes and D1:D50=(A specific name) then sum all totals
(Dollar Amounts) in C1:C50 where both of these conditions are true. Can
anyone help. Here is the forumula that I am currently doing, but my
result
is always the $VALUE! error.

=SUM(IF(B1:B50=Y*D1:D50=(Specific Name),N6:N45,0))




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



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