几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 三维空间:产品设计或CAX软件使用 » CAD设计 » 产品功能分析
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


回复
 
主题工具 搜索本主题 显示模式
旧 2009-09-09, 08:47 AM   #1
huangyhg
超级版主
 
huangyhg的头像
 
注册日期: 04-03
帖子: 18592
精华: 36
现金: 249466 标准币
资产: 1080358888 标准币
huangyhg 向着好的方向发展
默认 excel engineering spreadsheet applications

excel engineering spreadsheet applications
i am working with an excel design spreadsheet and want to select criteria from a table, based on two separate inputs. for example, part of my table is constructed as follows.
cells a1 thru a5 are all labeled 鈥淪yp #1" species & grade.
cells b1 thru b5 are labeled 鈥?x4", 鈥?x6", ..., 鈥?x12".
cells c1 thru c5 contain the appropriate fb design stress.
cells d1 thru d5 contain the appropriate fv design stress.
continuing on, cells a6 thru a10 are all labeled 鈥淪yp #2" species & grade, cells b6 thru b10 are labeled with 2x sizes, and so on.
my objective is to be able to select a specific lumber species & grade, via a validation list, say in cell f1. next, i wish to select a 2x size section with another validation list, say in cell f2. at this point, i would like to have the appropriate selected fb and fv values displayed in two additional cells, available for further calculations.

i can probably do this with nested if functions, but that would soon become very cumbersome. can anyone give me some guidance on how to do this easier?
you're on the right track.
just use data validation for the first two and vlookup for the last two.
but i'm still confused. let's say i enter a species and grade in one cell, and a lumber section in another cell. then, based on those two entries, how do i enter the table and find the row that matches both values, and return the appropriate value from the fb column?
from your description, you only have one species and grade for each size of timber for each fb fv.
either there is a formula connecting some of the data sets or you need to repeat some of the data
or am i missing something?
if all the species/grade categories each have exactly five different lumber sizes attached then try this:
at the bottom of your list, include a five item table that includes all five entries for your selected species/grade. do this with a grid of vlookup formulaes in a table that is 5l by 4c in size.
then, based on the selected lumber sizes, use a vlookup in that table to choose the proper fb and fb values.
you have an input cell for species grade, an input cell for lumber size, and two output cells for fb and fv.
no data validation is required. this will however, result in some standard spreadsheet errors if you mistype anything in either input cell. if that is not acceptable, maybe you can do some data validation in the input cells and still use the results for the table lookups to surpress them.
regards,
chichuck
my species & grade designations include df-l #1, df-l #2, df-l #3, syp #1, syp #2, syp #3, spf #1, spf #2, spf #3, hem-fir #1, hem-fir #2, hem-fir #3, ... and, for each of those, i have 5 section designations of 2x4, 2x6, 2x8, 2x10 & 2x12. i am trying to find a way to first enter the table and find all rows matching selected species & grade (from column 1), then secondly, select from those rows based on selected section size (column 2). then, third, read over to that selected row's fb column and select its fb value.
for future reference:
ok, my first post may have over simplified the effort as it assumed only one wood species.
i would recommend that you organize the data in columsn as you have suggested and sorted first by species.
then define a named range for all of the data associated with each wood species.
next use data validation (in order to use scroll box data entry) for the first two variables.
the last step would require nested if statements and vlookup commands to find the appropriate data.
this will get messy with the 12+ wood species that you would like to use.
this problem would be much easier to solve using the vba programming option within excel.
as a side question, do you typically perform designs using all of the above noted wood species and grades?
reducing the data to the top two or three most commonly specified species/grades would greatly simplify the task.
thanks for the info ttk - i am trying to develop my tall wall stud & post program for analyzing single and built-up wood
ok, i think i found a fairly easy solution without getting into vba programming but it would mean reorganizing your data.
if you eliminated the second column of data (section size) and instead made these sizes column headings you will have a true array with the fb values being the raw data in the array. i have tried to show the format below but it may get messed up after submiting the post.
you could use data validation to select the first two inputs as you previously planned. next use an intermediate step to find the correct row number and column number in the array using the match function.
lastly use the column number and row number from the previous step along with the index function to find the appropriate value of fb.
try it and let us know if it works.
2x4 2x6 2x8 2x10 2x12
dfl #1 400 600 800 1000 1200
dfl #2
dfl #3
syp #1
syp #2
syp #3
spf #1
spf #3
spf #3 350 550 750 950 1150
have you tried the engineering spreadsheets forum (
__________________
借用达朗贝尔的名言:前进吧,你会得到信心!
[url="http://www.dimcax.com"]几何尺寸与公差标准[/url]
huangyhg离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】哪位高手指点一下下边lisp的怎么用 yang686526 数据库ObjectDBX 0 2009-04-28 12:13 PM
哪位高手指点一下下边lisp的怎么用 yang686526 ObjectARX(AutoLISP) 0 2009-04-26 06:19 PM
【转帖】在autocad中利用excel实现结构设计的参数化绘图 yang686526 数据库ObjectDBX 0 2009-04-19 06:18 PM
【转帖】do you use the excel bom feature yang686526 SolidWorks二次开发 0 2009-04-13 10:27 AM
【转帖】excel question yang686526 SolidWorks二次开发 0 2009-04-12 08:52 PM


所有的时间均为北京时间。 现在的时间是 03:03 AM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多