hannah epic
New Member
- Joined
- Feb 14, 2016
- Messages
- 1
Hi there,
I am trying to create a function which does the following:
In Spreadsheet "2016" column "Destroy" I would like to put: if [product code (which is found in spreadsheet "data 2") is AB (which is found in spreadsheet "data 2" on the same row but a few columns over) then the Destroy cell in spreadsheet "2016" should be the Expiry date (found in "2016", same row as destroy cell but column to the left) + 365 days. If the product code is not AB, but CD, then the Destroy cell in "2016" should equal the Expiry date cell.
Does this make sense? I've tried using VLOOKUP, the IF THEN function and an ISERROR function but I can't work it out. I'm not very good with excel to begin with. Can anyone help me out?
Thanks,
Hannah
I am trying to create a function which does the following:
In Spreadsheet "2016" column "Destroy" I would like to put: if [product code (which is found in spreadsheet "data 2") is AB (which is found in spreadsheet "data 2" on the same row but a few columns over) then the Destroy cell in spreadsheet "2016" should be the Expiry date (found in "2016", same row as destroy cell but column to the left) + 365 days. If the product code is not AB, but CD, then the Destroy cell in "2016" should equal the Expiry date cell.
Does this make sense? I've tried using VLOOKUP, the IF THEN function and an ISERROR function but I can't work it out. I'm not very good with excel to begin with. Can anyone help me out?
Thanks,
Hannah