albertc30
Well-known Member
- Joined
- May 7, 2012
- Messages
- 1,091
- Office Version
- 2019
- Platform
- Windows
Hi everyone.
It has been quite sometime since I was last here, but with becoming a father in recent years and starting a family, time is realy scarce.
Anyways, I hope that this post finds all members, old and new, in good health and in good spirits.
Now, down to the question. I have this working so this is not of much importance. However, as I have always been very impressed with some brilliant minds in here, how would one shorthen this formula?
Like I said, this is working but I am positive there's a better and shorter version to achieve the same result and I have busted my mind but the above is all I could come up with.
Once again, this is not of any importance and the formula is working as intended. For all of you out there, a much big thanks for all the help you have offered me in the past and for all you current help and generosity in giving your precious time into trying and helping other, something I hope to do too in the not so distante future.
Much appreciated for everything.
Regards,
Albert
It has been quite sometime since I was last here, but with becoming a father in recent years and starting a family, time is realy scarce.
Anyways, I hope that this post finds all members, old and new, in good health and in good spirits.
Now, down to the question. I have this working so this is not of much importance. However, as I have always been very impressed with some brilliant minds in here, how would one shorthen this formula?
=IF(OR(E25="",E25="No"),,IF(AND(D25="Saturday",E25="Yes"),50,IF(AND(D25="Saturday",E25="Yes/On-Call"),95,IF(AND(D25="Sunday",E25="Yes/On-Call"),95,IF(AND(D25="Saturday",E25="On-Call"),45,IF(AND(D25="Sunday",E25="On-Call"),45,IF(AND(D25="Monday",E25="Yes/On-Call"),179.64,IF(AND(D25="Tuesday",E25="Yes/On-Call"),179.64,IF(AND(D25="Wednesday",E25="Yes/On-Call"),179.64,IF(AND(D25="Thursday",E25="Yes/On-Call"),179.64,IF(AND(D25="Friday",E25="Yes/On-Call"),179.64,134.64)))))))))))
Like I said, this is working but I am positive there's a better and shorter version to achieve the same result and I have busted my mind but the above is all I could come up with.
Once again, this is not of any importance and the formula is working as intended. For all of you out there, a much big thanks for all the help you have offered me in the past and for all you current help and generosity in giving your precious time into trying and helping other, something I hope to do too in the not so distante future.
Much appreciated for everything.
Regards,
Albert