Formula identifies number - returns #value in the end - why?

Camel123

Board Regular
Joined
Jun 5, 2018
Messages
186
Hi,

I have a long formula and have taken snapshots of the last steps in the evaluation chain:
https://imgur.com/a/5z2NzW3

The formula identifies the value I am looking for but in the end it returns #value error. Can I please have some guidance on how to solve this issue? :(
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
What is the formula? It looks as though you are trying to add "" to a number which will cause the error.
 
Upvote 0
What is the formula? It looks as though you are trying to add "" to a number which will cause the error.

Thank you mate your hint solved my issue, I replaced:
=IFERROR(IF($D31=1;"";IF(AND(SUM($T31:$DK31)=0;GD$1>=$R$3;GD$1<EDATE($R$3;$O31));($S31-$E31)/$O31;SUM(SUMIFS($T31:$DK31;$T$1:$DK$1;"<"&GD$1;$T$1:$DK$1;">="&EDATE(GD$1;-$O31))/$O31;IF(AND(DATEVALUE(GD$6&"/1")>AGGREGATE(15;6;DATEVALUE($T$6:$DK$6&"/1")/($T31:$DK31<>"");1);DATEVALUE(GD$6&"/1")<=EDATE(AGGREGATE(15;6;DATEVALUE($T$6:$DK$6&"/1")/($T31:$DK31<>"");1);$O31));SUM($S31-$E31)/$O31;""))));"")

with

=IFERROR(IF($D31=1;"";IF(AND(SUM($T31:$DK31)=0;GD$1>=$R$3;GD$1<EDATE($R$3;$O31));($S31-$E31)/$O31;SUM(SUMIFS($T31:$DK31;$T$1:$DK$1;"<"&GD$1;$T$1:$DK$1;">="&EDATE(GD$1;-$O31))/$O31;IF(AND(DATEVALUE(GD$6&"/1")>AGGREGATE(15;6;DATEVALUE($T$6:$DK$6&"/1")/($T31:$DK31<>"");1);DATEVALUE(GD$6&"/1")<=EDATE(AGGREGATE(15;6;DATEVALUE($T$6:$DK$6&"/1")/($T31:$DK31<>"");1);$O31));SUM($S31-$E31)/$O31;"0"))));"")
 
Upvote 0
Glad you sorted it & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,999
Members
452,373
Latest member
TimReeks

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