Forum Discussion
RobinSHA202035
Apr 18, 2022Copper Contributor
QuattroPro to Excel Formulas
I am trying to convert a spreadsheet from QuattroPro to Excel. Saving as an Excel worksheet from QuattroPro doesn't work nor does coping and pasting formulas. I have entered most formulas into Excel ...
- Apr 18, 2022I believe this is what they would translate to:
=IF(AA6>40,0,IF(and(40-AA6>=8, K6>=8),8,IF(40-AA6>=8,K6, IF(40-AA6<=K6,40-AA6,K6))))
=IF(AND(AU6=1, M6>30),0,IF(AC6>40,0,IF(AND(40-AC6>=8, L6>=8),8,IF(40-AC6>=8,L6,IF(40-AC6<=L6,40-AC6,L6)))))
=IF(AND(AU6=1, L6>8) ,L6-8,0)
But, Excel does have an IFS function that could be used instead of nested IF functions for the first two. I believe it would be:
=IFS(AA6>40, 0, AND(40-AA6>=8, K6>=8), 8, 40-AA6>=8, K6, 40-AA6<=K6, 40-AA6, TRUE, K6)
=IFS(AND(AU6=1, M6>30), 0, AC6>40, 0, AND(40-AC6>=8, L6>=8), 8, 40-AC6>=8, L6, 40-AC6<=L6, 40-AC6, TRUE, L6)
JMB17
Apr 18, 2022Bronze Contributor
I believe this is what they would translate to:
=IF(AA6>40,0,IF(and(40-AA6>=8, K6>=8),8,IF(40-AA6>=8,K6, IF(40-AA6<=K6,40-AA6,K6))))
=IF(AND(AU6=1, M6>30),0,IF(AC6>40,0,IF(AND(40-AC6>=8, L6>=8),8,IF(40-AC6>=8,L6,IF(40-AC6<=L6,40-AC6,L6)))))
=IF(AND(AU6=1, L6>8) ,L6-8,0)
But, Excel does have an IFS function that could be used instead of nested IF functions for the first two. I believe it would be:
=IFS(AA6>40, 0, AND(40-AA6>=8, K6>=8), 8, 40-AA6>=8, K6, 40-AA6<=K6, 40-AA6, TRUE, K6)
=IFS(AND(AU6=1, M6>30), 0, AC6>40, 0, AND(40-AC6>=8, L6>=8), 8, 40-AC6>=8, L6, 40-AC6<=L6, 40-AC6, TRUE, L6)
=IF(AA6>40,0,IF(and(40-AA6>=8, K6>=8),8,IF(40-AA6>=8,K6, IF(40-AA6<=K6,40-AA6,K6))))
=IF(AND(AU6=1, M6>30),0,IF(AC6>40,0,IF(AND(40-AC6>=8, L6>=8),8,IF(40-AC6>=8,L6,IF(40-AC6<=L6,40-AC6,L6)))))
=IF(AND(AU6=1, L6>8) ,L6-8,0)
But, Excel does have an IFS function that could be used instead of nested IF functions for the first two. I believe it would be:
=IFS(AA6>40, 0, AND(40-AA6>=8, K6>=8), 8, 40-AA6>=8, K6, 40-AA6<=K6, 40-AA6, TRUE, K6)
=IFS(AND(AU6=1, M6>30), 0, AC6>40, 0, AND(40-AC6>=8, L6>=8), 8, 40-AC6>=8, L6, 40-AC6<=L6, 40-AC6, TRUE, L6)
- RobinSHA202035Apr 18, 2022Copper Contributor