[SOLVED] multiple IF solution.

Discuss the spreadsheet application
Post Reply
yadepvi
Posts: 2
Joined: Mon Oct 29, 2018 9:16 am

[SOLVED] multiple IF solution.

Post by yadepvi »

Hi everyone,

I did this formula in google sheet.

Code: Select all

=IFS(D2="Ciencia ficción","C2FI",D2="Películas 5*1","AAF",D2="Películas 5*2","AAM",D2="Películas 5*3","AAP",D2="Col Tim Burton","C1FI",D2="Vampiros y superheroes","C1FD",D2="Terror","C1FC",D2="Españolas 1","C1AI",D2="Españolas 2","C1AD",D2="Españolas 3","C1AC",D2="Col Stanley Kubrick","C2FI",D2="Manga","C2FD",D2="Intriga","C2FD",D2="Animación","C2FD",D2="Comedia","C2FC",D2="Romance","C3FC",D2="Musical","C2AI",D2="Acción","C2AD",D2="Drama 1","C2AC",D2="Western","C3FI",D2="B/N","C3FI",D2="Aventura","C3FD",D2="Drama 2","C3AI",D2="Basada hechos reales","C3AD",D2="Deporte","C3AD",D2="Documental","C3AC",D2="Thriller","C1FC",D2="Col Hitchcock","AIB",D2="Col Pais","AIA")
I don't know how to solve it in Calc.

I tried with IF and LOOKV but was not solved.

Thanks.
Last edited by robleyd on Tue Oct 30, 2018 12:56 am, edited 3 times in total.
Reason: Add green tick [robleyd, Moderator]
Open Office 4.1.3 in Mac Os Mojave 10.1.4
User avatar
Zizi64
Volunteer
Posts: 11361
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: multiple IF solution.

Post by Zizi64 »

Please upload an .ods type sample file here.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
thinman3
Volunteer
Posts: 382
Joined: Sat Jul 11, 2009 8:53 pm

Re: multiple IF solution.

Post by thinman3 »

Calc uses a ( ; ) separator instead of a ( , ).

I used the attached file to verify that all the required IF requirements were being found. Your original formula was edited to replace the ( , )'s with ( ; )'s . The formula that is in A2 of the attached file shows the modifications with respect to the separators. It can be used to replace your original formula.
Movie Genre's.ods
(17.22 KiB) Downloaded 99 times
Last edited by thinman3 on Mon Oct 29, 2018 4:12 pm, edited 2 times in total.
3.4.1 & 4.1.5 on MS Windows 7 Pro x64
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: multiple IF solution.

Post by RusselB »

Try saving your Google sheet using the OpenDocument format, which is what OpenOffice uses by default, then opening your spreadsheet in OpenOffice.
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
yadepvi
Posts: 2
Joined: Mon Oct 29, 2018 9:16 am

Re: multiple IF solution.

Post by yadepvi »

Thanks, solved!

thinman3 wrote:Calc uses a ( ; ) separator instead of a ( , ).

I used the attached file to verify that all the required IF requirements were being found. Your original formula was edited to replace the ( , )'s with ( ; )'s . The formula that is in A2 of the attached file shows the modifications with respect to the separators. It can be used to replace your original formula.
Movie Genre's.ods
Open Office 4.1.3 in Mac Os Mojave 10.1.4
Post Reply