Forum

Notifications
Clear all

(If) Function

2 Posts
2 Users
0 Reactions
61 Views
(@faraiaa0b)
Posts: 3
Active Member
Topic starter
 

I would like to make (If function)

= IF(N5="Alinity hq I (173)",Amel Al Faris, IF(N5=" Alinity hq II (198)",Amel Al Faris,, IF(N5=" Sysmex 2500",Moneer,))).

but it is not correct.

Regards

 
Posted : 22/05/2020 10:42 am
Philip Treacy
(@philipt)
Posts: 1629
Member Admin
 

Hi Amel,

Try this

= IF(N5="Alinity hq I (173)","Amel Al Faris", IF(N5="Alinity hq II (198)","Amel Al Faris", IF(N5="Sysmex 2500","Moneer")))

When specifying a text string as a result you need to wrap it in quotes i.e. "Amel Al Faris"

Also, as it is that formula will work but it does not specify a result if the final IF is false.  So IF(N5="Sysmex 2500","Moneer") does not have a value for a False result meaning IF will actually return the Boolean value False.

These links may help you

IF Function Explained

IF Formula Builder

Please see attached file for working formula.

regards

Phil

 
Posted : 22/05/2020 7:08 pm
Share: