Convert Array formula to equivalent regular formula in excel

Akbarov

Active Member
Joined
Jun 30, 2018
Messages
347
Office Version
  1. 365
Platform
  1. Windows
Hi dear community,

I need help to convert Array formula to equivalent regular formula in excel.

=IF(ROUNDUP(SUMIFS($R$12:$R$91578,$C$12:$C$91578,C12,$D$12:$D$91578,D12),0)<ROUND(Q12,0),
IF(R12>0,R12,IF(P12>=LARGE(IF(($C$12:$C$91578=C12)*($D$12:$D$91578=D12),$P$12:$P$91578),ROUND(((Q12-SUMIFS($R$12:$R$91578,$C$12:$C$91578,C12,$D$12:$D$91578,D12))/$C$7),0)),$C$7,0)),R12)

Can anybody help me please?
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
You would have more chance of getting help if you posted some sample data.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.


Also what version of excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Hi Fluff thanks for response, last row ( yellow ) is where I have that array formula.
test array.xlsb
BCDEFG
4
5
60
7
8
9
10TFA20200%90.00.0
11TFA20200%90.00.0
12TFA20200%90.00.0
13TFA20200%90.00.0
14TFA20200%90.00.0
15TFA20200%90.00.0
16TFA20200%90.00.0
17TFA20200%90.00.0
18TFA20200%90.00.0
19TFA20200%90.00.0
20TFA20200%90.00.0
21TFA20210%90.00.0
22TFA20210%90.00.0
23TFA20210%90.00.0
24TFA20210%90.00.0
25LW20210%90.00.0
26TFA20210%90.00.0
27TFA20210%90.00.0
28TFA20210%90.00.0
29TFA20210%90.00.0
30TFA20210%90.00.0
test
Cell Formulas
RangeFormula
D10D10=IFERROR(IF(#REF!="NO",0,IF(#REF!="NO",0,#REF!+(IF(#REF!="YES",$B$7,0)))),0)
E10:E30E10=MAX(ABS(IF(C10=2019,0,(INDEX(#REF!$C$16:$AH$19,MATCH(test!B10,#REF!$B$16:$B$19,0),MATCH(test!C10,#REF!$C$15:$AH$15,0))*SUMIFS(#REF!,$B$10:$B$30,B10,$C$10:$C$30,C10-1))-SUMPRODUCT((#REF!$J$23:$U$23=test!C10)*(#REF!$I$24:$I$754=#REF!$I$24:$I$754)*#REF!$J$24:$U$754))),0)
F10:F30F10=SUMPRODUCT((#REF!$J$23:$U$23=C10)*(#REF!$I$24:$I$754=#REF!)*(#REF!$J$24:$U$754))+IFERROR(MROUND((D10/SUMIFS($D$10:$D$30,$C$10:$C$30,C10,$B$10:$B$30,B10))*E10,$B$6),0)
G10:G30G10=IF(ROUNDUP(SUMIFS($F$10:$F$30,$B$10:$B$30,B10,$C$10:$C$30,C10),5)<ROUND(E10,0), IF(F10>0,F10,IF(D10>=LARGE(IF(($B$10:$B$30=B10)*($C$10:$C$30=C10),$D$10:$D$30),ROUND(((E10-SUMIFS($F$10:$F$30,$B$10:$B$30,B10,$C$10:$C$30,C10))/$B$6),0)),$B$6,0)),F10)
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Thanks for that, but as there is no real data there I cannot test this, but try
Excel Formula:
=LET(a,ROUNDUP(SUMIFS($F$10:$F$30,$B$10:$B$30,B10,$C$10:$C$30,C10),5),IF(a<ROUND(E10,0),IF(F10>0,F10,IF(D10>=LARGE(FILTER(D10:D30,($B$10:$B$30=B10)*($C$10:$C$30=C10)),ROUND((E10-a)/$B$6,0)),$B$6,0)),F10))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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