[Solved] Using multiple IF/AND formulas

Discuss the spreadsheet application
Locked
User avatar
Cub
Posts: 4
Joined: Tue Nov 17, 2020 10:34 pm

[Solved] Using multiple IF/AND formulas

Post by Cub »

TIME    ITEMS   MULTIPLIER  MULTIPLIER 2  MULTIPLIER 3
9.0     10      0.45        0.51          0.6

To get multiplier 0.45 i did this { =IF(AND(J2<=9,K2<=10),0.45,0) }
To get multiplier 0.51 I did this {=IF(AND(L2=0.45,K2>=10),0.51,0) }
To get multiplier 0.6 I did this { =IF(AND(M2=0.51,K2>=40),0,0.6) }

What I cannot figure out is how to have only one column (Multiplier)
and as time and items change the multiplier changes accordngly..

Tried hard to make this work.. =IF(AND(J2<=9,K2<=10),0.45,=IF(AND(L2=0.45,K2>=10),0.51,=IF(AND(M2=0.51,K2>=40),0,0.6)))
with no luck..

If TIME is <=9 and ITEMS <= 9 I want 0.45
If TIME is <=9 and ITEMS >= 10 I want 0.51 This will accur each day of the week hopfully..
If TIME is <=9 and ITEMS > 40 I want 0.60

I have been beating myself up trying to put it all in one formula but don't have pizzaz to do it... :knock: So asking for help to understand it..

MANY THANKS
Cub
Last edited by MrProgrammer on Thu Nov 07, 2024 5:07 pm, edited 4 times in total.
Reason: Tagged ✓ [Solved] -- MrProgrammer, forum moderator
LibreOffice 24.1.2 on Windows 10
User avatar
robleyd
Moderator
Posts: 5504
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: USING THE IF, AND, ELSE

Post by robleyd »

Slackware 15 (current) 64 bit
Apache OpenOffice 4.1.16
LibreOffice 26.2.3.2; SlackBuild for 26.2.3 by Eric Hameleers
---------------
I hate this damn computer, I wish that I could sell it.
It won't do what I want it to, Only what I tell it.
User avatar
Cub
Posts: 4
Joined: Tue Nov 17, 2020 10:34 pm

Re: USING THE IF, AND, ELSE

Post by Cub »

Thanks Pal
Cub
LibreOffice 24.1.2 on Windows 10
Locked