IF Statement Based On Format
Feb 17, 2009Is there any way to do an IF statement that is based on the format of another cell. For example
View 3 RepliesIs there any way to do an IF statement that is based on the format of another cell. For example
View 3 RepliesI am having a problem defining a currency format based on an IF statement. My statement looks like this......... =IF(E22=1,"USD",IF(E22=2,"CAD",IF(E22=3,"EURO","USD")))
What I want is to show $ when USD or CAD is returned and € when EURO is returned.
I want to conditional format cells with an if statement (something to that nature). I attached an excel file to aid in my question. Basically I want it to be color coded to alert users Red if no action is required because info is left out Yellow if info is available so take action Green if all is complete and nothing needs to be done.
If G2 does NOT have data then cell H2 has red fill
If G2 does have data then cell H2 has yellow fill
And finally if I2 is filled out cells A2:I2 are green filled
I have a list of 31 values in separate cells. The values are three digit letter codes. Here is an example of 5 of them:
ATL
GMI
WOB
COI
PTS
What I am wanting to do is have a Conditional Format to change the color of the cell to Pale Blue if the value equals another cell that is within a range.
In s74 I have the formula
=COUNTIFS(C:C,"Holiday Inn Express Limerick",I:I,1)
And it gives me a count of 21. Is there a way where I can use conditional format to highlight those 21 instances?
I have a list of data for each year dating back 10 years and some of lists had entries that weren't available so the cell showed up #N/A. I searched and replaced them with 0 but when I graph the data it skews my graph. I was wondering if it was possible to take a logic (IF) statement that says if the cell = 0 then take the average of the next and previous data points so the graph looks smooth. i.e. =IF(G444=0,(G443+G445)/2,G444) This gives me the correct number i want, but i want to apply it to all my lists like a format if possible.
View 1 Replies View RelatedI would like to have a single button that changes a range of cells from the USD to EURO to perhaps CAD symbol. Can this operation be performed, such that if I start in dollars, and I click the button once, it shifts by range to EURO (not formulas...just symbol)...and then if I click the same button again, it goes to CAD, and then back to USD with a third click?
View 5 Replies View RelatedIs it possible to use an IF statement based on Dec 31 - of any given year? If Cell B22 contains Dec 31 (year doesn't matter), I need to subtract 1 day from the date in Cell F2. This only pertains to Dec 31. If any other date of the year is in B22, no calculation should take place.
View 3 Replies View RelatedIm trying to put a IF statement together to use the in between function.
I have a table (days) from 1 to 5 ie 21
I have a column of aged purchase orders and im trying to do a IF statement based on the table.
I am looking to modify the formula below. Rather than specify the time "TIME(20,55,0)", I am looking to pull the time from another cell within the spreadsheet.
=IF(B6="","",IF(E7-INT(E7)
I have a data of 10 rows and 6 columns, if i delete the data in column 1, I want the entire row 1 to get deleted and this I want using IF Statement.
View 2 Replies View RelatedI am looking for a way to say
IF A2>9 then B2 returns bronze
IF A2>24 then B2 returns Silver
IF A2> 49 then B2 returns Gold
IF A2>99 then B2 returns Platinum
If I have any value in cell A1 then the cell should show 1 if true or nothing if false. I have managed this via
View 3 Replies View RelatedG5 - can contain True or false
G6 - contains text but the if is on the basis of this cell being "Hand Delivered" or not
I have tried the following to illustrate what I after:
I have a validation list list in column E "Check, Charge, Credit Card, Other". in another column i have what i thought was a straight forward IF statement: =if(E3="Check",9999,"[ ]")
It does not recognize "Check" as the condition. Is there a tweak i can do to get it recognize the data validation.
I am working in cell T3 of 'workbook A'.
I want to lookup a value from cell C4 in 'workbook B' if the value in cell G3 of 'workbook A' equals "Yes". If the value of cell G3 in 'Workbook A' equals "No" I need the value to be 0.
Is it possible to have a If statement based on the cells text color.
ie
If(color of A2=RED,1,2)
So if Apple text was colored red the result woud be 1
If the Apple text was black the result would be 2
I want to copy a row based on a certain condition. I have 700 rows of data on sheet 1. If Cells in column A contain an X, copy row A# to sheet 2. If there are more than cell that has an X copy all of the rows, naturally. Can this be done with a simple conditional statement, or am I going to need to generate an array, then write that array to sheet 2?
View 4 Replies View RelatedI have created a checklist using "Marlett" checkboxes. I have the names of choices in column B the Checkboxes in column C. In another sheet I want to populate only the names of the choices chosen without any of the spaces that a traditional if statement would populate if it was copied down a column.
View 3 Replies View RelatedTwo part question:
1. How do I structure an IF statement based on a specific cell color (e.g. if a cell is yellow, then perform function x)
2. How do I know what color is what? Is there a pantone reference? A color "name" that excel uses?
I'm having a bit of trouble with a macro designed to read the length text in a cell and if it = a certain length then perform an action (in this case Text to column)
Here is a small sample of the data I'm working with:
Tue 02/11/2014
LastBootUpTime
20140211082244.222441+000 <<
Tue 02/11/2014
LastBootUpTime
20140211082244.222441+000 <<
Tue 02/11/2014
LastBootUpTime
20140211082244.222441+000 <<
Tue 02/11/2014
LastBootUpTime
20140211082244.222441+000 <<
Tue 02/11/2014
LastBootUpTime
Tue 02/11/2014
LastBootUpTime
20140211082244.222441+000 <<
*End Sample*
The text length I want it to perform the action on is highlighted with "<<" if the length of text does not meet the required number then I want the statement to skip and move onto the next one.
I have the text to column code already done with relative references however the long text string I want the statement activated on is not always present which means that the pattern (0,3) is not always consistent.
I was trying to use an if statement to produce results based on 2 cells. The number in the 1st cell can be the number 1 to 5, but each number has critera with it. Say the cell is A1 and i enter the number 1. Then i want to check the value of Cell A5, if this is less than 40 then the cell A10 should read 250 and if A5 was over 40 then it should read 285. struggled to get a formula properly to work.
Here are the values for each number: A1 = 1 with cell A5
I am trying to pull certain members loads from our global design force spreadsheet and because of the naming convention we used for our structural members the 2nd to last character is unique to what I am looking for. I am trying to get a simple condition statement that will display the load only if the 2nd to last character of the name of the element is satisfied.
For Example, if "T" is what I am looking for then :
EDT4 will be true and give me the value accordingly
D10T1 Will also be true and return me the value
D10B2 Will not be true
I know how to use the Mid() and right() function, but I need to check the 2nd from the right.
I am trying to get an IF Statement created based off a checkbox answer.
I have a cell reference C2 from Checkbox that is answer Y.
If "Y" I want to calculate *0.005+0,0.03),0)*C4.
I need to skip the 1st & 2nd quarter after C4 before the calcautaion starts.
Then continuing no greater than .03 till the date changes.
I have tried to rearange this formula every way I can think of to get it to work like I want it to.
a correct formula for me to get this to calculate?
I've been working on this project to propagate certain products through multiple categories. I chose to use excel to assign multiple categories to each product. On sheet1 I have setup products (column a) and qualifiers in the following columns (color, model, etc). What I would like to achieve is for the user to select yes or no for each category column and and if yes then have the corresponding category breadcrumb string (from sheet2) inserted into one specific column in sheet3. As the user continues to select multiple "yes" from the category columns for that single product, those additional category breadcrumbs get inserted at the end of the list in sheet3.
View 9 Replies View RelatedOK 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.
I have 4 and 5 digit numbers. For the 4 digit numbers, I want to be able to distinguish between the numbers by the last digit. For the 5 digit numbers, I want to be able to distinguish between the numbers by the last two digits.
Example: For 4 digit numbers, I would like to do something with all numbers ending in 1, 2, 3, 4, 5, 6, 7, and 8. For 5 digit numbers, I would like to do something with numbers ending in 10, 11, 12, 20, 21, etc.
The first step in being able to do this, I guess is distiguishing between 4 and 5 digit numbers, which I know can be done by the number lenght. However, the second part of looking at the last digit or the two last digits I don't know how to do.
I have three sheets of data, each sheet has various columns of data, but within each sheet, column one contains a unique reference number (URN), which is a unique six digit number identifying an organisation.
In sheet two I need to create a new column and call this 'Filter Group'. In that column I want to insert a series of IF statements to return a value from all three sheets. The difficulty I'm having is that I can't get the if statements to work specifically for when the URN in sheet one or three match the URN in sheet two.
Sheet two is my main data sheet. Sheet one is called '2 Weeks Previous' and sheet three is called '2 Weeks ahead'. The IF statement I have created so far is as follows:
=IF('2 Weeks Previous'!H:H=1,"ENF grade 1",
IF('2 Weeks Previous'!H:H=2,"ENF grade 2",
IF('2 Weeks Previous'!H:H=3,"ENF grade 3",
IF('2 Weeks Previous'!H:H=4,"ENF grade 4",
IF('2 Weeks Ahead'!B:B<>"",'2 Weeks Ahead'!G:G,
IF('Background data'!H:H=2,"All-Good","NotRequired"))))))
I need some different columns within a row to calculate based on a statement found in an earlier column in the row. something similar to below. there will only be two statements total which are noted on the table below.
A
B
C
D
E
1
0
0
20
5%
[Code].....
So basically If column A = disposition calculate D and E in column B but if Column A = Receipt calculate in column C
The formula for D and E is not exactly as shown just using that as a quick example. I'm using office 2010.
I have a worksheet with a range of dates in column E. What I would like is a formula that states If any of those dates is less than or equal to 10 (days) from today and column H text is not "Yes" then show text "Email outstanding Actions" else show nothing?
View 4 Replies View Related