Formula Help

glerwell

Well-known Member
Joined
Jun 25, 2006
Messages
1,082
Hi

I'm trying this formula which isn't returning what I expect:

Code:
=SUMIFS(INDEX(Q:Q,13):INDEX(Q:Q,$AO$21),INDEX(D:D,13):INDEX(D:D,$AO$21),$AO$27,INDEX(B:B,13):INDEX(B:B,$AO$21),[COLOR="Red"](YEAR(AE60)[/COLOR]))

The problem I think is with the highlighted area.

AE60 is a year ie, 2011 (formatted as general). Column B are dates in dd-mm-yyyy format.

So basically I want to only sum the rows, in which column D matches AO27 and and any dates in column B that are within the year specified in AE60.

Any ideas?

Cheers
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Without looking at the rest of it, change

..., (YEAR(AE60))

to

..., AE60


Year of the serial date 2011 is 1905.
 
Upvote 0

Forum statistics

Threads
1,224,596
Messages
6,179,807
Members
452,944
Latest member
2558216095

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