dannytt93x
New Member
- Joined
- Sep 13, 2019
- Messages
- 3
Hello,
I am trying to create a tool which dependent on year, will tell me whether to upgrade a phone or repair.
I have go to it work with the year so that it either returns "repair and Replace" dependent on year... but i want to incorporate an and statement in this.
the statement below is what i currently have :
=IF(SUM(COUNTIF(D12,{"2017","2018","2019"}))*(C12=A2),D2,E2)
D2 = Repair E2 = Upgrade
D12 is a year in a drop down menu.
I am trying to do it so i can select phone from drop down... : iPhone 8 , iPhone XR, iPhone X, iPhone 11, iPhone 11 pro. with the repair option shown if iPhone 8 year is less than 2020 but replace if the year is more than that.
iPhone 8 - Repair if year is 2019 or less - upgrade if 2020 or above
iPhone XR - Repair if year is 2020 or less - upgrade if 2021 or above
iPhone X - Repair if 2019 or less - upgrade if 2020 or above
iPhone 11 - Repair if 2021 or less - upgrade if 2022 or above
iPhone 11 pro - Repair if 2020 or less - upgrade if 2021 or above
the question is, can this be all out in one statement so that when i select specific options in excel, it tells someone whether to repair or upgrade.
Both formula and VBA or options.
Any help would be greatly appreciated.
Kind Regards
I am trying to create a tool which dependent on year, will tell me whether to upgrade a phone or repair.
I have go to it work with the year so that it either returns "repair and Replace" dependent on year... but i want to incorporate an and statement in this.
the statement below is what i currently have :
=IF(SUM(COUNTIF(D12,{"2017","2018","2019"}))*(C12=A2),D2,E2)
D2 = Repair E2 = Upgrade
D12 is a year in a drop down menu.
I am trying to do it so i can select phone from drop down... : iPhone 8 , iPhone XR, iPhone X, iPhone 11, iPhone 11 pro. with the repair option shown if iPhone 8 year is less than 2020 but replace if the year is more than that.
iPhone 8 - Repair if year is 2019 or less - upgrade if 2020 or above
iPhone XR - Repair if year is 2020 or less - upgrade if 2021 or above
iPhone X - Repair if 2019 or less - upgrade if 2020 or above
iPhone 11 - Repair if 2021 or less - upgrade if 2022 or above
iPhone 11 pro - Repair if 2020 or less - upgrade if 2021 or above
the question is, can this be all out in one statement so that when i select specific options in excel, it tells someone whether to repair or upgrade.
Both formula and VBA or options.
Any help would be greatly appreciated.
Kind Regards