SUMIF Formula Problem

gheyman

Well-known Member
Joined
Nov 14, 2005
Messages
2,347
Office Version
  1. 365
Platform
  1. Windows
I tried to put a SUMIF formula into my spreadsheet only to find it would not function.

=SUMIF((AQ$8,$Z$7:$AN$7,$Z$19:$AN$19)

Everything looked good, no problems with data in cells, the lookup values matched exactly but it did not calculate - no error signs, just a blank result.

So I had a coworker look at it and he gave me a formula he uses when he cant get a basic SumIf formula to work

{=SUM(IF(AQ$8=$Z$7:$AN$7,$Z19:$AN19))}

The strange thing about this formula is, because of the Funky brackets on the end, you can never click in that cell. If you do, the Funky brackets disappear:
=SUM(IF(AQ$8=$Z$7:$AN$7,$Z19:$AN19)) and the formula no longer works. To get it to work again, you need to click in the cell with the formula, go up to the task bar and click in it at the end of the formula and then hit Ctrl+Shift+Enter to get the brackets {} back so the formula calculates again

CRAZY

Is this really what I need to do?? Why doesn’t the basic SUMIF formula work? Does it not like to work horizontally?
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
The simple SUMIF formula should be:

=SUMIF($Z$7:$AN$7,AQ8,$Z$19:$AN$19)

as for the "funky" version with { } brackets, that is an array formula. Have a read here for more on Array formulas.
 
Upvote 0
Thanks, three people looked at this and no one caught that. You wouldnt think we use SumIf on a regular basis - long day I guess

Thanks
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,827
Members
452,946
Latest member
JoseDavid

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