Forum Discussion
rachel1205
Jan 23, 2022Copper Contributor
Can someone tell me why I keep getting a naming error on this formula?
=IF(AND(VLOOKUP(I2,Accounts!A:E,5,0)=FIXED EXPENSES,R2=308-0),Bgt_FixedExp!D:D,0),IF(AND(VLOOKUP(I2,Accounts!A:E,5,0)=MATTRESS Revenue,R2=101-1),Bgt_Mattress!F:F,0),IF(AND(VLOOKUP(I2,Accounts!A:E,5,0...
- Jan 31, 2022
Try this then.
HansVogelaar
Jan 31, 2022MVP
That doesn't make much sense. See if the attached version does what you want.
rachel1205
Jan 31, 2022Copper Contributor
No, it does not work. Row 5 should return a value of -16083, which is from column D in the Bgt_FixedExp tab and Row 20 should return a value of -7500, which is from column D in the Bgt_FixedExp tab also. All other values for column 2-21 should be 0. I hope this helps.
- rachel1205Feb 01, 2022Copper ContributorIt worked. Thanks a bunch for your help.
- HansVogelaarJan 31, 2022MVP
Try this then.