If Statement To Return 3 Values
Aug 25, 2013
I want to use an IF statement that returns 3 values. I can do it to return 2.
Example: I am measuring performance of individuals. If they deliver below 50% I can return the value "Needs Improvement". If they deliver Over 60%, I need to show "Excellent" and finally if they deliver between 50% & 60% I need to return the value "Good".
I am not sure how to show 3 values.
View 3 Replies
ADVERTISEMENT
Nov 6, 2009
I have an IF statement that I need to look at different cells and return different values if ture or false, depending on what is selected in cell J2
Cell D2
if J2 = "FMB/FPI" then retrun the value of cell Y7
if J2 = "FPI/FPI" then N/A
if J2 = "FMB/OTHER" then return the value of cell Y7
Cell E2
if J2 = "FMB/FPI" then retrun the value of cell AC7
if J2 = "FPI/FPI" then then retrun the value of cell AC7
if J2 = "FMB/OTHER" then N/A
Cell F2
if J2 = "FMB/FPI" then N/A
if J2 = "FPI/FPI" then N/A
if J2 = "FMB/OTHER" then then retrun the value of cell AC7
View 4 Replies
View Related
Apr 25, 2007
Each row represents a call. If a call in column A equals "CW" and it has the highest duration (H:MM:SS) value in column B, then provide me the date (MM/DD/YYYY) for that call that is stated in column C.
i.e.
Column A --- Column B ---- Column C
AB ------------ 0:02:22 ----- 04/14/2007
CW ----------- 0:03:13 ----- 04/16/2007
CW ----------- 0:01:42 ----- 04/13/2007
Thus, the value that should be returned is "04/16/2007".
View 9 Replies
View Related
Mar 5, 2014
I have 2 sets of criteria, column B and D, both are ranked in column C and E respectively.
Cell h2 and h3 have the minimum requirements so I essentially want to add onto the RANK formula I have so if a person does not meet the minimum rank cells will return a null value.
View 1 Replies
View Related
Oct 14, 2008
creating a formula that will give me a result of either "W" or "L" depending on the amount in corresponding cell.
View 9 Replies
View Related
Feb 15, 2012
I am working with data that has numeric values in columns S, T and U. In column M I want to return the header of the column that has the largest value (S,T or U).
Here is the formula I am trying to use:
=IF(OR(S2>T2,S2>U2),$S$1,IF(OR(T2>S2,T2>U2),$T$1,IF(OR(U2>S2,U2>T2),$U$1)))
The problem is that it only sometimes works properly. I have found instances where the value in column T is greater than S and yet column S's header is still returned. What am I doing wrong?
View 9 Replies
View Related
Feb 17, 2012
IF the first letter (i.e. left most letter) in any of the cells in range F7:F17 is "R", return its content to cell L3 and put a line break between each (i.e. create a list within a single cell).
I've read line breaks can be put in by using &CHAR(10)& but can't get a full formula to work.
View 5 Replies
View Related
Dec 10, 2008
I am attempting to return a value in a table using an IF statement, but without referring to other values in the table.
My first column contains price break quantities;
5
10
20
50
70
100
The top row contains selling quantities;
1410192541517699105
The IF statement should return a "Y" in the cell if the value in the top row is greater than the value in the first column, but only for the relevant price break, i.e. the column with 51 in the first row should only have a "Y" in the row with 50. This would be much easier if I could work out how to post the workbook!
The formula cannot refer to other row values (otherwise it would be easy), and cannot use VB.
So far, I have come up with;
=IF(AND($C6
View 9 Replies
View Related
Jan 15, 2007
When I tried using if & or statements I got an error - so I tried this:
=IF(K7="&","V,",""),IF(K7="1 Space + &"," V,","")
I want to return 'V,' if cell='&' or if cell='(space)&' I want to return '(space)V,' What is wrong with this statement..?
View 5 Replies
View Related
Jan 9, 2009
not sure if an "IF" staement is appropriate?
I have 3 columns containing data:
column A has text in it,
example: A2="red", A3="green", A4="blue"
column B has 3 letter month in it and they could have repeats
example: B2="Jan", B3="Feb", B4="Jan"
C2="Jan"
in D2 list anything column A that matches C2
example: D2="red, blue"
View 11 Replies
View Related
Oct 26, 2009
In column D I have an Expiry Date and in column E I put formula “=IF(D2<=TODAY()+90,"we have less than 90 days!!!","we have more than 90 days")” the formula works fine but my problem is I need formula if item have expired in column D its have to say in column E “ ITEM EXPIRED “ or something. I highlighted line in yellow below attached sheet.
View 4 Replies
View Related
Apr 17, 2014
I can't seem to get this If statement to return an empty cell It returns 0
HTML Code:Â
=IF(+B7+C7="","", +$C$3-B7+C7)
The formula will go in D7
If either B7 or C7 is empty, leave D7 empty
If either B7 or C7 has a value, add or subtract from $C$3
View 6 Replies
View Related
Jan 6, 2012
I'm working on a spreadsheet where I need to return the column header where the value in that row matches the criteria from an if statement.
The column headers are departments, the row headers are customers numbers, the values show the % of items sold in that department as a % of the total purchases by that customer.
I need to make a formula for each row so that if the % in any of the current row's values is 75%-100% then get the column header for the column that value is in.
I know it's an IF statement, but I don't know how to return the column header for the value when the if statement is true.
View 9 Replies
View Related
Feb 23, 2010
I know that if true the following formula would return a 1
=IF(I7= 500000 and if I wanted to return a 2 if the cell value was greater than 500000 but less than or equal to 1000000
View 9 Replies
View Related
May 2, 2014
I wan to set up an IF statement so that if the date in Column A is between 4/28/14 and 7/17/14, it will return "Q3" and blank if no date.
View 1 Replies
View Related
Nov 11, 2008
I have a problem with finding the right function. My goal is to have the following function...
The cell D1 has the following function: [=IF(B1<=C1;"YES";"NO")] But I would like to have the cell D1 to be left blank, if the cell A1 is blank.
View 8 Replies
View Related
Oct 11, 2011
I have data that has months in it that are spelled wrong and in different formats etc. I need to be able to search the range of data I have created in a separate table in order to return the correct abbreviation into my spreadsheet. See below:
Need to be able to search this range (A1:E12) and return the corresponding horizontal value in the last column (Jan, Feb, Mar)
JanuaryJanuraryJan-11JanJan
FebruaryFebruraryFeb-11FebFeb
MarchMarchMar-11MarMar
AprilAprilApr-11AprApr
MayMayMay-11MayMay
JuneJuneJun-11JunJun
JulyJulyJul-11JulJul
AugustAugustAug-11AugAug
SeptemberSeptemberSep-11SepSep
OctoberOctoberOct-11OctOct
NovemberNovemberNov-11NovNov
DecemberDecmberDec-11DecDec
I am currently trying this, but its not working! =IF(F2="","",VLOOKUP(F2,Dates!$A$1:$E$12,5,TRUE))
View 9 Replies
View Related
May 13, 2009
Column A consists of cells with a variety of five digit numbers. My formula needs to return a text value if numbers are present in column A, this is what I tried:
=if(A1="","Chassis") but it returns "False" instead of "Chassis".
View 9 Replies
View Related
Nov 19, 2009
OK i have put the membership cards on the same sheet as my raw data so to make the formulas easier. On the membership card i have under membership level i have the formula : =VLOOKUP($J$3,A:E,4,FALSE)
there is 3 types of level bronze, silver and gold
what i would like is if the level is gold after then an image to be placed in the cell rather than the word gold and a different image for silver and a different image for bronze.
View 9 Replies
View Related
Apr 26, 2014
How would i wrte this formula correctly?
=IF(SUM(I5:J26))-(SUM(D5:E26))>=0,0,(SUM(I5:J26))-(SUM(D5:E26)
It needs to say if the sum of the two cell ranges is less than or equal to zero then display as zero, otherwise display the answer
View 3 Replies
View Related
Jan 16, 2007
Is it possible to return a value, via an IF statement, depending on the font style of a cell?
What I want to do is this...Check to see if a the font in the cell has a strikethrough, if it does, return 0, else return the value in the cell.
View 9 Replies
View Related
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
Oct 27, 2008
I'm working on a sheet that will help us with lots of data. This spreadsheet has 2 work sheets in it, one is being used as a form, the other data.
I'm having trouble with a formula on a "Form" worksheet that tells me - if a cell on the "Data" worksheet is blank, then leave it blank. If it contains the word "ON", then put an "X" in the cell.
Here's what I am using to try and get this working, not having any luck.
Any ideas?
=IF(OR('Data'!H2="",'Data'!H2=ON),””, X)
View 11 Replies
View Related
Jan 25, 2010
I want to set up an if statement that does the following, where 'a' and 'b' are numerical values.
If 'a' is not a multiple of 'b' Then
...
Else
...
End If
How can I write this so VBA can understand it?
View 2 Replies
View Related
May 24, 2006
I would like to be able to search a group of cells for particular text,
placing the true of false value in another cell, using this formula;
=IF(ISNUMBER(SEARCH("ACP",A2)),"ACP","XXX")
My reason for this is that I have a large amount of data that I need to
break down. I have a column that is listed similar to below;
OR/ACP
OM/ACT
OR/MTS
O/O
The part before the / is 'system code'
The part after the / is 'module code'
I want to be able to have one additional column for system code and one
additional column for module code, without having to manually go through all
the data and make any amendments to it.
So as a result, (without the correct syntax) with 'S' being the system
Column and 'M' being the module column, what I would like to achieve is;
If cell contains "O/" then S1 = Office but if cell contains "OR/" then S1 =
Office Range but if cell contains "OM/" then S1 = Office Medium
I hope that makes sense.
Obviously repeated for the module column;
If cell contains "/ACP" then M1 = ACP but if cell contains "/ACT" then M1 =
ACT but if cell contains "/O" then M1 = O
View 9 Replies
View Related
Jun 25, 2014
How would I write a IF statement comparing 3 values. For example the field that it would be referencing would have values cell E51(1,2,3,4,5,6,7,...99). The pull back would be:
1-10 = $250,000
11-15 = $550,000
16+ = $750,000
View 2 Replies
View Related
Nov 1, 2009
I need to change the following statement to look for inexact values; i.e. the string of text (ABC) can be found in any position of that cell.
Example 12345ABC = True, 123ABC456 = True, etc.
If (ActiveCell.Value = "ABC") Then
View 9 Replies
View Related
May 10, 2006
I have a list of 100 values in Column A of the attached spreadsheet Sample.xls. I need to count the number of values between a certain percentage including both positive and negative values. Example: I need to count all values that are between 0 and +5% and 0 to -5%.
View 2 Replies
View Related
Oct 23, 2008
I have a problem with the formula that lookup all values in ascending order and returning all the corresponding values. eg: I was intended to lookup for the value in ascending order under the Total Occurrence and returning all the corresponding value under the Nos Group but encountered the same Nos Group was returned when there is same value appeared under the Total Occurrence.
View 3 Replies
View Related
Apr 17, 2009
I have 12 columns of data. In those 12 columns of data I have 3 digit numeric IDs. I want to count the unique number of IDs for each row. I have about 14K rows.
What would be the best way to do so?
Some rules about how the data is stored. I have 12 columns of data with anywhere from 1 to 12 columns having data for each respondent. Data always fills left to right and never skips columns.
I have attached an example file that represents how the data is stored and the output I would like (Unique Count).
View 7 Replies
View Related