Circular reference?

Fegal

Board Regular
Joined
Feb 2, 2013
Messages
101
Office Version
  1. 365
Platform
  1. Windows
Monthly test.xlsx
NO
11/11/20231/12/2023
2
3NovDec
4$ 18,810.00$ 18,810.00
5$ 18,810.00
6$ -
7373.5098.50
Monthly Invoicing
Cell Formulas
RangeFormula
N1:O1N1=DATE(YEAR(N3),MONTH(N3),1)
N4:O4O4=SUMIF($B$24:$B$1017,O$3,$L$24:$L$112)
N5N5=SUMIFS($L$24:$L$1003,$B$24:$B$1003,N$3,$M$24:$M$1003,"y")
N6N6=SUMIFS($L$24:$L$1003,$B$24:$B$1003,N$3,$M$24:$M$1003,"")
N7:O7N7=SUMIF($B$24:$B$1018,N3,$D$24:$D$1013)+SUMIF($B$24:$B$1018,N3,$E$24:$E$1013)

Monthly test.xlsx
BCDEFGHIJKLM
71NovTHS NUFFIELD17.0017.00  $ 1,020.00$ 680.00$ -$ -$ 1,700.00y
72NovTHS RUTHERFORD4.504.50  $ 270.00$ 180.00$ -$ -$ 450.00y
73NovTHS SIDEY SITEWORKS4.504.50  $ 270.00$ 180.00$ -$ -$ 450.00y
74DecTHS SIDEY LOT 412.008.00  $ 720.00$ 320.00$ -$ -$ 1,040.00
75DecTHS MASSEY Lot 31.00   $ 60.00$ -$ -$ -$ 60.00
Monthly Invoicing
Cell Formulas
RangeFormula
D71:D75D71=IF($C71="","",SUMIFS(JAMESTIME,JAMESJOB,$C71,MONTH,$B71))
E71:E75E71=IF($C71="","",SUMIFS(ONETIME,ONEJOB,$C71,MONTH,$B71))
F71:F75F71=IF($C71="","",SUMIFS(TWOTIME,TWOJOB,$C71,MONTH,$B73))
G71:G75G71=IF($C71="","",SUMIFS(THREETIME,THREEJOB,$C71,MONTH,$B73))
H71:H75H71=IFERROR(SUMIF($O:$O,$C71,$P:$P)*D71,"")
I71:I75I71=IFERROR(SUMIF($O:$O,$C71,$Q:$Q)*E71,"")
J71:J75J71=IFERROR(SUMIF($O:$O,$C71,$R:$R)*F71,"")
K71:K75K71=IFERROR(SUMIF($O:$O,$C71,$S:$S)*G71,"")
L71:L75L71=SUM(H71:K71)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B24:M53,B54:C54,D54:M60,C55:C60,B55:B93,C61:M88Cell Valuecontains "$M10="y""textNO
Cells with Data Validation
CellAllowCriteria
C71:C75List=$O$25:$O$100
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Sorry.. pushed enter too fast.

04,5 and 6 have the same formula as N4,5 and 6 but is returning a circular reference that i cannot figure out.
any help apprectiated.

thanks
James
 
Upvote 0
Monthly test.xlsx
NO
11/11/20231/12/2023
2
3NovDec
4$ 18,810.00$ 18,810.00
5$ 18,810.00
6$ -
7373.5098.50
Monthly Invoicing
Cell Formulas
RangeFormula
N1:O1N1=DATE(YEAR(N3),MONTH(N3),1)
N4:O4O4=SUMIF($B$24:$B$1017,O$3,$L$24:$L$112)
N5N5=SUMIFS($L$24:$L$1003,$B$24:$B$1003,N$3,$M$24:$M$1003,"y")
N6N6=SUMIFS($L$24:$L$1003,$B$24:$B$1003,N$3,$M$24:$M$1003,"")
N7:O7N7=SUMIF($B$24:$B$1018,N3,$D$24:$D$1013)+SUMIF($B$24:$B$1018,N3,$E$24:$E$1013)

Monthly test.xlsx
BCDEFGHIJKLM
71NovTHS NUFFIELD17.0017.00  $ 1,020.00$ 680.00$ -$ -$ 1,700.00y
72NovTHS RUTHERFORD4.504.50  $ 270.00$ 180.00$ -$ -$ 450.00y
73NovTHS SIDEY SITEWORKS4.504.50  $ 270.00$ 180.00$ -$ -$ 450.00y
74DecTHS SIDEY LOT 412.008.00  $ 720.00$ 320.00$ -$ -$ 1,040.00
75DecTHS MASSEY Lot 31.00   $ 60.00$ -$ -$ -$ 60.00
Monthly Invoicing
Cell Formulas
RangeFormula
D71:D75D71=IF($C71="","",SUMIFS(JAMESTIME,JAMESJOB,$C71,MONTH,$B71))
E71:E75E71=IF($C71="","",SUMIFS(ONETIME,ONEJOB,$C71,MONTH,$B71))
F71:F75F71=IF($C71="","",SUMIFS(TWOTIME,TWOJOB,$C71,MONTH,$B73))
G71:G75G71=IF($C71="","",SUMIFS(THREETIME,THREEJOB,$C71,MONTH,$B73))
H71:H75H71=IFERROR(SUMIF($O:$O,$C71,$P:$P)*D71,"")
I71:I75I71=IFERROR(SUMIF($O:$O,$C71,$Q:$Q)*E71,"")
J71:J75J71=IFERROR(SUMIF($O:$O,$C71,$R:$R)*F71,"")
K71:K75K71=IFERROR(SUMIF($O:$O,$C71,$S:$S)*G71,"")
L71:L75L71=SUM(H71:K71)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B24:M53,B54:C54,D54:M60,C55:C60,B55:B93,C61:M88Cell Valuecontains "$M10="y""textNO
Cells with Data Validation
CellAllowCriteria
C71:C75List=$O$25:$O$100
so u just want to sumif on Dec ?
 
Upvote 0
ya, ini adalah jumlah jika pada bulan Desember, tetapi saat ini ia mengembalikan referensi seluler dan saya tidak dapat memahaminya
I just tried your formula and it works perfectly with no errors, maybe your Excel has an error or something
 
Upvote 0
Thanks for checking the formula! yeah i dont understand, is there a way to check excel error?
 
Upvote 0
Doesn't it give a cell reference for the circular ref error?

Also, what do your named ranges refer to?
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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