mcintoshmc
Active Member
- Joined
- Aug 10, 2007
- Messages
- 277
I know there is any easier way of doing this by combing if(and(or statements, but I did it the long way. How can I combine all of these IF Statements to 1 formula?
IF((AND($A41=1,$B41=0,$C41=0,$D41=0,$F41=0,$G41=0,$H41=0,$I41=0,$J41=0)),"Step 1","")
IF((AND($A41=1,$B41=2,$C41=0,$D41=0,$F41=0,$G41=0,$H41=0,$I41=0,$J41=0)),"Step 2","")
IF((AND($A41=1,$B41=2,$C41=3,$D41=0,$F41=0,$G41=0,$H41=0,$I41=0,$J41=0)),"Step 3","")
IF((AND($A41=1,$B41=2,$C41=3,$D41=4,$F41=0,$G41=0,$H41=0,$I41=0,$J41=0)),"Step 4","")
IF((AND($A41=1,$B41=2,$C41=3,$D41=4,$F41=5,$G41=0,$H41=0,$I41=0,$J41=0)),"Step 5","")
IF((AND($A41=1,$B41=2,$C41=3,$D41=4,$F41=5,$G41=6,$H41=0,$I41=0,$J41=0)),"Step 6","")
IF((AND($A41=1,$B41=2,$C41=3,$D41=4,$F41=5,$G41=6,$H41=7,$I41=0,$J41=0)),"Step 7","")
IF((AND($A41=1,$B41=2,$C41=3,$D41=4,$F41=5,$G41=6,$H41=7,$I41=8,$J41=0)),"Step 8","")
IF((AND($A41=1,$B41=2,$C41=3,$D41=4,$F41=5,$G41=6,$H41=7,$I41=8,$J41=9)),"Step 9","")
IF((AND($A41=1,$B41=2,$C41=3,$D41=4,$F41=5,$G41=6,$H41=7,$I41=8,$J41=9,$K41=10)),"Step 10","")
IF((AND($A41=1,$B41=2,$C41=3,$D41=4,$F41=5,$G41=6,$H41=7,$I41=8,$J41=9,$K41=10,$L41="i9")),"Hired","")
IF((AND($A41=1,$B41=0,$C41=0,$D41=0,$F41=0,$G41=0,$H41=0,$I41=0,$J41=0)),"Step 1","")
IF((AND($A41=1,$B41=2,$C41=0,$D41=0,$F41=0,$G41=0,$H41=0,$I41=0,$J41=0)),"Step 2","")
IF((AND($A41=1,$B41=2,$C41=3,$D41=0,$F41=0,$G41=0,$H41=0,$I41=0,$J41=0)),"Step 3","")
IF((AND($A41=1,$B41=2,$C41=3,$D41=4,$F41=0,$G41=0,$H41=0,$I41=0,$J41=0)),"Step 4","")
IF((AND($A41=1,$B41=2,$C41=3,$D41=4,$F41=5,$G41=0,$H41=0,$I41=0,$J41=0)),"Step 5","")
IF((AND($A41=1,$B41=2,$C41=3,$D41=4,$F41=5,$G41=6,$H41=0,$I41=0,$J41=0)),"Step 6","")
IF((AND($A41=1,$B41=2,$C41=3,$D41=4,$F41=5,$G41=6,$H41=7,$I41=0,$J41=0)),"Step 7","")
IF((AND($A41=1,$B41=2,$C41=3,$D41=4,$F41=5,$G41=6,$H41=7,$I41=8,$J41=0)),"Step 8","")
IF((AND($A41=1,$B41=2,$C41=3,$D41=4,$F41=5,$G41=6,$H41=7,$I41=8,$J41=9)),"Step 9","")
IF((AND($A41=1,$B41=2,$C41=3,$D41=4,$F41=5,$G41=6,$H41=7,$I41=8,$J41=9,$K41=10)),"Step 10","")
IF((AND($A41=1,$B41=2,$C41=3,$D41=4,$F41=5,$G41=6,$H41=7,$I41=8,$J41=9,$K41=10,$L41="i9")),"Hired","")