if error aggregate fuction

jordanburch

Active Member
Joined
Jun 10, 2016
Messages
440
Office Version
  1. 2016
Hey all,

I have the below function. It seems to only return values from the first aggregate function. I want it to return from both functions if there are values. I have show more below.

=-(IFERROR(IFERROR(AGGREGATE(15,6,($G$4:$G$40)/($G$4:$G$40<>0),ROW(A1)),AGGREGATE(15,6*($B$4:$B$40)/($C$4:$C$40="Not in Idarrs"),ROW(A1)-COUNTIFS($G$4:$G$40,"<>"&""))),0))
a b c
21-3875.001-2 - ALC 5700$ (110,336.00)Not in Idarrs

e f g
21-3875.002-1 - ALC 2100$ (13,724,309.61)$ (13,713,219.06)

It successfully returns the 13 million value, but not the $110 value in b. I want the 13 million and the 110 to be in a list that I put the formula in column c. It seems like its only working for the first part of the formula and the second aggregate function doesn't pull the value. Basically I want it to look like the below

$13713219
$110336

Hopefully this makes sense. Any help is appreciated!

Jordan
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Whilst I have no idea what you are trying to do, you need to replace the * with a ,
 
Upvote 0
Solution
Glad it helped & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,951
Messages
6,122,449
Members
449,083
Latest member
Ava19

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