SanjayGMusafir
Well-known Member
- Joined
- Sep 7, 2018
- Messages
- 1,513
- Office Version
- 2024
- Platform
- Windows
Hi Experts
I was using following formula, which was working fine.
Then I thought of making it shorter using LET function as below, and it stopped working. When I convert LET Function to Value using F9 key it works. But it isn't working as it is...
I must be missing something very important that I'm unable to identify.
Please help
Thanks in Advance
I was using following formula, which was working fine.
Excel Formula:
=HYPERLINK("#"&
IFERROR((IFS(DAY(TODAY())<=2,
ADDRESS(MATCH(1,INDEX((Banks[Dt]>=EOMONTH(TODAY(),-1))*(Banks[Acc]="CC ICICI SGM")*(Banks[Particulars]="Payment"),0,1),0)+5,COLUMN(Banks[Dt]),4,1),
TRUE,
ADDRESS(MATCH(1,INDEX((Banks[Dt]>=EOMONTH(TODAY(),0))*(Banks[Acc]="CC ICICI SGM")*(Banks[Particulars]="Payment"),0,1),0)+5,COLUMN(Banks[Dt]),4,1))),""),
"aSGM (02/20)"
&
LET(BNm,"CC ICICI SGM",LUNow,XLOOKUP(BNm,CCLimit[CCard],CCLimit[uNow]),LUTY,XLOOKUP(BNm,CCLimit[CCard],CCLimit[bThisYr]),
IFS(LUNow<>"",LUNow,LUTY>0,"`",TRUE,"")))
Then I thought of making it shorter using LET function as below, and it stopped working. When I convert LET Function to Value using F9 key it works. But it isn't working as it is...
Excel Formula:
=HYPERLINK("#"&
LET(BNm,"CC ICICI SGM",BDt,XLOOKUP(BNm,CCLimit[CCard],CCLimit[bDt]),mDt,IFS(DAY(TODAY())<=BDt,EOMONTH(TODAY(),-1),TRUE,EOMONTH(TODAY(),0)),
ADDRESS(MATCH(1,INDEX((Banks[Dt]>=mDt)*(Banks[Acc]=BNm)*(Banks[Particulars]="Payment"),0,1),0)+5,COLUMN(Banks[Dt]),4,1)),
"iSGM (02/20)"
&LET(BNm,"CC ICICI SGM",LUNow,XLOOKUP(BNm,CCLimit[CCard],CCLimit[uNow]),LUTY,XLOOKUP(BNm,CCLimit[CCard],CCLimit[bThisYr]),
IFS(LUNow<>"",LUNow,LUTY>0,"`",TRUE,"")))
I must be missing something very important that I'm unable to identify.
Please help
Thanks in Advance