Status (column C), New Status (Column D) and Date Sent (column M)
Status column (C) contains multiple stages of progress status (Being Reviewed, Filed Not, etc)
New Status (D) column is blank (this is where I will enter the formula)
Date Sent (M) has mostly blank cells but some with dates in them
I would like a formula in column D (New Status) which evaluates C (Status).
If C = "Filed Not" AND M is blank, then output "Filed Not - Not Sent"
If C = "Filed Not" AND M has a date in it, then output "Filed Not - Sent"
If C <>"Filed Not" then output whatever data exists in C
I can get each of these to work individually, however, I can't, for the life of me, get them to work into one equation.
See example attached. I am building a form where a user need to provide different criteria to receive a specific hourly rate. Conditions are:-
1. Age 2. A / B / C / D 3. Weekend (W) or Mid Week (M)
There are 4 age groups, 4 categories (A,B etc) and 2 Daily rates, therefore there are 32 different possible rates. I have considered nested if statements but I think this would be a very long formula - is this the only answer?
If the total # of items is less than 61, then I want to get a "2" if the difference between the errors and # of items is greater than 5% and a "0" if it is less than 5%.
If the total # of items is greater than or equal to 61, then I want to get a 2 if the difference between the errors and # of items is greater than 1% and a "0" if it is less than 1%.
Jan Feb Mar Total
Errors 1 0 0 1
Total Items 50 50 50 150
>= 61 total items, Target is 1% error Rate. The above table has an error rate of .66% (1/150) and should be scored "0".
Currently I am using an index matching function as shown below as I am looking up based on multiple (2) criteria. However for some instances I know that there will be 2 or even 3 possible outcomes that this formula could return. Despite the fact that each of these values is exactly the same, the function returns an error, which I am assuming is because it found multiple solutions.
I have a macro implemented in my worksheet which plots graphs. When you press it, it plots a graph.
What i would like it to also do is: (a) create a tab name which states Graph_1.45 {last bit is whatever the name of the data worksheet is}. - so for example i will eventually have 20 worksheets of data of the same form as the attachment. Each will have the option of the graph. So each will haveits own name, by pressing the graph button the name thatis given is Graph_"whatever the tab sheet of data's name is".
(b) Now the problem is if a user forgets to delete the worksheet it comes up with an error. Is there a way by which if the graph already exists the macro comes up with a message "Graph already exists" and gives an option to delete that graph and plot nbew one?
I am wanting to create a VB script that will take a number (in general format) of two or three digits, convert it to text, then make sure that there are enough zeros preceeding the number to make exactly 6 digits. Examples of the initial number (before the macro is run) and the final number (after it is run): ..
If the percent in a cell is more than 10% less than another cell I would like it to turn red. I would like the cell to turn yellow if the percent in that cell is within 10% below the percent in another cell, or if the percent is greater than that of another cell I would like the cell to turn green. How do I do this?
To clarify; If cell a1 is 20% and Cell a2 is 21%, I would like the color in cell a1 to turn yellow since it is less than 10% below cell a2. OR if cell a1 is 25% I would like it to turn green since it is greater than cell a2. OR if cell a1 is 10% I would like it to turn red since it is more than 10% below cell a2.
I've looked at conditional formatting and it does not seem to apply, this seems like it would need an if function combined with conditional formatting.
An example will be as follows. List all possible outcomes for 3 matches. That will be 27 possible outcomes.
I would like results for my request of 50 matches to be displayed as follows.
HHH HHD HHA HDH HDD HDA
[Code] ...........
Where: H=HOME D=DRAW A=AWAY
Is there a way i can have the possible outcomes listed as above for the outcomes of 50 football matches? I do know that the outcomes will be hundreds of millions if not billions.
I am trying to create a formula which looks in 1 cell to determine 'IF' it states either "BUTT CUT" or "DIE CUT" and then does a VLOOKUP in a table array for each which ever column relates to asnwer to 'IF statement.
This is as far as I have got but even this won't work:
I know the last part is totally wrong (symbols arranged in that manner), but to clarify i would like the date entered in C1 to override the other statements in the fomula to make it read "completed". If no date is entered in C1 then the formula will return either "overdue" or "outstanding" depending on the other dates in A1 and B1.
I need to fill 2 other cells with varying colours dependant on what is chosen within another cell.
I have a drop-down list in cell A2 to select either ON SITE, ACTIVE or CANCEL.
What I need then basically is... if A2 equals 'ON SITE' then fill other two cells (A3 and B1) GREEN if A2 equals 'ACTIVE' then fill other two cells (A3 and B1) YELLOW if A2 equals 'CANCEL' then fill other two cells (A3 and B1) RED
I have a spreadsheet that I need some help with coming up with a multiple if statement(or maybe sumifs?) I don't know. Here is what I am wanting to do(In somewhat plain old english)
if c3:c43 = A9 add g4:43 than does the total = h3:43 if so display true else false
I have the following formula entered into cell O4: =IF((AND($K4="1",$B4="1 - C",$I4="open")),(1),(0)). When the three conditions are met in the corresponding cells, I get a "0" returned in cell O4. I would like the formula to return a "1" when all three conditions are met.
I have a formula that looks at 5 columns. If any one of these 5 columns meets the specified criteria, it will "Fail" the row. What I want is, when the row is failed, to display the column that was failed. Well I have that part under control using the following formula.
My concern is in row 4 and 5 of the attached spreadsheet. The problem is that not all postings for the allocations will take place on or before the date the allocation starts. Therefore, i need a logical formula that builds on what already exists and determines if the "entered" date is > the "start date". and then catches up how far it was behind. Example:
contract 12,000 Contract starts January 1st and ends December 31 (12 Months) Entered Feb 1
In the January column there chould be zero in feb there should be 2,000 and the rest of the months should be 1,000
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
I have in cell c40 a data validation list with source equal Royal (=Royal) has been created.
Royal is a namebox that has a defined list of 7 options (6 actual options plus one that says "select via drop down") :
FA4 = Select via Drop Down FA5 = option 1 FA6 = option 2 FA7 = option 3 FA8 = option 4 FA9 = option 5 FA10 = option 6..............
The concept is that FA5 is associated with a value defined in FB5, FA6 is associated with FB6, so on
What I want to happen is when I select a value via the drop down selection in C40 eg. "Option 1" that in cell D40 the value associated with Option 1 (found in FA5) returns the value found in FB5 ($10).
How do I do this? I have tried a number of "if" statements but no luck.
Dim b As Long Dim last_rowB As Long last_rowB = Range("K65536").End(xlUp).Row For b = last_rowB To 2 Step -1 If Sheets("Main").Cells(b, 11).Value = Sheets("Main").Cells(b + 1, 11).Value & Sheets("Main").Cells(b, 11).Value <> "" Then Sheets("Main").Cells(b + 1, 11).EntireRow.Delete End If Next b
If 2 cells are the same i want to delete the row of the 2nd cell, this works. But i dont want 2 delete cells that are blank, this doesnt work. For some reason it deletes everything in the table.
I've been asked to write a multiple if statement for someone here at work but I've been trying all day with no success. Basically, the OS liabilty in column C cannot exceed £2500. Here is an example inc the expected results............
So in row 1 the expected result is 500, as even though there is a 1000 reserve, 2000 of it has already been paid In row 2 nothing has been paid in column A so the OS liabilty in column C is the reserve up to a max of 2500 In row 3, there is 5000 in reserve, but 100 has been paid so the OS liability in col C must be 2000 In row 4 nothing has been paid in column A so the OS liability is the reserve in column B In row 5 150 has been paid, 150 is in reserve, so 150 is the OS liability In row 6, 2500 has been paid, but even though there is an amount of 300 in reserve (col B), nothing is expected in OS liability as the 2500 max liability amount has been reached.
I have a ss that has item descriptions, quantities and pricing.
Item descriptions are identified by a letter (a, b, c, etc) and in cells C20:c32. These are selected by drop down box. Item quantities are in cells E20:E32.
I want to evaluate cells C20:C32 and determine what letter is chosen. If A is selected in any cell C20:c32 I want to count the quantities for A in cells E20:E32. I can't quite figure out how to do this.
I'm after a formula that will look at a number of cells(that are not in a range) with the word "C" and if they all = "C" then I want the cell to come back with the result "yes" otherwise "no".
IF B1 has a possible value ranging from 1 - 5, and IF the value in E1 is equal or great than 2,5,10,10,15 BUT 2,5,10,10,15 need to match to specific ranges set in B1 1=2, 2=5, ,3=10 ,4=10 ,5=15 THEN IF TRUE "WITHIN" IF FALSE "NEEDS UPDATE"
Got help earlier with this formula: =IF(AND(B1=1,E1<=5),"WITHIN","NEEDS UPDATE") :D Worked Great! This was my attempt at expand that formula: