The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 "StackCols" doesn't account for yEr designation

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
luckne Posted - 06/05/2025 : 07:44:49 AM
Hi all.

I'm trying to restructure a worksheet with a bunch of data sets, where I have essentially three rows, e.g. for a material, and then a set of columns for variables that have been obtained from tests under 4 different testing parameters. Right now my worksheet is structured as shown in the screenshot below, where column A is the material, the Long Name of the other columns is the variable and in the "Descriptor" field is the test parameter. Each variable is an average value with the standard deviation in the column next to it.



I would now like to stack these columns based on either the Long Name or the Descriptor, maintaining the connection between the Avg. and StdDev columns. However, the "Stack Columns" function does not recognize the designation as yEr and just treats it as standard columns and therefore producing an output that looks like this (I've highlighted the cells with from the StdDev in green):



Is there any way to properly process such data sets or does this need to be done manually?

In any case, would you otherwise suggest to have a completely different structure of the base worksheet to make working with it easier?

Thanks for your help!
Best,
Lucas

OriginPro 2024 (64-bit) SR1; 10.1.0.178
Operating System: Windows 10
3   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 06/05/2025 : 12:02:43 PM
I believe this has been brought up before. I have reported the issue to our developer to see if it needs to be addressed. For now, you will have to manually delete the repeated column.

quote:
Originally posted by luckne

That works, thanks!
Only slight downside for that is, that the stacking conditions/identifiers are repeated for both the Avg and the StdDev (i.e. Sample : Descriptor : Avg : Descriptor : StdDev ), but that is only a minor issue.

Again, thank you very much for the help!
/Lucas

luckne Posted - 06/05/2025 : 09:18:03 AM
That works, thanks!
Only slight downside for that is, that the stacking conditions/identifiers are repeated for both the Avg and the StdDev (i.e. Sample : Descriptor : Avg : Descriptor : StdDev ), but that is only a minor issue.

Again, thank you very much for the help!
/Lucas
YimingChen Posted - 06/05/2025 : 09:00:11 AM
In the Stack Columns dialog, find the Stack into Subgroups, uncheck Auto, and set it to 2. See if it helps. Thank you.

James

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000