Formula For If And Or Statement

Nov 14, 2009

if-and-or statement if possible. The formula would go in cell A10.

If D5="x" and D4=7, answer would be "H8", if D4 is blank, answer would be "x".
If D5=2 or 3, and D4=7, answer would be "H8", if D4 is blank, answer would be "v8".
If D5=1 or blank and D4=7 or blank, answer would be " ".

View 5 Replies


ADVERTISEMENT

Date Formula & Add If Statement To The Existing Formula

Dec 19, 2008

I currently use the following formula: =workday(H21,H23,J20:J34) which calculates my date based the date entered in cell H21. While testing I realized that I needed to add another variable to the formula for a specific scenario. When my Date in H21 is less than todays date I require another workday formula to be calculated. How can I add this if statement to the existing formula?

View 2 Replies View Related

If Then Statement In A Formula

Oct 6, 2008

I am a sales rep and am designing a spread sheet to help me track my commissions, on occasion I need to split the commission with another rep I have the spreadsheet set up as follows:

J1 Dollar amount - the total amount of the sale. K1 fee% - my fee is negotiable so this number will vary by client this field is formatted as a precentage. L1 total commission - takes J1*K1 to give me a $ amount M1 split y/n - here is my question, i would like a formula that will divide L1 in half if I type a Y or Yes in M1 I'm sure this can be done but I dont know how, also would the formula go in L1 or M1 if I want the results to be displayed in L1?

View 3 Replies View Related

Using Value Of A Formula In IF Statement

Apr 21, 2006

I'm entering a simple IF statement in excel that asks if one cell is bigger then another. However one of the cells I'm referencing is also a formula, so excel is not reading the value in that cell. How can I get around this problem? Is there anything that will enable me to compare just the value of that cell? I have attatched the file and the cell in question is F21.

View 5 Replies View Related

Increment Formula With If Statement

Aug 7, 2012

How to increment a formula with an If statement that transforms 2 values in time format and then as long as these two values keep beeing added in the cells the formula keeps active in the column.

I tried to apply the code for all the but this makes my file huge like 20MB!

You can check this on the file, go the "records" sheet, add the time in the "shift start" and "shift end" fields, then the difference value goes to "hours" in the sheet.

[URL] .....

View 4 Replies View Related

Using IF Statement With Length Formula

Jan 2, 2014

I'm trying to use an if statement with a LEN function, i want to say if column O2 is 5 characters long then populate with Y if not populate with N.

I have tried.

=IF(LEN(O2,5),"Y","N"

but it doesn't work?

View 2 Replies View Related

Counting Formula With If Statement

Mar 14, 2009

I need a Count formula with an If statement to count how many accounts in column A have a start date (column B) greater than today?

View 4 Replies View Related

If Statement (put 'IF Formula' In Cells)

Sep 23, 2008

I am trying to put an "If statement formula" within cells using VBA but it errors at the word "error".

Basically what I am trying to do is put similar to the following example into a range of cells.. for example:

=IF(LEN(Verbatim_LU!B2)>100,"ERROR","OK")
...with B2 being worked out by the for..with and the value (in this instance 100) being put in by VerbLen.

NB: Column A contains a reference number hence not having this actioned on it and counts start from 2

View 14 Replies View Related

Formula On Making A Statement

Jan 20, 2014

I need a formula to look at a cell and if it is =< 102 say "Flat Bed", or =120 "Double Drop"

View 1 Replies View Related

IF Statement That Returns A Formula

Oct 2, 2008

Can an if statement return a formula (e.g. =IF(A1=1,C1+D1,0))

View 9 Replies View Related

IF Statement Missing Parenthesis In Formula?

May 15, 2014

"your formula is missing --) or (. Check the formula and then add the parenthesis in the appropriate place. The following is one long string. I broke it up to make it easier to read.

=IF(OR(ISNUMBER(FIND("J",M117)),K114,
OR(ISNUMBER(FIND("S",M117,)),K112,
OR(ISNUMBER(FIND("HOH",M117,)),K117,
OR(ISNUMBER(FIND("MF",M117)),K113,
OR(ISNUMBER(FIND("QW",M117)),K116,
OR(ISNUMBER(FIND("B",M117)),K115,0

View 3 Replies View Related

OFFSET Statement Formula Static

Oct 21, 2008

Is there a way to make the last two parts ("height" and "width") of the OFFSET statement formula static (meaning they alway refer to the same cell)? I am inputting a different number in the "colum" section of the formula and every time I do...it changes which cells the "height" and "width" refer to.

View 6 Replies View Related

Combining IF Statement With Regular Formula...

Jul 23, 2009

I am creating an electronic timesheet. I have created drop downs for times of the day, which then automatically calculates the number of hours worked based on the times selected. The trouble I am having is, I also need to incorporate "Vacation", "Sick Day", etc into the drop down box where the time of day is located.

The sheet works great until someone selects a non-time related answer, such as "Vacation". When this option is selected, the cell that is supposed to contain the number of hours worked says #VALUE! when I, in fact, need it to list a value of 0 for the number of hours worked. Any idea on how to combine my formula =(D6-D5)*24+(D8-D7)*24+(D10-D9)*24 with an IF statement that will automatically assign a value of 0 if a text answer is selected from the drop down?

View 6 Replies View Related

Force If Statement To Evaluate Another Formula Value

Aug 26, 2009

I am trying to use an If statement and wanting to evaluate another formula.

The formula is as follows: =IF(B6>=7,Table!M16,Table!M47) where B6 =REPLACE(D24,1,3,"") which returns an integer. In this case it is 6.

Unfortunately it doesn't process the formula value correctly in the If statement unless the reference cell is hard coded with the integer. Is there a way to force the formula to evaluate the value of the cell formaula first before doing the If comparison?

View 4 Replies View Related

Custom Rounding And IF Statement In One Formula

Aug 3, 2013

Round to Nearest Half Based On Defined Range of Decimal thread.

So here is what happens in the first half of the equation....I round numbers to the nearest half based on a specific range of decimals in the original number. For example if the number in A1 is:

28.0 to 28.399 then rounds DOWN to 28
28.4 to 28.799 then rounds to 28.5
28.8 to 28.99 then rounds UP to 29

For this I am using shg's equation:

[Code] ........

This is all I needed for most of my numbers.....but one part goes one step further.....

NOW THE SECOND HALF......Once the first half of the equation rounds the number above, I need the second half of the equation to then do the following. If the resulting number from the first part of equation above is:

1 through 3 = its own size (1 is 1, 1.5 is 1.5, 2 is 2, 2.5 is 2.5, 3 is 3)
3.5 to 7 = 3
7.5 and above = 4
Resulting number from last part of the formula multiply by 2

So this will end up being only 1, 1.5, 2, 2.5, 3, or 4 multipled by 2.

I am pretty sure this second part would be an IF statement (or maybe there is a more efficient way), but I am still learning the ins and outs of that....but I don't know how to use the first formula and add the needed second part into all one formula.

View 8 Replies View Related

Move Formula Dependent On IF Statement

Apr 15, 2014

In the attached spreadsheet, I have data pertaining to the amount of money raised for a bunch private equity funds, and the dates when this money was raised.

For a little background, private equity funds raise money in various batches or "closes", so a fund may initially raise $5M in its "first close" and then in its "second close" it may raise another $5M or so. And then a "final close" would be the last time that fund would raise money.

I'm trying to figure out a way to move data in my "Fund Size" and "Fund Size Date" columns to the corresponding "First/Second/Final" close amount/date columns, according to the "Status" of the fund in my Column A.

Essentially, if a fund is either "Fundraising" or "Fundraising and Investing" status, then I would need the fund sizes and fund size dates to populate in the corresponding columns left to right.

And then if a fund is in "Investing" status, the most recent values (or those furthest right) would need to appear in the "Final Close" columns.

Fund Closes.xlsx‎

View 5 Replies View Related

Way To Combine The VLOOKUP And IF Statement Formula's

Jan 26, 2006

Is there any way to combine the VLOOKUP and IF Statement formula's into one
formula or is there any other kind of formula which does both?

View 9 Replies View Related

Improving Formula; IF Statement Is Too Long

Dec 21, 2009

I have a formula which is currently too long and which I'm sure could be done more efficiently. That plus Excel is saying the formula is too long. I have pasted the formula below and broken it up for clarity:

---------------------------------------------------------------------------------
=IF(AND(E3="Three",I3<=100),
(I3*VLOOKUP(C3,costsnetwork,10,FALSE)/100),

IF(AND(E3="Three",I3<=250),
(100*VLOOKUP(C3,costsnetwork,10,FALSE)/100)+((I3-100)*VLOOKUP(C3,costsnetwork,11,FALSE)/100),

IF(AND(E3="Three",I3<=850),
(100*VLOOKUP(C3,costsnetwork,10,FALSE)/100)+(250*VLOOKUP(C3,costsnetwork,11,FALSE)/100)+((I3-350)*VLOOKUP(C3,costsnetwork,12,FALSE)/100),

View 14 Replies View Related

Get FALSE Statement With Formula - Blank?

Nov 24, 2011

=IF($T$50=Controls!$B$2),"GO",IF(AND($E$52=3,Controls!$B$3=1.3,$U$1=8,$AB$1>=Controls!$B$2),"GO","")))

Why do I get a FALSE statement with this formula when T50=1, i want it to be blank.

View 9 Replies View Related

Changing Lookup Formula To IF Statement

Feb 12, 2013

How the Lookup will break down within an IF statement?

Original

HTML Code:
'ActiveCell.FormulaR1C1 = _
"=IF(R[-1]C[-2]"""",LOOKUP(1000,SEARCH({""Principal"",""Foreclosure"",""Interest"",""Premium"",""Discount""},RC[-1]),{1,1,2,2,2}),"""")"

Non-Working If statement. I realize that the Lookup isn't currently here. Including it kind of defeats the purpost of breaking this out into IF's, doesn't it?

HTML Code:
If MyFirstCell.Offset(0, -2) "" Then
MyFirstCell.Offset(0, -1) = Search("Principal")
MyFirstCell = 1
ElseIf MyFirstCell.Offset(0, -1) = Search("Foreclosure") Then
MyFirstCell = 1

[code].....

View 4 Replies View Related

Add IF Statement Into Middle Of Existing Formula?

Jan 23, 2014

I have lots of data in the form of names, and i want to extract all rows of data for that name. So if name "john smith" appears in column A 7 times, i retreice 7 rows of data.

My formula is this...

=IF(ISERROR(INDEX($A$1:$C$7,SMALL(IF($A$1:$A$7=$A$10,ROW($A$1:$A$7)),ROW(1:1)),2)),"",
INDEX($A$1:$C$7,SMALL(IF($A$1:$A$7=$A$10,ROW($A$1:$A$7)),ROW(1:1)),2))

This works perfectly and it gives me my 7 rows of data if i type in "john Smith" into A10, however, i want one more condition to be met in column C, whereby Column C is made up of either 1, or 0. If its a 0 i am not interested, if it is a 1, i am.

View 2 Replies View Related

Countif Statement That Counts Only Cells Without A Formula?

Sep 14, 2013

I have a range that contains a mixture of hard coded data and data pulled from a database sheet. I want to average only the hard coded data not the ones in the cells containing formula. I need this to be dynamic instead of just selecting the cells as formula might be added later on.

View 1 Replies View Related

If Statement Formula Which Brings Back A Numerical Value

Aug 26, 2009

cell AT7 is a formula which brings back a numerical value i.e. 15.

in cell AS7 i need a formula that displays the value of cell AT7, as long as that value is less than 15, if the value is 15 or higher then 0 should be displayed.

I dont know why i cant get this, seems like a simple IF statement to me, but who knows.

Once this formula is done i need to drag it down about 2500 cells and autosum to get a column total...

View 3 Replies View Related

Vlookup/if Statement - Put A Formula Where The Question Mark

May 4, 2007

I need some help with vlookup/if statement ......

View 9 Replies View Related

IF Statement Formula Which Will Change The Contents Of The Cell

Jan 23, 2008

I need to create a formula which will change the contents of the cell to one of 3 options based on the value of another cell

For example if I was using B2 as the cell to reference I need to say IF B2 = 0 then say "Closed", IF B2 = 1 then say "Open" and if its any other value then say "Error".

I'm having some trouble having all 3 if statements nested correctly.

I don't want to do this as a macro just as a formula.

View 9 Replies View Related

Formula To Find Specific TEXT In One Long Statement

May 28, 2014

formula to find specific text from statement.

I manage to use formula find for 1 text in 1 statement, but in confuse how to get another text found if i have "8 text" to find. Generally, there will only be "1 text" for each statement.

Maybe in 1 statement there have only "IC" or "Staff Tagging" or Name" or "Product" or etc till 8.

View 8 Replies View Related

IF Statement Formula That Warns If The Three Highlighted Ratios Are Not Meet

Jul 17, 2006

The attached worksheet is for giving competitors a score of 1 if they meet certain criteria and 0 if they don’t. Need to write a formula that warns me if the three highlighted ratios are not meet. The last Ratio (15) is on a sliding scale so must be at least 1.

View 6 Replies View Related

Search Formula (return A Statement If A Certain Month Is Contained In The Text Within Another Cell)

Dec 21, 2008

I am trying to write a formula that will return a statement if a certain month is contained in the text within another cell. Formula is =IF(ISERROR(SEARCH("Dec",Assumptions!B2)),"Ensure Journal is Non Reversing","")

Cell B2 contains a date in the format of Dec 08, so if this date contains Dec, then return "Ensure Journal is Non Reversing", if it doesn't then leave the cell blank.

At the moment it is putting in the first test for every month I select and not changing to blank.

View 2 Replies View Related

Utilize A Select Case Statement In Target Intersect Statement

Jul 28, 2009

I am currently using an Intersect statement in a worksheet module to perform two things:
1. Insert a time stamp into row 2 when row 1 has a price inserted
2.To clear that time stamp if the price is deleted at some later date.

My problem is with the time stamp value being deleted by the user.
If I try to clear the price (now that the time cell =empty) I get a Runtime error 91 - Object Variable or With block variable not set.

I would like to convert this code to a select case statement but I'm not sure how to do this in this situation. Would error coding be appropriate in this instance?

View 5 Replies View Related

If Statement Within If Statement (recognize The Cell)

Oct 1, 2008

I'm trying to set up an if statement that will recognize that if a cell is FHR it will do something...but if it's PHR it will do something else. I think I found the place where I keep getting an error but I'm not sure how to go about fixing the issue.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved