Too many arguments in formula

Jodester

New Member
Joined
Jan 8, 2018
Messages
1
Please help.
My workbook has 2 sheets - Sheet 1 (data) & Sheet 2 (report)
I am trying to calculate the cost of repairs to a number of properties. So Sheet 1 Column D contains the address of the property, Column H contains the cost (some positive and some negative amounts). A5 refers to Sheet 2 (address of property).
In Sheet 2 I have the following formula which is currently working: = SUMIF('Sheet 1'!D:D, A5,'Sheet 1'!H:H)
My problem is that I do not want it to include negative amounts when adding the numbers
I tried the following formula which is returning "Too many arguments" error message: = SUMIF('Sheet 1'!D:D, A5,'Sheet 1'!H:H,">0")
Any assistance would be appreciated.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
You'll need sumifS, assuming you have XL2007+

=SUMIFS('Sheet 1'!H:H,Sheet 1'!D:D, A5,'Sheet 1'!H:H,">0")
 
Upvote 0

Forum statistics

Threads
1,215,008
Messages
6,122,672
Members
449,091
Latest member
peppernaut

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