dpaton05
Well-known Member
- Joined
- Aug 14, 2018
- Messages
- 2,392
- Office Version
- 365
- 2016
- Platform
- Windows
I have a formula to calculate Easter for multiple years but it doesn't seem to be working for each year. This is really strange as it is the same formula except a different cell reference for the year.
G84:
G87:
G87 should have shown 21/4/19 but it gives the #VALUE ! error.
H84: All of the reference cells in row 84 to calculate the year have the formula of the previous column + 1 and they all appear to work correctly.
H87:
H87 should have shown 12/4/20 but it also gives the #VALUE error
I87:
I87 should be the 4/4/21 but it shows 27/6/21
For the next two columns, J and K I get the value error but in column L I get the correct date. I don't understand this as the only difference between all of the formulas in these cells is the cell reference pointing to what year it is. All of this data is stored on the sheet called 'sheet2'.
I have also uploaded a copy of the spreadsheet if you need additional information that I have not supplied.
https://www.dropbox.com/s/931p3jh0gcrdmpn/quoting tool 6.6.xlsm?dl=0
Any help would be greatly appreciated as I don't know what to do.
Thanks,
Dave
G84:
Code:
=YEAR(TODAY())
Code:
=FLOOR("5/"&DAY(MINUTE(G84/38)/2+56)&"/"&G84,7)-34
H84: All of the reference cells in row 84 to calculate the year have the formula of the previous column + 1 and they all appear to work correctly.
H87:
Code:
=FLOOR("5/"&DAY(MINUTE(H84/38)/2+56)&"/"&H84,7)-34
I87:
Code:
=FLOOR("5/"&DAY(MINUTE(I84/38)/2+56)&"/"&I84,7)-34
For the next two columns, J and K I get the value error but in column L I get the correct date. I don't understand this as the only difference between all of the formulas in these cells is the cell reference pointing to what year it is. All of this data is stored on the sheet called 'sheet2'.
I have also uploaded a copy of the spreadsheet if you need additional information that I have not supplied.
https://www.dropbox.com/s/931p3jh0gcrdmpn/quoting tool 6.6.xlsm?dl=0
Any help would be greatly appreciated as I don't know what to do.
Thanks,
Dave