For powerful data analysis, you may often need to build an Excel IF statement with multiple conditions or use IF together with other functions. This tutorial will show you the most effective ways to do this. Continue reading
by Svetlana Cheusheva, updated on
For powerful data analysis, you may often need to build an Excel IF statement with multiple conditions or use IF together with other functions. This tutorial will show you the most effective ways to do this. Continue reading
Comments page 18. Total comments: 4549
I have problem, I have to values for L21 & L23 and final outcome is CA..
CA= L23*3+L21*2 if value of L23 is greater than 0
Like - L23 = 3 L21 = 2, then CA = 3*3+2*2=13
and if L23 =0 and L21 =3, then CA=0
Pls suggest farmula
Hello!
If I understand your task correctly, try the following formula:
=IF(L23>0,L23*3+L21*2,IF(L21=3,0,""))
You can learn more about nested IF statements in Excel in this article on our blog.
I'm trying a formula where data exixts in one sheet, i need answer in one sheet with below condition, Can you please provide the formula for this
Sheet 1: Answer & Sheet 2 : Existed Data
I'm inputting formula in Answer sheet with below conditions
If G column Data matches with A Column Data of "Existed Data and
If J Column Data matches with B Coumn Data of "Existed Data and
If Xcolumn Data matches with C columnd Data of : "Existed Data then
answer to be appear which is in D column of Existed Data.
Hi!
Please re-check the article above since it covers your task.
If I got you right,
=IF(AND(G1=A1,J1=B1,X1=C1),D1,"")
You may also find this article useful: Excel reference to another sheet or workbook.
I'm getting an error at end as The formula is missing an Opening or Closing Parenthesis.
Hi!
Check if you copied the formula correctly. It works without errors.
can i select entire column instead of cell
=if(AND(Sheet1!A:A=Sheet2!A:A,Sheet1!B:B=Sheet2!B:B,Sheet1!C:C=Sheet2!C:C,=Sheet1!D:D,"")
Hi!
If I understood your task correctly, you want to compare cells in each row. Therefore, use a relative cell reference to each individual cell in the formula. After that, you can copy this formula down along the column.
I also draw your attention to the fact that the use of column references in formulas significantly slows down the speed of Excel calculations.
In a drop down tab there are 4 names, I want Excel to read selected name and some of the data can be written that person sheet in real time or command to copy
I am totally beginner love to learn, I appreciate you had well explained the use of IF AND OR
Thank you
Hameed
Hey! I want excel to perform different calculation depending on the outcome of a fraction, ive tried the following formula but cant get it working, how should i put it instead?
=IF(SUM(I2/Q2)0.30.50.7, "R2*0.5", "R2*0.75", "R2*0.9", "R2*1.0"))
Hi!
I can't guess what conditions you want to check in your formula. Please describe them. However, all the necessary information to write the formula is in the article above.
I have a problem where scoringh is made based on separate conditions being met and i am stumped.
Example: If name = Type 1 and Condition = Y, score 2, otherwise score 1.
The formula below doesn't seem to work properly.
=IF(AND(Y2="Y"),IF(AND(P2="Type 1"),2,1))
Additionally, If neither is it possible to have 0, rather than FALSE?
If anyone is able to answer this for me, i'd be extremely grateful :)
Hello!
If I understand your task correctly, try the following formula:
=IF(AND(Y2="Y",P2="Type 1"),2,1)
Here is the article that may be helpful to you: Excel Nested IF statement: examples, best practices and alternatives.
Thanks for your help, that's great!
hi need this code to correct please help
i have date on M17 given and the are encode MM/DD/YYYY
i want to auto fill the date if 1st quarter or 2nd and so on.....
this is my sample code but the result is always 4th Quarter need help to correct it thank you
=IF(M17>=10/1/2022,"4th Quarter",IF(M17>=7/1/2022,"3rd Quarter",IF(M17>=4/1/2022,"2nd Quarter",IF(M17>=1/1/2022,"1st Quarter"))))
Hello!
The expression M17>=10/1/2022 is incorrect. I recommend that you read the instructions - Excel IF formula examples for dates.
To get a date value, in addition to the DATEVALUE function, you can use the DATE function.
This should solve your task.
i have date on M17 given and they are encoded on this format MM/DD/YYYY dateshort
I will use this ( if(vlookup(a2, sheet1! A:ap, 42,0) ="TN", A2, "") fourmal this condition only sow TN state,
Now I need TN & KA State which fourmal use plz help????
Hi!
I am not sure I fully understand what you mean.
Hello,
I am trying to make eGFR calculator. It needs to differ between men and women and different serum concentrations of creatinine (SCr). Formula reads as follows:
142 x (Scr/A)^B x 0.9938^age x (1.012 if female), where A and B are the following:
Female Male
SCr ≤0.7, A = 0.7 B = -0.241 SCr ≤0.9 A = 0.9 B = -0.302
SCr >0.7 A = 0.7 B = -1.2 SCr >0.9 A = 0.9 B = -1.2
So what I need is to Excel calculate/show value of B in one cell when specific conditions are met. For example patient is female and SCr is 0,55 (it is <0,7) B should be B=-0,241 and etc.
Is it possible to test combinations of two variables (sex and SCr) to calculate three possible outcomes of B (-0,241, for women, -0,302 for men, and -1,2 in cases when SCr is greater than 0,7 for women, 0,9 for men, respectively)?
Looking forward to your answer
Edit of previous comment due to error.
Hello!
Please check out the following article on our blog, it’ll be sure to help you with your task: Excel INDEX MATCH MATCH and other formulas for two-way lookup.
I hope my advice will help you solve your task.
I please need help doing a formula for the following, which should just be one formula :Combine these into 1 formula
if cell A is empty , it must use cell B info , if cell B is empty, it must use cell A info , If both cell A and B has info in it then it must use Cell B info, If no info then it must show a clear cell and not a 0.
Hi!
I hope you have studied the recommendations in the tutorial above. It contains answers to your question. Try the following formula:
=IF(AND(ISBLANK(A1),ISBLANK(B1)),"", IF(ISBLANK(B1),A1,B1))
To not show 0 in an empty cell, use custom number format.
Hi there, I am looking for a formula which will return the following result:
If text in cell A1 matches the text in cell range A1:A100, then show text from cell B1, assuming A1 is Name and B1 is Surname, please help.
Hi!
I’m not sure I got you right since the description you provided is not entirely clear. Your terms and conditions are incorrect. The text in cell A1 will always match the text in range A1:A100 in cell A1.
If you want to find the corresponding surname by name, then use the VLOOKUP function. For example:
=VLOOKUP("Name",A1:B100,2,0)
Hi
=IF(OR(AND(L37="Yes"),OR(M36="Yes",N36="Yes",M37="Yes",N37="Yes")),"Yes","No")
Effectively, the formula should be saying if L37 is Yes, and M37 or N37 is Yes, then give Yes, or if L37 is No, and M36 or N36 is Yes, then give Yes. Everything else, give No.
the above formula is coming back as a Yes where it should say No.
are there any other formalas i can use?
Hello!
If I understand your task correctly, try the following formula:
=IF(AND(L37="Yes",OR(M37="Yes",N37="Yes")),"Yes", IF(AND(L37="No",OR(M36="Yes",N36="Yes")), "Yes","No"))
Please re-check the article above since it covers your task.
I am trying to get a formula for my budget.
I need to calculate Management fees that are calculated at 2% of revenue. There is a minimum charge of $20,000.00 meaning that the least I will be invoiced for management fees is $20,000.00.
So my formula needs to read that if 2% of my revenue is less then $20 000 then the answer is $20 000. If 2% of my revenue is greater than $20 000 then the answer should be 2% of that figure.
Hello!
Here is the article that may be helpful to you: How to use IF function in Excel.
You can use this formula:
=IF(A1*0.02<20000,20000,A1*0.02)
Hi,
Can You help me in this below Case
=IF(F17=0, "F43*1", IF(F17=0.5, "F43*0.5", IF(F17=1, "F43*0")))
Here In "F43*1" - Is also the formula
Explanation,
If F17 = 0, then F43 should multiplies with 1 (F43*1),
Similarly, As follows
If F17 = 0.5, then F43 should multiplies with 0.5 (F43*0.5),
If F17 = 1, then F43 should multiplies with 0 (F43*0),
*F43 is Sum of (F18:F42)
Hi!
In the IF function, as in other functions, quotes should only be used with text values.
Please try the following formula:
=IF(F17=0, F43*1, IF(F17=0.5, F43*0.5, IF(F17=1, F43*0, "")))
Hi can you help me, the other formula is not working
=IF(G1110,G11*24.17, IF(G11>20, G11*26.39, IF(G11>30, G11*28.92, IF(G11>40, G11*32.15)))))
Hello!
I can't test your formula because I don't know what result you want. But your formula was written incorrectly and contained an extra bracket.
=IF(G1110,G11*24.17,IF(G11 > 20,G11*26.39,IF(G11 > 30,G11*28.92,IF(G11 > 40,G11*32.15))))
here's the water rate per cu.m.
0-10 CU.M = 224.02 (MINIMUM RATE)
11-20 CU.M = 24.17 PER CU.M
21-30 CU.M = 26.39 PER CU.M
31-40 CU.M = 28.92 PER CU.M
OVER 40 CU.M = 32.15 PER CU.M
WHAT FORMULA SHOULD I USE, THAT ALL THE CONDITIONS WILL WORK.
THANKS IN ADVANCE
Hi!
Read the following paragraph of the article above carefully - Using multiple IF statements in Excel (nested IF functions), it covers your case completely.
See this comment for the answer to a similar question.
Hi, if in one cell (C25) I have 3 possible options (1, X, 2) then how can I get the values if 1=3, if X=1 and if 2=0? I typed the following formula, but with no luck
=IF(C25=1;3,IF(C25=x;1,IF(C25=2;0)))
Hello!
Don't forget that character values must be enclosed in quotes.
=IF(C25=1,3,IF(C25=2,0,IF(C25="X",1,"")))
Here is my issue:
=IF(AND(I4="Residential",J4="Self-Generated"),8%,6%)
which I can get to calculate perfectly but I need it to have 4 conditions
=IF(AND(I4="Residential",J4="Self-Generated"),8%,6%, AND (I4="Commercial",J4="Self-Generated"),10%,8%)
which I can not get to work.
If Residential & Self-Generated 8%
If Residential & Company Generated 6%
If Commercial & Self-Generated 10%
If Commerical & Company Generated 8%
Any help would be appreciated.
Hello!
Carefully read the recommendations in the article above. The formula might be something like this:
=IF(AND(I4="Residential",J4="Self-Generated"),8%, IF(AND(I4="Residential",J4="Company Generated"),6%, IF(AND(I4="Commercial",J4="Self-Generated"),10%, IF(AND(I4="Commercial",J4="Company Generated"),8%,""))))
I have the following COUNTIFS formula:
=COUNTIFS($D$2:$D$494,A15,$C$2:$C$494,"A1",$N$2:$N$494,"<=15%")
which works fine. However when I try to replace "15%" with a reference to a standalone cell containing a drop down with varying percentages, the formula returns an answer of "0".
I have played with the formula for a few days and have to admit I am stumped. There is probably a simple solution but it escapes me.
Any help would be greatly appreciated.
Hello!
Please check out this article to learn how to use cell references in COUNTIFS formulas.
=COUNTIFS($D$2:$D$494,A15,$C$2:$C$494,”A1″,$N$2:$N$494,"<=" & A1")
Hi
I am trying to create an IF function where the following is applicable:
Cell C4 has 3 options, "Yes", "N/A" and "No"
Cell C5 has 3 options, "Yes", "N/A" and "No"
Cell C6 has 3 options, "Yes", "N/A" and "No"
Cell C7 contains the IF statement whereby if Cell C4 is Yes or N/A, Cell C5 is Yes or N/A and Cell C6 is Yes or N/A the result should be "Positive". Any "No" in Cell C4, C5 and C6 should be "Negative"
Hello!
If I understand your task correctly, the following formula should work for you:
=IF(OR(C4="No", C5="No", C6="No"),"Negative","Positive")
I have a similar question to the original and I have the following formula in my spreadsheet -
=IF(OR(H10="n",H11="n",H12="n"),"n", "y")
My question is - how can I make the formula so that when all 3 cells are blank (haven't been tested yet) that the cell with the formula is blank? As the formula is now, that cell has a value of "y" and I haven't scored/populated the other cells yet.
If I take out the "y" and just leave "" - I won't get a return of "y" when all 3 cells are "y" - it will just be blank.
Hello!
Use nested IF function:
=IF(H10&H11&H12<>"",IF(OR(H10="n",H11="n",H12="n"),"n", "y"),"")
Hope this is what you need.
Hi - Thank you for answering my question so quickly. I believe I figured out a solution that took care of everything that I needed in the formula, (not just fiuring out how to leave the fomula cell blank - as I originally asked for your help with).
I used -
=IF(OR(H10:H13="n"),"n",IF(AND(H10:H13="x"),"x",IF(OR(H10:H13="y","x"),"y","")))
That way my formula cell will be able to populate for any of the 3 possible answers - y, n and x (n/a) and remain blank until the other cells are populate.
Thanks again, I really appreciate it! :)
After IF, I need to use multiple AND and OR conditions and give multiple values for true and false accordingly, how do I do that
Hi!
All the necessary information is in the article above. If you give me more details, I’ll try to be more specific.
Column A has a number and I need column B to be equal to column A, unless it’s it less than 2 I want it to be equal to 2.
Hi!
Please have a look at this article - How to use IF function in Excel.
=IF(A1<2,2,A1)
I am wracking my brain trying to sort my conundrum.
I have 3 values Weekly(C5), 4 weekly(D5) and Monthly(E5) (which can all be inputted manually)
I am trying to write the correct IF statement that allows me to create a yearly figure from only one of these values.
e.g. if a user enters a figure in C5 the output would be C5*12, if users enter a figure D5 then the output would be D5*13 and finally, if the user enters a figure E5 then the output is E5*12.
My problem is that I am only looking to output one of these figures to F5 as a yearly.
I would appreciate some advice as I have looked at nested IFs and tried to use the conditions around C5=0, c5>=0. I have figured this out for using only 2 potential values but when I add in the 3rd I can't seem to figure out how to include/combine the other cells' values e.g. E=0, E5>=0 to give me the option of only one of the calculations working to give me a yearly.
would appreciate any advice around this. TIA
Hello!
If I understand your task correctly, the following formula should work for you:
=IF(C5>0,C5*12,IF(D5>0,D5*12,IF(E5>0,E5*12,"")))
I hope this will help
HI,
how can I combine the following:
=IF((L2-M2)0,(L2-M2),0)
Thank you for help.
Hi!
Sorry, I don't understand what your problem is.
Very useful article, It helped me a lot.
Thanks!!
=IF(A3=1,"A",IF(A3=2,"B",IF(A3=3,"C",IF(A3=4,"D",IF(A3=5,"E",IF(A3=6,"F",IF(A3=7,"G",IF(A3=8,"H",IF(A3=9,"I",IF(A3=0,"X"))))))))))
This 1= A 2= B i need to an formula to comnine if 1234 it should be abcd if it is 4321 it should be dcba could you please help me with this
Hello!
To replace numbers with letters, you can use nested SUBSTITUTE function.
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,"1","a"),"2","b"),"3","c"),"4","d")
We also have a ready-made solution for finding and replacing certain characters - Replace Substrings tool.
It is available as a part of our Ultimate Suite for Excel that you can install in a trial mode and check how it works for free.
Could you please help me to make a formula that produces a list of each class and the minimum mark in that class in a sheet that have all classes mixed together
Like if I have all marks of 6A and 6B and 6C and I want a table with one column for class and one for minimum mark in that class
Hello!
To find the minimum value given the condition, you need to use the MINIFS function. Read this instruction: How to use MINIFS function in Microsoft Excel.
I am attempting to combine these two IF commands into one.
=IF(O2>=0.2,"",C2)
=IF(C2="A1","A",IF(C2="A2","AA",IF(C2="A3","AAA")))
I have tried combining them with AND, but without success. I am stumped!
Any help would be greatly appreciated.
Hello!
I’m sorry but your description doesn’t give me a complete understanding of your task. Correct me if I’m wrong, but I believe the formula below will help:
=IF(O2>=0.2,"",IF(C2="A1","A",IF(C2="A2","AA",IF(C2="A3","AAA"))))
Many thanks. That worked. I now see where I was in error, which was including "C2" in the first IF command.
Please Help with below formula, How to use both formula into single statement
we have 2 condition
=IF(AND(A1>0,B1="MIS"),"40","20")
=IF(AND(A1>=0,B1="NRML"),"50","100")
Hi!
These expressions cannot be combined in one formula. If the first condition returns FALSE, should the formula return 20 or should the second condition be tested?
Good day
im trying to seperate this list using if formula
1968
19230
2068
20230
2168
4968
63230
6568
66230
68230
6968
101230
102230
10468
and i have tried to use this formula =IF(P6=LEN(4),RIGHT(P6,2),RIGHT(P6,4))
i want it to look like this
19 68
19 230
how best can i solve this
Hi!
To insert a space between digits use this formula
=LEFT(P1,2)&" "&MID(P1,3,10)
If you need to split numbers into individual cells, split this formula into two formulas.
I recommend reading this guide: Excel substring: how to extract text from cell.
Hi,
Having trouble with this..
=IF(OR(AND(H8=0,F8=100%,K3="FINALED"),AND(H8=0,F8=100%,K3="N/A"),"ready to pay","not ready to pay")
I'm looking for the same statements to come up whether or not k3="FINALED" OR "N/A".
How can I make that happen?
Hi!
I don't really understand what result you want to get, but try this formula:
=IF(OR(AND(H8=0,F8=100%,K3="FINALED"), AND(H8=0,F8=100%,K3="N/A")), "ready to pay","not ready to pay")
If this is not what you wanted, please describe the problem in more detail.
Alexander,
The result I need is either "not ready to pay" or "ready to pay".
If all 3 logical expressions are not met, my result should be "not ready to pay". If they are all met, then I need the contrary. My issue was getting to the same two conclusions with the exception of k3="n/a" or "finaled".
The formula you sent did it! Thank you
Hi there are two formulas in the sheet and want to make it single.
=IF((A10),"Under Process","0")
I tried below formula but it's not worked.
=IF(OR(A1>0,"Under Process"),IF(B1<C1,"Claim","Not Claim"),0)
Thanks
Hi!
Write what is the second formula. Both of these formulas must refer to the same cells. Otherwise, their association does not make sense.
Yes there are 2 columns Column A and Column B.
For column A formula is;
"=IF((A10),"Recd","0")"
I want to merge the formula and track the value at single cell.
please advise if there is any other formula bring the result.
Hi!
I’m not sure I got you right since the description you provided is not entirely clear. However, it seems to me that the formula below will work for you:
=IF(OR(A10>0,L10>0),"Recd","0")
For Column B formula is;
"=IF((L10>0),"Recd","0")"
Hi there, I am trying to match criteria between two columns. In the event that they do match, I want their number values in a third column to be summed for the specific rows only where they are matching in the first two columns.
i.e. A5 "John" matches B118 "John" therefor i want to sum C5 "450" & C118 "550", giving me a total of 1000 in both D5 & D118.
I would then also like to add an extra condition where it only needs to match the criteria in an additional columns.
i.e. let say column E. Both E5 & E118 must be "xyz", else column D will not sum D5 & D118.
Thanks
Hello!
If I understand your task correctly, the following formula should work for you:
=(IFERROR(INDEX($C$1:$C$100,MATCH(A1,$B$1:$B$100,0)),0)+C1) * ISNUMBER(MATCH(A1,$B$1:$B$100,0)) + (IFERROR(INDEX($C$1:$C$100,MATCH(B1,$A$1:$A$100,0)),0)+C1) * (ISNUMBER(MATCH(B1,$A$1:$A$100,0)))
You can read more about searching values using INDEX+MATCH in this article.
Which formula should I use when issuing rates to water consumers by using different rates?
Hi!
Your question doesn't include any details about conditions. Maybe this article will be helpful: Excel nested IF statement - multiple conditions in a single formula.
Dear Sir,
I need your help on following formula,
IF A1=A and If B1>26 then rate should be 400, but if A1=B and if B1>26 then rate should be 380
IF A2=A and if B1>22 then rate should be 380, but if A2=B and if B2>22 then rate should be 360
please share which formula to do this kind of work with multiple conditions
Nageshwar
Hello!
Your terms don't seem to be entirely correct. Can be done at the same time: IF A1=A and If B1>26 then 400 and IF A2=A and if B1>22 then 380.
All the necessary information to write the formula is in the article above.
=IF(AND(G71="*(G11)*",BC71="ABM*"),BB71,"x")
=IF(AND(G71="*(G11)*",BC71="ABM*"),"Please schedule interview","x")
I thought I understood your instructions, but when I tried it... waaaaa
Column G contains responses on level applying for while column BC contains the specific preferred strand for senior high school level. So that if column G says 'Grade Eleven (G11)' and column BC says 'ABM - Accountancy, Business, and Management' then the text in the BB cell should appear or in another cell I tried making it the sentence appear, "Please schedule interview"
Hi there!
Looks for assistance with this:
IF 0.01to 1.00 then value +1
If 1.01 to 2.99 then value /0.5
If 3 to 999.99 then value /0.6
If greater than 1000 then value /0.65
I made this, but its not quite right.....
=IF(AND(E10>=0, E101.01, E13.00, E101000.00, E10<1000000.00), E10/0.65, ""))))
Thanks!!
Hello!
Please use the formula below:
=IF(E10 > 1000,E10/0.65, IF(E10 > 3,E10/0.6, IF(E10 > 1.01,E10/0.5,IF(E10 > 0.01,E10+1,""))))
IF(AND(E10>=0, E101.00, E10<2.99), E10/0,5 IF(AND( E10 1000.00), E10/0.6, IF (AND(E10<1000.00, E10<1000000.00), E10/0.65, ""))))
Hi Sir,
I want one formula for below condition.
A column is true & weight is less than 150 then ans is 250
A column is true & weight is more than 150 then ans is "A"
Hi!
Please re-check the article above since it covers your task.
You can also use the IF function instruction.
In sheet 1 I have made a table which contains A1=codes; A2=description; A3=amount; A4=Availability.
In sheet 2 I have another table but I'm trying to type any codes on A1=Codes but A2 wont autofill. What formula do I need for it to recognize and autofill the description linked from sheet 1.
Hello!
I think you should use the VLOOKUP formula. I recommend paying attention to the manual - VLOOKUP across multiple sheets in Excel with examples.
OK, I have two companies, "A" and "B". Each company has vehicles: "PU", "ST", "TK", "TT". Company "A" uses fuel profiles, "001", "002", "003", and "004" (Respectively, "PU" uses "001"). While company "B" uses fuel profiles, "005", "006", "007", and "008". What formula would I use to allow me to, from a drop down menu in column A select company "A" or "B", from column B, from a drop down menu, select vehicle - "PU", "ST", "TK", "TT" and have it auto populate the fuel profile?
Hello!
You can find the examples and detailed instructions here: How to make a dependent (cascading) drop-down list in Excel.
I am a new Excel user. I am asking here because I assume I need to use the IF statement with others. I have a Budget worksheet plus 12 (monthly) worksheets logging expenses in three categories (exp codes), all in the same workbook. In the Budget worksheet, how do I tell cell E4 to look at column H of each of those 12 worksheets, and if exp code 1 is in cell H16-H36, than add the amount in cell J16-J36 to cell E4 in the Budget worksheet? Then each month as I log my expenses, the Budget worksheet will update showing how much of my budget I have spent for that exp code. Hope that makes sense. If another post is more appropriate, then apologies, please direct me there. Thanks.
Hello!
To calculate the sum by a condition, you can use the SUMIF function.
Take a look at this guide: How to SUMIF from another sheet (external reference).
I hope my advice will help you solve your task.
Thank you, Mr Trifuntov. That looks exactly like what I need. I will come back if I get stuck, but thanks for your help. (This website is a new resource for me. I found it with Google, and have bookmarked it.)
If I have 100 individuals with unique names and each person is assigned a set of serialized equipment that they need to be accounted for while traveling, however I need to be able to move them from vehicle to vehicle on my roster, how can I create a IF, THEN that will fill in the cells according to their name.
Example
Smith James Charles has tool box 234383 and laptop HP2175 and widget 7777348. Today James is in vehicle 1103 but tomorrow he is going to be in 3415. I don’t want to have to copy and paste all his info into multiple sheets, I want the sheets to recognize “Smith James Charles and then prefill all the cells accordingly.
Is this possible in Excel?
Hello!
Try to use the recommendations from this guide: How to VLOOKUP multiple values in Excel with one or more criteria.
I hope I answered your question. If something is still unclear, please feel free to ask.
Hey,
can I not use a condition for range in nested IF's. For example, I have a column with loan amount and I am classifying them into Low, High and Very-high as per the amount. So my Formula is :
=IF(1100 <G2< 10000,"Low Charge", IF(10001<G2<20000,"Medium Charge", IF(20001<G2<40000,"High Charge", IF(40000<G2," Very High Charge", "N"))))
So, I am trying to say that the the cell containing the Loan amount (G2) falls between a range, then spend a specific value.
But the result I get is always "N", which is the output when the condition is not true.
Please Check. Thank You
Hello!
Please check out the following article on our blog, it’ll be sure to help you with your task: Nested IF in Excel – formula with multiple conditions
=IF(G2>40000,"Very High",IF(G2>20000, "High", IF(G2>10000,"Medium","Low")))
This should solve your task.
Hi,
Formula for this one please..
I want that if a number is > or = 60000 the result will be 900 but If the number is below 60,000 it will be multiplied by 3% of that number
I done this one.. the number above and equal to 900 is correct but below 60000 , it gives 3% answer, ( not the 3% of that number as expected)
IF((OR(DS10>=60000,DS10>60000)),"900","*3%")
Hello!
You can learn more about IF function in this article: How to use IF function in Excel: examples for text, numbers, dates.
You can use this formula:
=IF(A1 > = 60000,900,A1*3%)
Hi all.
Please help.
Column A would need a wild card to look up the word ROLL. column B would have a size e.g 2000 and column C would have a quantity.
Basically I need if A1 contains "roll" then if B is greater than 2000 but less then 3000 to return the value in C1 (qty).
Thanks
Hello!
If I understand the problem correctly, take a look at this article: Using wildcards in VLOOKUP formula.
I hope I answered your question. If something is still unclear, please feel free to ask.
Hi, I am using these two formulas in two separate cells in excel and they work fine, however I would like to use them in one cell using maybe an IF OR formula or any other formula.
=IF(H310%,100-(H3-10)*2)
The first formula cell returns 100% accurately and the second formula cell returns FALSE which is also accurate, however can i combine both formulas in one cell to give me the answer for either?
Thanks in advance
Hi!
What formulas do you want to combine? Write in detail
Hello There,
I am trying to create an if statement where if two cells are not equal a calculation using cells within the same sheet is provided.
if M12-L12=0, give me cell E12, however if they are not equal give me (M12-L12)*E12.
Are you able to assist? It would be very much appreciated.
Hi!
Use an IF function with one condition:
=IF(M12-L12=0,E12,(M12-L12)*E12)
Hi
I have a formula and sometimes gives me the right answer, but in some cells give me (FALSE)
=IF((BN10>BV10),IF(AND(BN10>BW10),IF(AND(BN10>BX10),IF(AND(BN10>BY10),IF(AND(BN10>BZ10),IF(AND(BN10>CA10),"Not Aligned","Aligned"))))))
Hi!
I can't validate the formula because it uses data I don't have. Also, I can't guess what conditions it should check.
=IF(G4<-81.07,1.2,IF(G4<=-136.18,1.1,IF(G4<=-170.67,1,IF(G4<=-205.16,0.9,IF(G4<-239.65,0.8)))))
Kindly help I'm trying to equate losses with the specified targets what could be the issue?
Hi!
The information you provided is not enough to understand your case and give you any advice, sorry.
Please help.
my journal
A B C D E
L or S Entry TP SL No of units
(IF A = "S" then B - C and if C = 0 then D - B) IF A = "L" then C - B and
if C = 0 then B - C)
I hope Im clear.
Thank you.
Art
Hi!
I hope you have studied the recommendations in the tutorial above. It contains answers to your question
Hey there,
I have a table with two columns I would like to compare:
Column A: On account (either Yes or No)
Column B: Deposit (if account status is Yes, then this should be blank, but if account status is No, there should be a deposit amount)
I would like to highlight the cells in column B that are blank AND account status is No. This will highlight all of my non-account files that require a deposit.
Hopefully, this makes sense!
Hello!
To get records from a table by condition, you can use the FILTER function.
You can find examples and detailed instructions in this article.
I hope it’ll be helpful.
What's wrong with my formula.
=IF(G2>=104.53,"1.2",IF(G2>=95.82,"1.1",IF(G2>=87.1,"1.0",IF(G2>=78.4,"0.9",IF(AND(G2>=1,G2<=69.69,"0.8"))))))
Hello!
Please try the following formula:
=IF(G2>=104.53,1.2, IF(G2>=95.82,1.1,IF(G2>=87.1,1, IF(G2>=78.4,0.9, IF(AND(G2>=1,G2<=69.69),0.8,"")))))
I want to do TDS calculation, kindly help me for this
01) if Column M2- Section 194 J and Column K2 is Alphabet - P then Result 10% and
if column M2 - Section 194 C and Column K2 is Alphabet P then result 1% and
if column M2 - Section 194 C and Column K2 is Alphabet F then result 2%
if column M2 - Section 194 C and Column K2 is Alphabet C then result 2%
if column M2 - Section 194 I and Column K2 is Alphabet P then result 2%
Hi!
The answer to your question is in the article above, as well as in this instruction: Excel nested IF statement - multiple conditions in a single formula