+ Reply to Thread
Results 1 to 2 of 2

weights

  1. #1
    Registered User
    Join Date
    04-11-2005
    Posts
    48

    Question weights

    I am trying to find a formula for vlookup and sumif.
    I am trying to build a spreadsheet for our drafting dept.
    The weights are being calculated by hand. I think it would be easier if we had a spreadsheet.

    For example, I have a channel that is C 8 x 11.5 the length is 7ft 6inch. The weight of the channel is .852 pounds per foot. I am able to calculate that in excel and come up with 86 pounds rounded. The material will change every time and the weight of the material will change every time. The length of the material will also change. I can input the length every time. What I want is to create a list where excel will do VLOOKUP and pull a different item every time something is typed in.

    I have put the spreadsheets on my web page. www.mykaltx.com.
    If you have any problem I have put my email on the web page.

  2. #2
    Toppers
    Guest

    RE: weights

    Hi,
    In BOOk3:

    On Sheet2, select cells A2:B4 and name as "Weights" (
    Insert==>Name==>Define); Extended beyond row 4 as required when you build the
    full table. You could set it to (say) B1000 initially.

    put the following in Cell v20 and copy down.

    =ROUND(VLOOKUP(G20,Weights,2,FALSE)*(R20*12+T20)/12,0)

    This will calculate weight and round.

    You will get a "#N/A" for entries which are not in the table unless you add
    an ERROR handler using an IF statement as below


    =IF(ISERROR(ROUND(VLOOKUP(G20,Weights,2,FALSE)*(R20*12+T20)/12,0)),"No
    entry",ROUND(VLOOKUP(G20,Weights,2,FALSE)*(R20*12+T20)/12,0))


    I am not sure what data you want to use in "SUMIF".

    HTH

    "mykaltx" wrote:

    >
    > I am trying to find a formula for vlookup and sumif.
    > I am trying to build a spreadsheet for our drafting dept.
    > The weights are being calculated by hand. I think it would be easier if
    > we had a spreadsheet.
    >
    > For example, I have a channel that is C 8 x 11.5 the length is 7ft
    > 6inch. The weight of the channel is .852 pounds per foot. I am able to
    > calculate that in excel and come up with 86 pounds rounded. The
    > material will change every time and the weight of the material will
    > change every time. The length of the material will also change. I can
    > input the length every time. What I want is to create a list where
    > excel will do VLOOKUP and pull a different item every time something is
    > typed in.
    >
    > I have put the spreadsheets on my web page. www.mykaltx.com.
    > If you have any problem I have put my email on the web page.
    >
    >
    > --
    > mykaltx
    > ------------------------------------------------------------------------
    > mykaltx's Profile: http://www.excelforum.com/member.php...o&userid=22055
    > View this thread: http://www.excelforum.com/showthread...hreadid=390613
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1