0

Trying to work out how to structure the IF statements in Excel. From what Ive read the following should work =IF((G2=True("MED"),IF(H2=True("HIGH"),IF(I2=True("CRITICAL"), "LOW") However Im getting errors.

Im Trying to determine if A Row contains a True, in either of those CELLS if it does then display the true value (MEDIUM,HIGH,CRITICAL).

Can anyone point out where im going wrong?

G2

=IF(E2<=6.9, "MED", "Not MED")

H2

=IF(E2>=7, "HIGH", "Not HIGH")

I2

=IF(E2=10, "CRITICAL", "Not CRITICAL")

Target Cell D2

=IF(G2,"MED",IF(H2,"HIGH",IF(I2,"CRITICAL","LOW")))
10
  • 2
    it's not clear what are you going to achieve with this G2=True("MED") Commented Apr 11, 2014 at 15:08
  • should it be: =IF(G2,"MED",IF(H2,"HIGH",IF(I2,"CRITICAL","LOW")))? Commented Apr 11, 2014 at 15:10
  • All Im trying to achieve is does G2 OR H2 OR I2 have true? If it does show its Value in Target Cell. Commented Apr 11, 2014 at 15:10
  • show its Value in Target Cell - but if G2 is True how it could also contains "MED"? Commented Apr 11, 2014 at 15:10
  • 1
    @simoco Rofl I had it very wrong. Thanks, makes sense. Post your Answer ill accept. Commented Apr 11, 2014 at 15:19

1 Answer 1

2

As follow up from comments, this one works

=IF(G2="MED",G2,IF(H2="HIGH",H2,IF(I2="CRITICAL",I2,"LOW")))
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.