Formula string more than 255 characters not work when the source file is closed

Osama Fawzy

New Member
Joined
Aug 24, 2022
Messages
39
Office Version
  1. 2019
  2. 2016
  3. 2013
Platform
  1. Windows
  2. Mobile
Hi, I have the some formulas (such as the below), them linked in between 3 files and doesn't work and return #VALUE! when the source file closed and return the right value when the source file is opening

=IF(NOT(B2="SU-NMG"),SUMIFS('Z:\Planning & Records Depratments\Aircrafts Technical Data\1-Aircraft''s Status\4-SU-NML\[SU-NML_2022.xlsb]AC TLB'!$C$7:$C$1199,'Z:\Planning & Records Depratments\Aircrafts Technical Data\1-Aircraft''s Status\4-SU-NML\[SU-NML_2022.xlsb]AC TLB'!$B$7:$B$1199,">="&J2,'Z:\Planning & Records Depratments\Aircrafts Technical Data\1-Aircraft''s Status\4-SU-NML\[SU-NML_2022.xlsb]AC TLB'!$B$7:$B$1199,"<="&L2),SUMIFS('[SU-NMG_2022.xlsb]AC TLB'!$C$7:$C$1199,'[SU-NMG_2022.xlsb]AC TLB'!$B$7:$B$1199,">="&J2,'[SU-NMG_2022.xlsb]AC TLB'!$B$7:$B$1199,"<="&L2))
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Sumifs does not work with closed workbooks, you will need to use sumproduct instead.
 
Upvote 0
Thank u, but i tried to use sumproduct , but i can't, please if u know tell me how
 
Upvote 0
Try
Excel Formula:
=IF(NOT(B2="SU-NMG"),SUMPRODUCT('Z:\Planning & Records Depratments\Aircrafts Technical Data\1-Aircraft''s Status\4-SU-NML\[SU-NML_2022.xlsb]AC TLB'!$C$7:$C$1199,('Z:\Planning & Records Depratments\Aircrafts Technical Data\1-Aircraft''s Status\4-SU-NML\[SU-NML_2022.xlsb]AC TLB'!$B$7:$B$1199>=J2)*('Z:\Planning & Records Depratments\Aircrafts Technical Data\1-Aircraft''s Status\4-SU-NML\[SU-NML_2022.xlsb]AC TLB'!$B$7:$B$1199<=L2)),SUMPRODUCT('[SU-NMG_2022.xlsb]AC TLB'!$C$7:$C$1199,('[SU-NMG_2022.xlsb]AC TLB'!$B$7:$B$1199>=J2)*('[SU-NMG_2022.xlsb]AC TLB'!$B$7:$B$1199<=L2)))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,226
Messages
6,123,734
Members
449,116
Latest member
alexlomt

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