cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Xeryg
Participant

IF formula in schedules not being recognized

I'm working on creating a Plumbing Calculation Schedule in Archicad and am having difficulties with one formula. For a Business calculation, it's supposed to be '1 per 25 for the first 50, then 1 per 50 for the remainder'. In the property Manager, I have a formula to calculate the either the Male or Female occupancy using an IF formula. The problem I am running into is that when when I input the information into the formula (If (Logical, value if true, value if false)), I'll still get an answer, but unfortunately I dont think it is recognizing the false part of the formula.

For example, I have a Business Occupancy load of 117 people, which would be about 58 male/females. The IF formula would calculate it and would spit out 2.76 for the required water closets, which is wrong and it needs to be 2.17...
This is the formula that I have that is calculating this: PLUMBING OCCUPANCY TYPE = 'BUSINESS', IF (FEMALE RATIO , 50, FEMALE RATIO / 25, ( ( FEMALE RATIO - 50) / 50) +2).

the red text is not being recognized, and if I even edited that portion, there would be no changes to the output.

 

Would any one have an idea of what maybe going on and how to fix it?

2 Replies 2
Laszlo Nagy
Community Admin
Community Admin

Maybe the expression is wrong. I think it should not say 'BUSINESS' after the = sign. Shouldn't the 'BUSINESS' part be within the IF() function?

Also, after IF(, it says FEMALE RATIO and a comma character, so it does not compare FEMALE RATIO to anything. 

 

Anyway, could you show a screenshot of this formula as you see it in the Property Manager?

So we could see the Property, its Data Type, Availability and the full expression?

It would be great to see this for all relevant Properties like PLUMBING OCCUPANCY TYPE and FEMALE RATIO.

 

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac29
Ricardo Lopez
Advisor

Hi @Xeryg 

It would be great if you could explain what you need or the excerpt from the regulations you want to parameterize in more detail, so that we can understand it better and try to help you.
Anyway, if you need to learn more about Archicad's expressions and properties, I recommend the following links:

Ricardo López, M. Arch.
BIM Consultant | Project Solutions and Services | Panama
AC17-29 SPA+INT | Windows 11 | MSI CreatorPro M16 HX C14VJG, 64GB, Nvidia Quadro RTX 2000 Ada Generation

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!