davids4500
New Member
- Joined
- Jan 14, 2023
- Messages
- 44
- Office Version
- 365
- Platform
- Windows
Hi everybody.
I have the formula =IF(AND(E12 = 0,'Sales&ExpensesInfo'!L4>1),'Sales&ExpensesInfo'!L4,IF(AND(E12 > 1,'Sales&ExpensesInfo'!L4>1),E12)).
In the spreadsheet B4 =DATE(YEAR(TODAY()), MONTH(TODAY()), 1) and this is a mmm-yyyy format.
I need to add to the above formula If &TEXT(EDATE(B4, 0),"mmm yyyy" then proceed with the equation,
then i need to repeat If &TEXT(EDATE(B4, 1),"mmm yyyy" then =IF(AND(E68 = 0,'Sales&ExpensesInfo'!M4>1),'Sales&ExpensesInfo'!M4,IF(AND(E68 > 1,'Sales&ExpensesInfo'!M4>1),E68)).
Then repeat repeat If &TEXT(EDATE(B4, 2),"mmm yyyy" then =IF(AND(E106 = 0,'Sales&ExpensesInfo'!b3>1),'Sales&ExpensesInfo'!b3,IF(AND(E106 > 1,'Sales&ExpensesInfo'!b3>1),E106)).
i hope that makes sense and that someone can help me.
Much appreciated
David
I have the formula =IF(AND(E12 = 0,'Sales&ExpensesInfo'!L4>1),'Sales&ExpensesInfo'!L4,IF(AND(E12 > 1,'Sales&ExpensesInfo'!L4>1),E12)).
In the spreadsheet B4 =DATE(YEAR(TODAY()), MONTH(TODAY()), 1) and this is a mmm-yyyy format.
I need to add to the above formula If &TEXT(EDATE(B4, 0),"mmm yyyy" then proceed with the equation,
then i need to repeat If &TEXT(EDATE(B4, 1),"mmm yyyy" then =IF(AND(E68 = 0,'Sales&ExpensesInfo'!M4>1),'Sales&ExpensesInfo'!M4,IF(AND(E68 > 1,'Sales&ExpensesInfo'!M4>1),E68)).
Then repeat repeat If &TEXT(EDATE(B4, 2),"mmm yyyy" then =IF(AND(E106 = 0,'Sales&ExpensesInfo'!b3>1),'Sales&ExpensesInfo'!b3,IF(AND(E106 > 1,'Sales&ExpensesInfo'!b3>1),E106)).
i hope that makes sense and that someone can help me.
Much appreciated
David