+ Reply to Thread
Results 1 to 3 of 3

one formula value if critera A is met or a second formula value if criteria B is met

  1. #1
    Registered User
    Join Date
    05-07-2013
    Location
    Tempe, AZ
    MS-Off Ver
    Excel 2007
    Posts
    4

    Angry one formula value if critera A is met or a second formula value if criteria B is met

    I need to write a formula for the following.
    Column E is a unit value of either "ea" (i.e. each) or "lf" (i.e. linear foot)
    Column F is a unit defalt numerical value (i.e. sample 3.4)
    Column "G" is my Factored unit value and where I need help. There is a factor value named "Material_Factor" on a sesperate page . My formula in column G will equal F x Material_Factor if the unit value in column E is "ea", but if the unit value in column E is "LF" the value in G needs to be F / 100 x Material_Factor.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: one formula value if critera A is met or a second formula value if criteria B is met

    hi sland01, welcome to the forum. assuming data in E2, F2, try this formula in G2:
    =F2/IF(E2="ea",100,1)*Material_Factor

    or if it's possible F2 is blank, then:
    =IF(F2="","",F2/IF(E2="ea",100,1)*Material_Factor)

    if it doesnt work out, attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    05-07-2013
    Location
    Tempe, AZ
    MS-Off Ver
    Excel 2007
    Posts
    4

    Red face Re: one formula value if critera A is met or a second formula value if criteria B is met

    I have attached the smaple worksheet for the components I am working with.
    The green highlighted rows are samples for the result I need. The yellow cells are the specific formula cells and formulas I am looking to merge into one formula for both circumstances in both column "C" & "E"...
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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