Abdullah_h
New Member
- Joined
- Nov 6, 2018
- Messages
- 7
Hello guys
I need your help to write the correct formula. I will explain my concern in a simplified example:
CELL | Value
A1 | 500
A2 | =if(A1>100, "Error: Too High", "")
A3 | =if(A1<0, "Error: Too Low", "")
I need to write a formula in B1 that returns A1 only if A2 and A3 are both false. If any of A2:A3 is true, then return its value. In the aforementioned example, the B1 result should be "Error: Too High".
If we change the number in A1 to 99. B1 should show 99.
If I add another condition in A4 as follows: =if(A1<-10, "Error: Extremely Low",""). And add a number -11 in A1, how to show both errors in B1.
I hope my explanation is clear.
Thank you
I need your help to write the correct formula. I will explain my concern in a simplified example:
CELL | Value
A1 | 500
A2 | =if(A1>100, "Error: Too High", "")
A3 | =if(A1<0, "Error: Too Low", "")
I need to write a formula in B1 that returns A1 only if A2 and A3 are both false. If any of A2:A3 is true, then return its value. In the aforementioned example, the B1 result should be "Error: Too High".
If we change the number in A1 to 99. B1 should show 99.
If I add another condition in A4 as follows: =if(A1<-10, "Error: Extremely Low",""). And add a number -11 in A1, how to show both errors in B1.
I hope my explanation is clear.
Thank you