= sumifs ?

zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,129
Office Version
  1. 365
Platform
  1. Windows
Hi so I am using this below and it works fine. I need update it in a way if I can to sum columns G to K same range if 50 Hud is present

=(SUMIFS($G$2:$G$200,$A$2:$A$200,"50 Hud")) <-- this works


This is what I tried to do and it returns #Value


=(SUMIFS($G$2:$
K​
$200,$A$2:$A$200,"50 Hud"))

I change the G to K so it can pick up all those columns but cant get it. Rather then doing + sumifs + sumifs would like to stay away from that if possible.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Maybe...

=SUMPRODUCT((A2:A200="50 Hud")*G2:K200)

or this array formula (more robust)
=SUM(IF(A2:A200="50 Hud",G2:K200))
Ctrl+Shift+Enter

M.
 
Upvote 0
Hi thnaks for the reply.

=SUMPRODUCT((A2:A200="50 Hud")*G2:K200) This still returns Value right.



=SUM(IF(A2:A200="50 Hud",G2:K200)) This is working but gives me all the value from those columns G to K Even if there is not "50 Hud" In column A I have like
"50 Hud"
"50 Hud2"
"50 Hud3"
Just looking for the Sum from
"50 Hud". It returns all sums
<strike>
</strike>
<strike></strike><strike></strike>
 
Last edited:
Upvote 0
Hi forget it the last one works. I forgot to use
Ctrl+Shift+Enter Sorry about that thanks for the help again
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top