= sumifs ?

zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,125
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

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
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,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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