computerman0219
New Member
- Joined
- Feb 28, 2011
- Messages
- 6
Hello everyone I am working on a Pilot Logbook for excel and we have to log 6 approaches every six months to stay current. So what I am trying to do is have the formula look down the date column and if the date is within 6 months from today then add the approaches made within that time frame and if its outside the time frame then do not count them.
I have downloaded someones else logbook for excel and they use this formula
I noticed though if you click the cell the formula is in it will show the formula but will have an { before and } after the code. If you click on the code the {} will disappear.
I say that to say I used that code (obviously to fit my spreadsheet) and it does not work. here is my code
If I test it (by putting I did 5 approaches within 6 months) will come up 0 instead of 5. No matter what number I put it it will always = 0.
Any idea?
Thanks in advance!
I have downloaded someones else logbook for excel and they use this formula
Code:
=SUM(IF((FlightLog!A18:A1014>=(TODAY()-180)),FlightLog!G18:G1014))
I noticed though if you click the cell the formula is in it will show the formula but will have an { before and } after the code. If you click on the code the {} will disappear.
I say that to say I used that code (obviously to fit my spreadsheet) and it does not work. here is my code
Code:
=(SUM(IF((LOGBOOK!A5:A50>=(TODAY()-180)),LOGBOOK!T5:T50))
If I test it (by putting I did 5 approaches within 6 months) will come up 0 instead of 5. No matter what number I put it it will always = 0.
Any idea?
Thanks in advance!