+ Reply to Thread
Results 1 to 5 of 5

Multiple formulas in one cell

  1. #1
    Registered User
    Join Date
    04-17-2009
    Location
    USA
    MS-Off Ver
    2010
    Posts
    18

    Multiple formulas in one cell

    I am looking to be able to have one cell called "Total Lbs" be able to give the total pounds of either the # of plates or the # of bars. The plate number and bar number will never be filled in with a number at the same time so that wont be an issue. I have attached a copy of the spreadsheet I am currently working on.


    Thanks!Plate Totals.docx

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    18,799

    Re: Multiple formulas in one cell

    This is an Excel forum, so there is not much point in attaching a Word document - attach a sample Excel workbook instead. Instructions on how to do this are given in the yellow banner at the top of the screen.

    Hope this helps.

    Pete

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    48,337

    Re: Multiple formulas in one cell

    Agree with Pete that we need an excel file, not a word doc.

    That said, sounds like you need something like...
    =if(cell-for-plates="",formula-for-bars,formula-for-plates
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    04-17-2009
    Location
    USA
    MS-Off Ver
    2010
    Posts
    18

    Re: Multiple formulas in one cell

    sorry about that. here you go
    Attached Files Attached Files

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    18,799

    Re: Multiple formulas in one cell

    You can put this formula in J3:

    =IF(H3>0,H3*E3,IF(I3>0,I3*E3,0))

    then copy it into J8.

    Hope this helps.

    Pete

+ 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