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 31. Total comments: 4557
Hello, Can you please help me with the below formula , I want to set an Active, Non Active status relating an end date of a contract based on today date.
Thank you,
Hello,
Column A has names of people ( repititions are also present )
Column B has multiple codes names with which they are called
example -
column A(names) column B( code name) Column (pocketmoney) --------- sheet 1
James Jamie ?
James Jam ?
nick Nicky ?
john jonny ?
derek D ?
thomas Tom ?
derek D dog ?
thomas TIM ?
a different sheet is same excel has data as below -- sheet 2
Column A(fathers name) column B(mothers name) Column C ( pocket money ) Column D(code nam)
ABC AAA 1$ Jamie
XYZ BBB 2$ Jam
XXX CCC 3 Nicky
YYY DDD 4 jonny
ZZZ EEE 5 D
ZXZ FFF 6 TOM
ZZY GGG 7 D Doog
AZZ HHH 8 TIM
My condition is as below
If same names have multiple code names in sheet 1, then allocate the pocket money for children( column A in sheet ) based on their codes names in Column D of sheet 2
example -
James has 2 code names ( jamie and jam) , so the one with code name jam should get 2 $ as pocket money and jamie should get one
i need a formula to write in column C of sheet 1 to retrieve the pocket money of the children having same name but different nick name
Hi,
Here is the article that may be helpful to you: Vlookup multiple sheets with INDIRECT.
I hope I answered your question. If something is still unclear, please feel free to ask.
I am creating a spreadsheet for a darts score card. I want to display "winner" in a cell when a player's score reaches zero and Loser in another cell at the same time for the opposing player. I also want to display Game on in both cells whilst the game is in progress, i.e. when both players score is greater than zero,
I have managed to display winner when either player reaches zero, and Game on when they have a score greater than zero, but I am struggling to achieve displaying loser in the opposing cell which will still display Game on.
Hi,
Sorry, it's not quite clear what you are trying to achieve. Could you please describe it in more detail? What result do you want to get? Give an example of the source data and the expected result.
I required a formula
Name factory Name invoice type Qty
A Rawal Plant GST 478
B AJK Plant without GST 325
C Rawal Plant without GST 843
D AJK Plant GST 275
E AJK Plant GST 564
F Rawal Plant without GST 528
G AJK Plant without GST 362
H AJK Plant GST 358
Required data separately Qty
AJK Plant GST ?
AJK Plant without GST ?
Rawal Plant GST ?
Rawal Plant without GST ?
Hi!
I can't guess what you wanted to calculate - quantity or amount. Therefore, I recommend the manual for the COUNTIF function and the instruction for the SUMIF function.
I have to measure the height of the balls in a a ball mill to determine how many balls to feed example
Say I measure 100 cm from the height in the ball mill , there is another table that I have that gives ranges that 95 cm to 100 cm you add 1 kg of balls into the mill ,
My question is how do I add my table that gives the ranges so that when I do the measurements and put them into my excel sheet it automatically looks at the ranges and automatically tells me add 1kg or 2kg etc... not sure if you get me but if you do I just need a formula to use
Hello!
I guess you can use the VLOOKUP function with an approximate match for searching. If you ask a more specific question, I will try to help.
I know how to reference cells on other sheets, but I'd trying to point to a cell on another sheet IF the date at the beginning matches the date I input.
For example: I have dates running down the A column on Sheet1, and total sales running down the B column also on Sheet1.
On Sheet2, I'd like to enter a date into A1 and, on A2, I'd like it to tell me the total for that day, as already listed on Sheet1.
---
Sheet1:
Dates:
A1 - 01/04/21
A2 - 02/04/21
A3 - 03/04/21
etc.
Total sales:
B1 - 7
B2 - 4
B3 - 8
etc.
---
Sheet 1:
B:B - I can input the total sales for the day in A:A
Sheet 2:
A1 - I can input any date.
A2 - show me the total sales for that date.
---
I've tried using =IF on Sheet2 and manually nesting formulas for each cell in each row I want to reference on Sheet1, instance by instance.
Eventually, I'd end up nesting over 100 formulas in a single cell on Sheet2.
Is there a way to do this more generally?
Hello!
If I understood the problem correctly, the SUMIF function can be used in cell A2. You can learn more about SUMIF in Excel in this article on our blog.
I hope my advice will help you solve your task.
Hi Alexander,
That's exactly what I needed. Perfect! Thanks for that :)
Hi
I hope you can help.
I am looking to automate a cash flow forecast using figures from a separate 'Budget' tab, so that payments are listed on the specific day that they are due.
I need to cater for various different suppliers, some of which are paid at the end of the month and others at various days during the month.
I have a separate column which displays the payment due date, which will be listed as '31' for end of month (to help identify those that need adjusting for shorter months), and the specific day of month for all others.
In short, I need the budget figure 'Budget K16' to only show on the specific day confirmed on each line ('B24') for that supplier, and if not due, to show as zero/empty.
Budget K16 = Payment amount from other tab
B24 = Day of month that payment is due
D3 = Date
I have come up with the following formula to ensure that the payments are displayed on the day that they are due to be paid, but the IF statement is not working.
=IF(AND(OR(B24="31"), AND(D3=EOMONTH),'Budget '!$K$16,0),OR(DAY(D3)=$B$24,'Budget '!$K$16,0)
Are there any obvious errors with this? Any help would be much appreciated.
Kind regards
Dave
Hello!
It is very difficult to understand a formula that contains unique references to your workbook worksheets. Correct me if I’m wrong, but I believe the formula below will help:
=IF(OR(AND(B24=31, D3=EOMONTH(MONTH(D3),0)),DAY(D3)=$B$24),$K$16,0)
Use external links to other sheets in your workbook. I cannot do this.
I have to use single cell as a condition for the whole column.. How can i use it?
For example in the below formula i have to use cell Formula!A2 for all the cells in the column W in the workings spreadsheet.
=IF(Workings!W2=Formula!A2,CONCATENATE("V2",".",A3),CONCATENATE("I2",".",A3))
Hello!
If I understood the problem correctly, you need to use an absolute reference. I recommend reading this guide: Relative and absolute cell reference.
I hope I answered your question. If you have any other questions, please don’t hesitate to ask.
Hello,
Needing some help with a formula that will produce my values that might have a letter at the end of it. IE.
=IFERROR(IF(OR(VALUE(B90)7000),"",VALUE(B90)),"") this works perfectly fine when I am doing only numbers like 1000 or 4000, but when I have a 3429G, this formula will obviously leave my cell blank. I need to get my cells that might have inventory letters and numbers together to post in that cell. Is there a formula to help identify if there is text within numbers?
Hi,
If there are no letters in a cell, it can be converted to a number. If this is not possible, then there are letters in the cell.
For example:
=IF(ISNUMBER(--(B1)),"Number","Text")
I hope my advice will help you solve your task.
Sorry it messed the formula up for some reason. Here is my current formula:
=IFERROR(IF(OR(VALUE(B86)7000),"",VALUE(B86)),"")
I'm looking to do a mail merge from an excel sheet to a word document/contract. I need a formula that will basically say any time you see "One (1)" in the document then "First (1st)" will appear throughout where needed. If "Two (2)" is written, then "Second (2nd)" would appear when needed. I would like to have this up to "Ten (10)" if possible.
Any ideas for a formula?
However I need to add EQ07 in to the above formula where as the condition is different
IF(A5="EQ07",IF(AF<=70,"70")
I need to have only one formula that reads value of Column A and accordingly reviews the condition and provides result in column B
Hi,
Based on your description, it is hard to completely understand your task. However, I’ll try to guess and offer you the following formula:
=IF(A5="EQ07",IF(AF<=70,70,""),"")
Please have a look at this article — Nested IF in Excel – formula with multiple conditions
Good Day! Need assist!
I have a formula: =IF(I2>64,IF(J2<=$O$20,TRUE),IF(I2$O$20,TRUE),IF(I2>64,IF(J2>$O$20,FALSE),IF(I2<64,IF(J2<=$O$20,FALSE)))))
O20 is a particular criteria near the table that I am changing.
Currently I am receiving everything correctly, where True is that my system results (column J) predicted the results from column I and False appears when the system provided a wrong result. However, there is an exception that I need to add IF(I2<64,IF(J2<=$O$20,FALSE) I want to see in this case in the cell "EXCEP"
Please, comment if I do not described the question correctly?
Hello!
Try the following formula:
=IF(I2>64,IF(J2<=$O$20,TRUE,
IF(I2<$O$20,TRUE,
IF(I2>64,IF(J2>$O$20,FALSE,
IF(I2<64,IF(J2<=$O$20,FALSE)))))),IF(J2<=$O$20,FALSE))
I'm not sure if this will work. There is already a condition IF(I2<64 in your formula.
I can’t check the formula, because I don’t know the conditions and I don’t have the source data.
HELLO i need help please.
i need a formula that says
if in a cell there is the word- red then return a 3 if it says blue then return a 2 and if yellow then return a 1
Hello!
If I understand your task correctly, the following formula should work for you:
=IF(ISNUMBER(SEARCH("red",B1,1)),3, IF(ISNUMBER(SEARCH("blue",B1,1)),2, IF(ISNUMBER(SEARCH("yellow",B1,1)),1,"")))
You can learn more about SEARCH function in Excel in this article on our blog.
im looking for a formula for 2 pages to look up if the account number is the same it would add up the totals in the totals column for that account number and give me one total Can you help please.
Please share if its says YES than add no value anf if it says NO than add value formula in excel
AS EXAMPLE.
A1 A2 A3
YES 500 FORMULA PLEASE
NO 100
Hello to all,
I really need your help about this formula. I've tried everything I know about excel...
When I use this formula to check the field A30 (could be a date OR text Always On):
=IF(OR(A30="Always On";A30>=TODAY());"ACTIVE";"NOT ACTIVE")
If I put a date in A30, the result is correct, ACTIVE if higher or NOT ACTIVE if lower.
But with any text in A30, it gives me always ACTIVE, instead of only recognizing Always On.
I have tested the same formula but choosing different fields (A30 and B30):
=IF(OR(A30="Always On";B30>=TODAY());"ACTIVE";"NOT ACTIVE")
And in this case, it recognize either the date AND the correct or wrong text.
Do you know why it is happening when it is the same field?
Thank you for your help!
Hello!
Add a condition to the formula: if the date is checked, then A30 must be a number.
=IF(OR(A30="Always On",AND(ISNUMBER(A30),A30>=TODAY())), "ACTIVE","NOT ACTIVE")
I hope it’ll be helpful.
Hi,
I'm newbie to excel, I hope you could help me, basically I'm trying to get the formula if two conditions are met
example: If A1="apple" and A4 contains %(eg.12345%Mango), then it will sum the C1/B4 and do nothing if not.
Appreciate your response.
Hello!
What does the “sum the C1/B4” phrase mean?
This formula shows the fulfillment of your conditions.
=IF(AND(A1="apple",ISNUMBER(SEARCH("%",A4,1))),"Yes","No")
You can write other values or formulas instead of Yes and No.
Hello! I'm pretty new to excel but I'm trying to get a status using the equation below. There are three different options that can happen "completed", "not started", and "waived". What I'm trying to figure out is how to get "completed" and "waived" to come out across a row as "True" but if there were to be a "not started" for example in cell E2 then for it to show the status as "False".
=IF(OR(AND(D2="completed",D2="waived"),AND(E2="completed",E2="waived"),AND(F2="completed",F2="waived"),AND(G2="completed",G2="waived"),AND(H2="completed",H2="waived"),AND(I2="completed",I2="waived")),"True","True")
Thank you!
Hi How would i set up formatting? using an If statement for example
if A1:A3 = yes color whole row green (A1:BE1)
thank you in advance!
Hello!
Here is the article that may be helpful to you: How to change the row color based on a cell's value in Excel
I hope my advice will help you solve your task.
Hello!
Trying to figure out how to do if statements to add up to a number between 1 and 4 if they hit certain if statements and then have that number multiple by 200
If( B1>=A1,0,1) + ( If B2>=A2,0,1) + (B3>=A3,0,1) + (B4>=B4,0,1) .....Then depending on how many 1's that adds up to that sum would be multiplied by 200
Hello!
If I understand you correctly, then you can use any of these formulas:
=(SUM(IF(B1>=A1,0,1),IF(B2>=A2,0,1),IF(B3>=A3,0,1),IF(B4>=B4,0,1)))*200
=(SUM(--(B1<A1),--(B2<A2),--(B3<A3),--(B4<B4)))*200
=((B1<A1)+(B2<A2)+(B3<A3)+(B4<B4))*200
Hope this is what you need.
Hi ,
Could you please help me to find formula
A | B | C | D | E | F | G | H | I | J | K | L | M |
WARD|Ward|Description|Average|Ward.|Wardwise|Total|RES |RES|COM |COM|INDUSTRY|INDSTRY|
1 |1 |RES |0.90% |1 |0.80% |3 |0.90%|2 |0.60%|1 | |
2 |1 |COM |0.60% |2 |0.60% |1 | | | | |0.60% | 1
3 |4 |RES |1.00% |3 |1.50% |1 | | |1.50%|1 | |
4 |5 |RES |1.10% |4 |1.00% |1 |1.00%|1 | | | |
5 |9 |RES |0.30% |5 |1.00% |2 |1.00%|2 | | | |
6 |2 |INDUSTRY |0.60% |6 | | | | | | | |
7 |1 |RES |0.90% |7 | | | | | | | |
8 |9 |COM |0.30% |8 | | | | | | | |
9 |5 |RES |0.90% |9 |0.30% |2 |0.30%|1 |0.30%|1 | |
10 |3 |COM |1.50% |10 | | | | | | | |
column A,B,C,D (data) (i wanted formula formula to sort column A-D in ascending )
Column F - ward wise average (used formula =IFERROR(AVERAGEIF($B$3:$B$12,(A2),$D$3:$D$12),"") )
Column H, J, L - used formula - IFERROR(AVERAGEIFS($D$3:$D$12,$B$3:$B$12,A2,$C$3:$C$12,$I$1),"")
i have used data - sort in coulmn G,I,K,M but i want formula to sort wardwise-RES, wardwise-COM, etc.)
in Column N - wanted highest average repeated in column D , and total highest average counts repeated in Column O
Please help me in find the solution ........ plz need help
cell A1 can have value "ok", "nok", or "n/a".
same cell B1 can have value "ok", "nok", or "n/a".
How can I in cell C1 return:
ok if both A1andB1 are ok.
nok if either is nok.
ok if A1orB1 is ok and the other is n/a.
n/a if both are n/a.
Below formula returns all except n/a.
=IF(OR(AND(DD3527="ok", DR3527="ok"),AND(DD3527="n/a",DR3527="n/a")), "ok", "nok")
Hello!
Please try the following formula:
=IF(OR(A1="nok",B1="nok"),"nok",IF(OR(A1="ok",B1="ok"),"ok",IF(AND(A1="na",B1="na"),"na","")))
Hope this is what you need.
You are AWESOME!! Thank you!!
Hi - can someone help me write this in a Boolean "IF" statement.
IF the years of experience is "0" or less than 5 years, the raise is 2%
IF the years of experience is 5 years and less than 10 years, the raise is 3%
IF the years of experience is 10 years and less than 14 years, the raise is 4%
IF the years of experience is 13 years and less than 18 years, the raise is 5%
IF the years of experience is greater than 17 the raise is "0"
Tanya
Hello!
I hope you have studied the recommendations in the tutorial above. It contains answers to your question.
Your conditions 4 and 5 contradict each other.
I just want to say that i greatly appreciated and was just amazed how you are still consistently and humbly solving questions of people without getting sick of it, even after more than 2 months of the publication date. Kudos to you man!
Hello! I'm trying to get excel to do an IF function but am having trouble with my formula. I want it to be if Field 1, Field 2, or Field 3 are selected then "Soccer". If Field 4, Field 5, or Field 6 are selected then "Baseball". I'm trying to get excel to automatically bring up with fields are soccer or baseball fields. Thanks!
Hi,
I hope you have studied the recommendations in the tutorial above. It contains answers to your question.
Your conditions contradict each other. If the values will be written in all 6 cells, what value do you want to get? “Soccer” or “Baseball”?
Hi, what can I do if I want to print a specific data-field(cell already typed in excel) depending upon a value entered by the user?
For instance, IF(B1="Petrol", (//I wish to print cell D1 adjacent to it))
Hi,
You can use the formula
IF(B1=”Petrol”, D1,"")
I hope you remember that an Excel formula can only change the value of the cell in which it is written.
Hello there!!
I am trying to analyze data from a google doc survey. The question I am interested in analyzing was a multiple checkbox response with multiple answers. I am wanting to take the data from that cell (that shows multiple text-based answers) and create a formula that pulls out a specific option/text response and then inputs a 0 or 1 if the option/response is present in the initial cell that has the multiple text answers. How would I create this formula?
Example of what I want:
Participant # | Response | Option 1 present | Option 2 present | Option 3 present - etc.
Participant A | Opt 1, Opt 4 | 1 | 0 | 0 |
Participant B | Opt 1, Opt 2, Opt 3 | 1 | 1 | 1 |
Participant C | Opt 3, Opt 4, Opt5 | 0 | 0 | 0 |
Participant D | Opt 2, Opt 3 | 0 | 1 | 1 |
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(ISNUMBER(SEARCH(1,$B$1,1)),"Opt 1 "&C1,"")
I want formulae based on Num of Trainings
Num of Trainings
3
7
15
3
0
-7
Days1
Pls check where am doing mistake - '=IF(f20,f230,f260 Days"))) and help me in correction
Is there any formula for designing timetable for teachers in a school/ college or university?
Hi, I need a formula for my work,
I work on students results, in remarks I want to show if rank=1 ,"first position" and if percentage < 60, "fail"
Want to show the both in the same column.
I know to use rank formula for positioning, and if formula, but I want to merge them both.
Hi,
Could you help me, i'm trying to write formula to deduct certain value.
I have a table with certain numbers and i need to leave the same numbers lesser then 2000.
But numbes:
greater then 2000 and lesser then 4000 i need to deduct for 10
greater then 4000 and lesser then 6500 i need deduct for 20
greater then 6500 and lesser then 9000 deduct for 30
grater then 9000 deduct for 40.
Thank you in advance.
Dragan
Hello!
I hope you have studied the recommendations in the tutorial above. It contains answers to your question
=IF(A2>9000,A2-40,IF(A2 > 6500,A2-30,IF(A2 > 4000,A2-20,IF(A2 > 2000,A2-10,A2))))
Hi,
Sorry but i didn't see them.
Thank you very much, this resolved my problem.
Best regards,
Dragan
Hi!!
I am writing a formula to determine Pass/Fail. I used an IF .formula which states this =IF(D6>=75%,"P","F").
It is stating P/F correctly in every instance EXCEPT where the grade matches or is equal to the 75%. In that instance it is reporting and "F" even though 75% or above is passing. I have trying writing the formula 100 different ways and no matter what I try it will not give a "P" to any cell with a grade of 75%. Please Help!!
Hello!
I have not been able to replicate your problem. You may be calculating the value in cell D6. In this case, the value on the screen may not match the real one. In this case, you need to use the ROUND function.
If 3 out of any 6 cells of a ROW have a value greater than 0, then how to find it In google sheet.
Hello Vijay,
You can color such cells using conditional formatting.
Sir when I use the if condition in this type of example in many time but we can't find the actual right answer for this condition.so how were we do.
Example: =IF(B2= "MAHARASHTRA"),(A2*4%),(A2*12.5%))
Hello!
Please try the following formula:
=IF(B2= "MAHARASHTRA",A2*4%,A2*12.5%)
Thanks a lot very helpful website .
Can you use this to include text entry if two various criteria are met? I.e if the date matches, and the client name matches, what stage in the sales process was the deal at?
Hello!
I’m sorry but your task is not entirely clear to me. For me to be able to help you better, please describe your task in more detail. Please specify what you were trying to find, what formula you used and what problem or error occurred. Give an example of the source data and the expected result.
It’ll help me understand it better and find a solution for you
Hi I was hoping you could help. I have Today() in cell A1, date in B3, and a formula in cell C3: =$A$1-B3.
I want to make cell C3 to be BLANK if cell B3 date is blank with no date.
I want to make cell D3 to be "YES" if C3>14 and "NO" if less. However, if cell C3 is blank, D3 also should be blank
Have tried in cell C3 =IF(ISBLANK(B3), "", $A$1-B8) and in cell D3 =IF(C3>14, "YES","NO").
The cell C3 does return blank however, cell D3 does not, the problem is Today() in cell A1 is returning a value which mean the cell is not empty. I checked by using =IF(ISBLANK(K8), "TRUE", "FALSE"), the answer is False.
Please kindly help
Hello!
The formula below will do the trick for you:
C3 ---
=IF(ISBLANK(B3),"",A1-B3)
D3 ---
=IF(ISBLANK(B3),"",IF(A1-B3 > 14,"Yes","No"))
Hope this is what you need.
Hi there hoping someone can help me im trying put in a formula that looks at the 2 columns before and depending if a=x b=y then = z
so as an example ive changed the words to colours(as its for work so privacy rules)
=IF(($H$2=Red), AND($I$2=Yellow), THEN($J$2="Orange"))
Red and yellow = orange
but Red and blue = brown
Please help! :)
Hello!
I hope you have studied the recommendations in the tutorial above. It contains answers to your question.
=IF(AND(H2="red",I2="yellow"),"orange","")
Hi Alexander,
I require your help on below on Excel.
Delta MOQ To Order per MOQ
-150 200 200
Delta MOQ To Order per MOQ
-300 200 How to use "f" function to auto 2x200=400
Thanks
Hello!
Sorry, it's not quite clear what you are trying to achieve. Could you please describe it in more detail? What result do you want to get? Give an example of the source data and the expected result.
Hi I have a data validation list In cell A1 that has 2 options, "completed" and "not completed". In cell B1 I have a conditional formatted data bar that represents 0 to 100%. How do I use the IF function so that by selecting Completed the formatted data bar changes to 100% and likewise "not completed" it changes to 0%. This is for a task assignment tracker.
Evening to you
I require your help with a certain dilemma. My task is two parted, to compare which month has the most expenses and to display that month in an adjacent cell.
The first part of the task is rather simple using the MAX and possibly the IF function if needed. The part I struggle with is displaying the month which satisfies the first criteria.
In order for you to assist me, I must provide you with the full details. I can not do that here as I can not attach any file here. However, on any email address it is a different outcome altogether.
Regards
Jack
Hi!
Describe your task in more detail and send us a small sample workbook with the source data and expected result to support@ablebits.com. Please shorten your tables to 10-20 rows/columns and include the link to your blog comment.
We'll look into your task and try to help.
HI,
I am trying to write a formula with 2 conditions to meet a value and if not return a different value.
I am asking to look up if cell = UK Mainland and if 2nd cell is = Supply and Install return a value of "55", if not return a value "33 or 50 check origin". The formula is not working see below:
=IF(and(H12="Mainland UK",L12="Supply & Install", "55", "33 or 50 check origin"))
I am getting error:
Not trying to type a formula?
When the first character is an equal (=) or minus (-) sign, excel thinks it's a formula:
you type = 1+1, cell shows: 2
to get around this, type an apostrophe ( ' ) first:
you type '=1+1, cell shows : 1+1
I have tried this and its not working, does anyone have a solution please.
Thanks
Paul
Hello!
Please try the following formula:
=IF(AND(H12="Mainland UK",L12="Supply & Install"), "55", "33 or 50 check origin")
I hope it’ll be helpful.
Thanks Alexander. I tried that and it didn't work for me, getting the same error message as per my original post.
Any other ideas on how to return the formula using the apostrophe function?
Thanks Paul
Hello!
This formula works for me. Please describe the error in detail.
Hi Alexander,
Its working now, thanks. There was an issue with excel spreadsheet. I closed it and re did the formula and it works.
Thanks You.
#need help
I would like to request the help of (if function)
Annual leave: if the join date over equal 36 months will get 1 if the join date over equal 72 months will get 2, if the join date over or equal 108 months will get 3,
so what're formulas that can show anwser:
Join date: 01/January/2018 : 38months will get 1
01/January/2015 :74months will get 2
01/January/2012 :74months will get 3
Hello!
If I got you right, the formula below will help you with your task:
=INT(DATEDIF(B1,TODAY(),"m")/36)
You can learn more about DATEDIF function in Excel in this article on our blog.
You work as an Excel specialist in an organization. You want to test the condition that if A1 is greater than 150 and B1 is less than 250 then the function returns 20, otherwise, it should return 0. Which of the following formulas will you apply to test this condition?
Hi,
Could you help me with this:
How to allow Data Entry in column B in Excel only if a Dependent column A is Filled with yes (vs no)?
Hi
How can we use if, and or or for date which is between start date and end date
I.e. 1/6/2002 is 18 year
Start date 1/1/2002
End date 31/1/2002
And so on for 17 years / 16 years etc...
Hello!
Please have a look at this article — Excel IF formula examples for dates.
Hope you’ll find this information helpful.
If this is not what you wanted, please describe the problem in more detail.
I have a spreadsheet with 12 columns. I'd like to write a formula that will change column I to "yes" when the value in column F falls below the number in it. How do I write that please?
Hi,
If a number is written in column I, you cannot change it to "Yes" using an Excel formula. For this you need to use VBA.
I need a formula with multiple conditions.
If "No" and none of 4 cells are <-49.9%, then "1", if "No" and none of 4 cells are between -49.9% and -24.9%, then "2", if "Yes" and none of 4 cells are <-49.9%, then "3", and if "Yes" and none of the 4 cells are between -49.9% and 24.9%, then"4".
Looking at a formula that has more than 0 digits in a single cell, we have to add the value of a fixed cell.
LIKE IN C2:C10 C5 ,C8 CELL VALUE IS MORE THEN 0, THEN I HAVE COUNT IN B2:B10 VALUE,
But the value which has more than 0 digits is the value of cell B2: B10.
Can anyone please help me get this formula right. My conditions are, If A2 value (Percentage value) is lower or higher than B2 value (Percentage value) by 2-5% then C2 should say False.
Hello!
Please use the formula below:
=IF(AND(ABS(B2-A2) > 0.02,ABS(B2-A2) < 0.05),FALSE,"")
Thank you, it worked for me
If A2 value = B2 value or if A2 and B2 value difference is just +/-1% then C2 should say Pass