Triple Condition Formula?
May 23, 2008
ColA-ColB-ColC- Z
a1 - b1 - c1 -1
a2 - b2 - c2 -2
a3 - b3 - c3 -3
if there a formula to check all the rows,
in cell a1,
if a1=a1, b1=b1, c1=c1, it'll return 1
if a3=a3, b3=b3, c3=c3, it'll return 3
I checked the formula below, from how I read, it only check for 1 condition...
=IF(COUNTIF(db!$G:$G,nvT!E6),INDEX(db!$H:$H,MATCH(E6,db!$G:$G,FALSE),1), "0")
View 9 Replies
ADVERTISEMENT
Nov 30, 2009
I am trying to create a conditional/IF formula contingent on 3 different possibilities for f2, with the formula I wish to use based on these 3 possibilities, as shown below:
If f2 <=10, f2*100
If f2 >10 but f2<20, 1000+((f2-10)*50)
If f2 >=20, 1500+((f2-20)*20)
I'm not sure how to create this formula using three different conditions, especially as it is unclear to me how Excel needs to have the parenthesis placed.
View 2 Replies
View Related
Jan 30, 2009
I'm running the following to put quotes around data in a workbook:
Sub test()
For Each s In Range("A1:A" & Cells(Rows.Count, 1).End(xlUp).Row)
s.Value = """" & Format(s.Value, "00000000") & """"
Next
For Each s In Range("B1:B" & Cells(Rows.Count, 1).End(xlUp).Row)
s.Value = """" & Format(s.Value, "####") & """"
Next
End Sub
And exporting as a CSV file for loading into another program. The problem is everything looks OK in Excel, but when I open the file in Notepad to check the output, the quotes are all triple. How can I get only single quotes around the data?
View 9 Replies
View Related
May 20, 2008
I'm looking for a macro that can sort emails by 2 very distinct ways, with 1 special find function as well. Not too much eh? ........
View 9 Replies
View Related
Aug 12, 2007
This task joins a string together based on a number of characters per cell in the range.
I want to isolate one range, Col N, and add an IF condition to it.
There may be other issues preventing this from happening, e.g. the number of IF that exist in the complete formula. I will isolate the current cell and its requirements and then post the entire formula at the end for reference....
View 9 Replies
View Related
Aug 8, 2008
I am creating a IF(... formula, here is what i have so far...
=IF(B3='Max' AND C3='Sell', D3-J17,0)
I have two drop down boxes, one at B3 and one at C3, i want to D3-J17, but only when B3 = Max and C3 = Sell, otherwise 0 (really instead of 0 im gonna add in more formula for the rest of the drop downs, but for arguments sake lets say 0), what do i do?
View 9 Replies
View Related
Jun 6, 2014
i am already using a formula in which i need to add a condition.
Existing formula - =IF(ISNUMBER(MATCH(K4,{"Cancelled","On Hold","Onboarded","Open","Profile Available","Profile shared","Rebadge"},0)),IF($AG$1+X4>T4,$AG$1+X4,T4),R4)
i need to replace R4 (at the end of the formula) with this condition - if (R4>T4),R4,T4
View 1 Replies
View Related
Mar 22, 2009
I have a column called Average and it have numbers from 0 to 100. I want to set a string on another column based on the value of Average. The condition is
< 50 is negative
= 50 is neutral
> 50 is positive
For example
Column A Column B
45 Negative
50 Neutral
80 Positive
View 4 Replies
View Related
Jul 24, 2009
I'm trying to construct a formula which contains an =IF and what I think needs to be INDEX, but cannot be 100% certain as I've never done.
I can't post a sample of the workbook due to company policy, but here's what I'm trying to do:
In Cell b2
View 6 Replies
View Related
Mar 24, 2014
I have written this code to add a column to the data. but it is giving application defined error how to resolve it??
[Code] .....
View 4 Replies
View Related
Mar 26, 2009
Using Excel 2003. I have a very basic SUM formula I am using to show how many forms are still in-house. Pretty simple.
Column D is how many came in.
Column F is how many were completed.
Column E is what is left.
To get the daily count I take the previous day's Column E, add to today's Column D and subtract today's Column F.
=(E2+D3-F3)
Puts the results in E3.
This formula is copied on down the worksheet which results in:
=(E3+D4-F4), with the results in E4. And so on down Column E.
The problem is that if there is no data entered in Column D or F, the results from E are carried (copied?) as far down as the forumla. i.e., if today's column E results in 4, then that is displayed for as far down as I have copied the formula. What I'd like to do is set the formula so that if there is no data in columns E or F, then there is nothing displayed in Column E.
View 3 Replies
View Related
May 21, 2014
Add a condition to this formula Let us assume for the column (classes) and the condition is selected from the cell "G1"
Condition E2: E30 = G1
ID
NAME
CODE
Birthday
[Code]....
View 3 Replies
View Related
Apr 16, 2006
in cell A1 and cell B1 I have a "yes", "no" or "maybe"
in cell C1 and D1 I have a number
if cell A1 and cell B1 "yes" multiply cell D1 times 2 (all results in cell E1)
if cell A1 "yes cell B1 "no" multiply cell D1 times 1.2
if cell A1 "no" cell B1 "yes" multiply cell C1 times 1.2
if cell A1 and B1 'no" multiply cell cell C1 times 2
if cell A1 "maybe" cell B1 "yes" multiply cell D1 times 2
if cell A1 maybe cell B1 "no" multiply cell C1 times 2
if cell A1 "yes" cell B1 "maybe" multiply cell D1 times 2
if cell A1 "no" cell B1 "maybe" multiply cell C1 times 2
View 6 Replies
View Related
Jun 29, 2006
I have this formula in my spreadsheet =IF(ISBLANK(B2), "", C1+1). I need to add a "dash T" to this formula so it shows up in every cell. How and where do i write that into a formula?
View 2 Replies
View Related
Feb 6, 2007
I am working on a formula that has just gotten beyond me. This is what I want it to do:
If:
=IF(K9<I9,
Then:
IF((I9-H9+T8+U8)>=180,(180-T8-U8-(K9-J9)),(I9-H9)),IF((K9-J9)+(I9-H9)>=180,IF((K9-J9)>=180,0,180-(K9-J9+T8+U8)),
Else:
IF(I9-H9)>=(180-T8-U8-(K9-J9),(180-T8-U8-(I9-H9),(I9-H9))
This is what I currently have, but it's not working:
=IF(K9<I9,IF((I9-H9+T8+U8)>=180,(180-T8-U8-(K9-J9)),(I9-H9)),IF((K9-J9)+(I9-H9)>=180,IF((K9-J9)>=180,0,180-(K9-J9+T8+U8))),IF(I9-H9)>=(180-T8-U8-(K9-J9), (180-T8-U8-(I9-H9),(I9-H9))))
View 8 Replies
View Related
Apr 30, 2007
You all were so great last week (thanks Ninja). This is a tracking form for a contest based on restaurant cost results (Page attached). I need a formula for if C2>D2, but less than 1/2%, give100, if C2<D2, give 200.
View 9 Replies
View Related
Jun 29, 2007
I have a worksheet where there are rows of information in a specific range (A5:G600). I'm using the conditional format of =AND(MOD(ROW(),2), COUNTA($A5:$G500)) to alternate the row colors. I would also need to have the information in column A formatted. Column A contains dates, and if the date is 90 days less than or equal to today's date (90 days or more old) I would need to format that also.
I've tried using both at the same time, but the conditional formats will override each other when applicable. Am I able to do this via conditional formats, or would I need to do one or the other in VBA?
View 8 Replies
View Related
Aug 2, 2007
I'm trying to use the if condition formula however it doesn't give me the calculation?
=if(A2<20%,"B2/.80", A2>20%,"c2*.02)
My division and multiplying functions do not work or it doesn't calculate for me?
View 6 Replies
View Related
Aug 13, 2012
I'm trying to complete my if condition formula, wherein I've stuck between, how I need to complete, here is the attached one.
The IF formula should take, all 'A,B,C and D columns in result.
Book1.xlsx
View 7 Replies
View Related
Apr 1, 2014
On the attached worksheet if the data in col F changes from FLT to AWF,col M will flag up "faw".I would like to leave a blank cell instead of false if the condition is not met. Col P is an example of the result im trying to achieve.
IF TEST.xlsx
View 2 Replies
View Related
Jan 7, 2009
I am running an array formula which is working fine except that I now need to add a further condition: that a one of a number of values in cells C1:C8 is found in range $a1:$A500. I've tried Or with comma separation and with * separations but nothing seems to work.
Can anyone advise me of the syntax?
View 9 Replies
View Related
May 8, 2009
see the attached spreadsheet. Basically I want the formula in the yellow cell to carry out a sum product of two columns, but only for rows where the value in the first (criterion) column is 10.
View 2 Replies
View Related
Jul 30, 2009
I have been asked at work to get some averages of data from an excel sheet. I have attached a sample workbook of the data i will be using. On Sheet1 is the data that will be looked at and on sheet2 is a sample of the results i need to achieve. I can get the data on sheet2 easy if i knew that data was static but in my case the data is going to be dynamic, so i don't know how many records each person is going to have each time if that person shows up in the record set at all. This rules out on static ranges to gather averages.
So far what i came up with is i use a macro to copy all the "Names" column to sheet 2 and then filter that data so that each name is unique, sort like a "key" for looking up values. Now i need to get averages of "Total Hours" worked in sheet 1 and display it in sheet 2 for each "Name". I have a formula worked out and almost have it where i want it but cant seem to get the range of data i need to be looking at. I need to get the Average Of hours Worked Per Person Where "Wk End Date" is greater than 1/1/2008 and the "name" matches up with the name in sheet 2.
View 3 Replies
View Related
Jul 16, 2014
I have this formula =IF(EXACT($E3,N$2),$C3/$I3,"") This works
I now need to add another match condition to the formula using H3,J1 so it would be something like this =IF(EXACT($E3,N$2),(H3,J1),$C3/$I3,"")
But not working
View 2 Replies
View Related
Mar 15, 2009
I have a formula that tests the minimum time in a column. If the time is the minimum it gets a PB (Personal Best) notation. My problem is once a season there is a competion that needs to be recorded on the worksheet however I do not want this time for this competion counted in the MIN test or to get a PB allocated. I have worked out how to ignore the PB but I cannot get the MIN test to work properly. Dates of comp are in Col B, data (times) in Col C and formula for PB's in Col D. When a cell in Col B (Dates of comp) = Region I want the MIN test to ignore the value in the adjacent cell in Col C.
View 14 Replies
View Related
Mar 16, 2009
problem is in the same vain as my last thread "Formula to count MIN with condition". In the attached worksheet samples, Col B has competition dates, Col C is time/distance data, Col C (filled down) is the formula that recogises if the time/distance is a PB.
Once a season there is an event "REGION" where I want the formula to ignore the data in Col C adjacent to "REGION". The date of REGION changes every year and could be anywhere in Col B. The first attachment is what the sheet currently looks like and the second is what I want it to record, specifically D11. Even though D10 is a better distance, it would be ignored as it is REGION.
View 7 Replies
View Related
Sep 6, 2012
I have an excel file which contains a full consolidated list of data (Master Tracker). I am now creating a new tracker and what i want to happen is for it to show the list of names from the Master Tracker which exceeded the current date "now()" and the status is still pending.
FYI: The master tracker and New tracker is different excel files Here is an example:
Master Tracker:
client
Candidate
Case Date
[Code]....
View 5 Replies
View Related
Aug 4, 2009
Current Formula
{=IF(AND(G144>0,F144:F173
View 9 Replies
View Related
Oct 25, 2006
i tried to compare 2 different cells with text inside.Each cell contains "yes","no"," ", 6 possible values
For example
A B C
1 YES NO
2 YES YES
3 YES " "
4 NO YES
5 NO NO
6 NO " "
In column C, i want to enter the result f.e. if a1="yes" and b1="yes" do 1,if a2="yes" and b2="no" do 2 and so on There is a function for this?
View 6 Replies
View Related
Mar 28, 2008
we can get if functions to return conditions, as in if so and so "a" etc... is it possible to return long statements, instead of letters, with fill stops and commas. i don't know if it would be appropriate if i put an example of what i was trying to do. i am not trying to be rude but this
will this work in c3
=if(b3=5,"Readily understands classroom statements, questions and instructions.Can usually understand short electronic texts without difficulty.",if(b3=4,"Understands most classroom statements, questions, instructions.Can usually understand short electronic texts with only occasional difficulty.",if(b3=3,"Can generally understand classroom statements, questions and instructions, but may need repetition.Can understand short electronic texts reasonably well.",if(b3=2,"Sometimes misunderstands classroom statements, questions, instructions.Has some difficulty in understanding short electronic texts.",if(b3=1,"Has noticeable difficulty in understanding classroom statements, questions, instructions.Has great difficulty in understanding short electronic texts.")))))
View 9 Replies
View Related