Hi experts,
I am new to the site, so I apologize if I have posted this in the incorrect area.
In the below table I have the following formula in C3-C5,
=IF(B3=1,$D$2,IF(B3=2,$E$2,IF(B3=3,$F$2,IF(B3=4,$G$2))))
[TABLE="width: 448"]
<tbody>[TR]
[TD]A1
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]Start
[/TD]
[TD]Pause
[/TD]
[TD]Re-set
[/TD]
[TD]Stop
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]1
[/TD]
[TD]Start
[/TD]
[TD]1
[/TD]
[TD]0
[/TD]
[TD]1
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]4
[/TD]
[TD]Stop
[/TD]
[TD]1
[/TD]
[TD]1
[/TD]
[TD]1
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]3
[/TD]
[TD]Re-set
[/TD]
[TD]1
[/TD]
[TD]0
[/TD]
[TD]0
[/TD]
[TD]1
[/TD]
[/TR]
</tbody>[/TABLE]
As you can see if I change the number in B3-B5 the value in C3-C5 changes.
If I change B3 to 2, C3 changes to Pause.
I am trying to come up with a formula if I change B3 to 2, it can see E3 is 0 and it automatically changes to the next cell that contains a value other than 0 in this example it would be F2 (Re-set).
If I was to use B5 as the example and entered 2 in B5 it would return Stop as E5 and F5 both have 0.
I can substitute the 0 to blank cells if that makes it easier.
Thanks,
Gavin
I am new to the site, so I apologize if I have posted this in the incorrect area.
In the below table I have the following formula in C3-C5,
=IF(B3=1,$D$2,IF(B3=2,$E$2,IF(B3=3,$F$2,IF(B3=4,$G$2))))
[TABLE="width: 448"]
<tbody>[TR]
[TD]A1
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]Start
[/TD]
[TD]Pause
[/TD]
[TD]Re-set
[/TD]
[TD]Stop
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]1
[/TD]
[TD]Start
[/TD]
[TD]1
[/TD]
[TD]0
[/TD]
[TD]1
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]4
[/TD]
[TD]Stop
[/TD]
[TD]1
[/TD]
[TD]1
[/TD]
[TD]1
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]3
[/TD]
[TD]Re-set
[/TD]
[TD]1
[/TD]
[TD]0
[/TD]
[TD]0
[/TD]
[TD]1
[/TD]
[/TR]
</tbody>[/TABLE]
As you can see if I change the number in B3-B5 the value in C3-C5 changes.
If I change B3 to 2, C3 changes to Pause.
I am trying to come up with a formula if I change B3 to 2, it can see E3 is 0 and it automatically changes to the next cell that contains a value other than 0 in this example it would be F2 (Re-set).
If I was to use B5 as the example and entered 2 in B5 it would return Stop as E5 and F5 both have 0.
I can substitute the 0 to blank cells if that makes it easier.
Thanks,
Gavin