I need the if statement that will determine if the year in two dates in different columns are in the same. The years are formatted mm/dd/yyyy. If true then I need to insert the YEARFRAC formula.
Any help is greatly appreciated
I need the if statement that will determine if the year in two dates in different columns are in the same. The years are formatted mm/dd/yyyy. If true then I need to insert the YEARFRAC formula.
Any help is greatly appreciated
=if(year(a1)=year(b1),if true,if false)
Life's a spreadsheet, Excel!
Say thanks, Click *
Thank you for your quick response. I'll give it a try.
I finally got around to the worksheet again and used your formula. It worked wonderfully. Thanks again.
Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.
In future, to mark your thread as Solved, you can do the following -
Select Thread Tools-> Mark thread as Solved.
Incase your issue is not solved, you can undo it as follows -
Select Thread Tools-> Mark thread as Unsolved.
Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
If I have helped, Don't forget to add to my reputation (click on the star below the post)
Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
Use code tags when posting your VBA code: [code] Your code here [/code]
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks