Is SUMIF the correct formula here because it doesn't seem to be working...

iamanexcelnoob

Board Regular
Joined
Jun 15, 2016
Messages
71
hey all - i am back again.

so i am trying to sum up H5:L81 if the corresponding text in F5:F81 = "ABC123".

for some reason it is not pulling when i use the following forumula

=SUMIF(F5:L81, F5:F81="ABC123")

what am i doing wrong?

thanks!
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
So if F5="ABCDEF" what do you want to sum? The whole row of H5:L5 or something else?
 
Upvote 0
when the criteria is met in column F, i want to sum the entire corresponding row within array H5:L81

If you want to sum the CORRESPONDING row, you should go with something like this:

Code:
=SUMPRODUCT((F5="ABCDEF")*(H5:L5))

Else, you shoud go with Special-K99's approach, adding the entire range's values, instead of the CORRESPONDING row.
 
Upvote 0

Forum statistics

Threads
1,215,373
Messages
6,124,544
Members
449,169
Latest member
mm424

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