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

1. ## 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. ## 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

3. ## 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"...

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