Jump to content

Summarizing a worksheet column causes issues with another column?


Recommended Posts

Here's what my worksheet looks like without the G column summarized. Note that all of the entries in the E column are 3/4".

Screenshot2023-10-24at9_07_17AM.thumb.png.d9dce7a4a690250a0e281d25f3be1e00.png

 

Then when I summarize the G column the bottom three E column entries change from 3/4" to ---.

Screenshot2023-10-24at9_07_50AM.thumb.png.10c3962bd0d08f2af267cdd564bbb70c.png

 

I understand that the --- entries in the C column (which is =layer) means that those entries reside in different layers. So why do the 3/4" entries in the G column change when obviously all the entries are 3/4"? I've double checked the objects to confirm they are all truly 3/4" thick.

Link to comment
  • Vectorworks, Inc Employee
1 hour ago, Bruce Kieffer said:

It's a dimension. Here's my formula: =MIN(HEIGHT, LENGTH, WIDTH)

One possibility is that the 3/4" you are seeing is a rounded display value and that the precise values are slightly different. 

Link to comment
9 minutes ago, Hugues said:

One possibility is that the 3/4" you are seeing is a rounded display value and that the precise values are slightly different. 

I have my units set to exact as fraction / non-exact as decimals. I understand that the worksheet might override that, but I have check the objects and they are all 3/4" I have a few more ideas to try before I give up.

 

Screenshot 2023-10-24 at 12.28.05 PM.png

Link to comment

I was able to force a worksheet to show three different values as 3/4" even though I manually set the values to 0.7501, 0.7500, and 0.7499.   They won't summarize correctly even though they display correctly.

 

If your drawing units are inches, then you should be able to use a formula of =Round(Min(Length,Width,Height)*100)/100.  This should force the values to exactly 2 decimal points and make them all match.

 

To see the possible differences, try setting the Cell Number Format to Decimal and set the number of decimal places to 6 or 8. That should be enough for you to be able to see what is different.

  • Like 1
Link to comment

Here's a super dumbed down version of my drawing. The problem is caused by the solid subtractions on the stiles. If you deconstruct those objects, then the WS will show the 3/4" thickness correctly when the length column is summarized. I've experienced similar issues with subtractions in the past where Vectorworks changes the dimension of the object slightly. Here I cannot see any indication that the 3/4" thick stile is any dimension other than 3/4".

Bad Worksheet.vwx

Link to comment

The difference is in the 13th decimal place.  😞

 

image.thumb.png.8bf6b912a9451021c63affc21a59330e.png

 

Adding a Truncate function to your MIN() formula (as shown in the formula bar locks the values to two decimal places which is what you need for 3/4=0.75000.

 

Not certain this would work if the actual value was 0.7499999999999999999. It would probably give the wrong answer and in that case the =Round(Min(Height, Length, Width)*100)/100 would probably be the better solution.

image.png

  • Like 1
  • Laugh 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...