Edwin_SVRZ
New Member
- Joined
- May 7, 2024
- Messages
- 2
- Office Version
- 365
I have the following formula: (the formula is in Dutch)
What this does it it checks if cell D2 is empty. If so it uses the value of cell E2 and if it's not empty it uses the value of cell D2 in the formula.
This works, but if I copy the formula to +500 rows and I only have 400 rows, it shows a part of the formula, since there is nog value in D2 or E2.
If the cells D2 ande E2 are empty I dont want it to give a result.
What do I need to change in the formula to get this to work?
Excel Formula:
=ALS(D2="";"('"&A2&"', '"&TEKST(C2;"jjjj-mm-dd")&"', '"&E2&"'),";"('"&A2&"', '"&TEKST(C2;"jjjj-mm-dd")&"', '"&D2&"'),")
What this does it it checks if cell D2 is empty. If so it uses the value of cell E2 and if it's not empty it uses the value of cell D2 in the formula.
This works, but if I copy the formula to +500 rows and I only have 400 rows, it shows a part of the formula, since there is nog value in D2 or E2.
If the cells D2 ande E2 are empty I dont want it to give a result.
What do I need to change in the formula to get this to work?