GeorgieAnne
New Member
- Joined
- Feb 20, 2022
- Messages
- 7
- Office Version
- 365
- Platform
- Windows
Hello My first post here, and I am hoping someone can help me!
I am using the following CHOOSE Function:
=CHOOSE(($D$2<=2)+($D$2=3)+($D$2=4)+($D$2=5)+($D$2>5),5,4,3,1,0)
If cell D2 has a 1 or a 2, I need the CHOOSE function to return 5.
If cell D2 has a 3, I need the CHOOSE function to return 4.
If cell D2 has a 4, I need the CHOOSE function to return 3.
If cell D2 has a 5, I need the CHOOSE function to return 1.
If cell D2 has a value > 5, I need the CHOOSE function to return 0.
Cell D2 will have positive integers between 1 and x. There is no zero values and x is typically less that 10, but it could jump and be as large as 2000.
But the above formula in cell H2 always return 5, and I am not sure why? Even if I change the value of D2 it is always returning 5?
If anyone can help me out I would appreciate it a lot.
I am using Windows 10 64-bit and Office 365 and my Excel version is 2201 Build 16.0.14827.20198
Thanks a Million!
Georgie
I am using the following CHOOSE Function:
=CHOOSE(($D$2<=2)+($D$2=3)+($D$2=4)+($D$2=5)+($D$2>5),5,4,3,1,0)
If cell D2 has a 1 or a 2, I need the CHOOSE function to return 5.
If cell D2 has a 3, I need the CHOOSE function to return 4.
If cell D2 has a 4, I need the CHOOSE function to return 3.
If cell D2 has a 5, I need the CHOOSE function to return 1.
If cell D2 has a value > 5, I need the CHOOSE function to return 0.
Cell D2 will have positive integers between 1 and x. There is no zero values and x is typically less that 10, but it could jump and be as large as 2000.
But the above formula in cell H2 always return 5, and I am not sure why? Even if I change the value of D2 it is always returning 5?
If anyone can help me out I would appreciate it a lot.
I am using Windows 10 64-bit and Office 365 and my Excel version is 2201 Build 16.0.14827.20198
Thanks a Million!
Georgie