Hello Excel Gurus,
I'm hoping someone can help with a specific formula.
I have a sizeable database of entries that include the date at which a specific transaction was conducted. I'm trying to write a formula that will look at a given date and return a value based on the date range under which it falls.
For example, a transaction occurred on 04/22/2012 (in cell B2). In cell C2, I want to populate the corresponding Fiscal Year in which the transaction occurred. All Fiscal Years run 07/01/20xx to 06/30/20xx.
I have attached a sample file to help illustrate my problem, this is similar to the data I will be working with.
I tried to run an IF Statement but it did not function as I wanted it to. I tried
=if(and(C2>=F2,C2<=G2),H2,IF(…..)
Where ... denotes nested if statements repeating the initial AND() check.
If I need to elaborate further please let me know.
Thanks!
I'm hoping someone can help with a specific formula.
I have a sizeable database of entries that include the date at which a specific transaction was conducted. I'm trying to write a formula that will look at a given date and return a value based on the date range under which it falls.
For example, a transaction occurred on 04/22/2012 (in cell B2). In cell C2, I want to populate the corresponding Fiscal Year in which the transaction occurred. All Fiscal Years run 07/01/20xx to 06/30/20xx.
I have attached a sample file to help illustrate my problem, this is similar to the data I will be working with.
I tried to run an IF Statement but it did not function as I wanted it to. I tried
=if(and(C2>=F2,C2<=G2),H2,IF(…..)
Where ... denotes nested if statements repeating the initial AND() check.
If I need to elaborate further please let me know.
Thanks!