If someone asks you what Excel function you use most often, what would your answer be? In most cases, it's the Excel IF function. A regular If formula is very straightforward and easy to write. But what if your data requires more elaborate logical tests with multiple conditions? Continue reading
Comments page 4. Total comments: 650
Hi Alex
I have one column (E) where i have the percentage calculated.
Then i have a Target Points Colums (B) with numbers 1-5
now i need to set a condition in COlumn F, where if the average is 100% and above i need to add 1 to the value in column B
100%-110% plus 1 90%-100% minus 1
110%-120% plus 2 80%-90% minus 2
120%-130% plus 3 70%-80% minus 3
130%-140% plus 4 60%-70% minus 4
140%-150% plus 5 50%-60& minus 5
Thanks
A
Hi!
For a single condition, use the normal IF function:
=IF(E1>100%,B1+1,B1)
Hello, please help with any formula suggestions for what I'm trying to do -
For each dollar of new income (as shown in cell D13) between $140 and $220, calculate an abatement of .20cents per dollar, and deduct this from current income (found in D7)....
Then for each dollar of new income (D13) above $220, calculate an abatement of .50cents per dollar, and also deduct this from current income (found in D7).
My version of excel is older; can't use SUMIFS.
(sorry to hijack this thread, can't find where to start a new comment)
Hello!
To calculate interval values, use the MIN function and MAX function.
=MAX(D13-220,0)*0.5+MIN(MAX(D13-140,0),80)*0.2+MIN(D13,140)
Hope this is what you need.
Would like some advice about a nested IF formula. The formula I have written is: =IF(L2>0,L2,IF(K2>0,K2,IF(J2>0,J2,IF(I2>0,I2,G2))))
with the intention that the latest filled column from I to L should be copied over to a new column and if there's nothing in I-L then column G should be copied instead. The formula works if column L is filled in and SOMETIMES if there's only column G to copy but not for any other scenarios.
Example:
G= 7
I = 9
J= 11
K = Blank
L = Blank
M with formula should show 11
I can't work out what I've done wrong!
Hello!
Use the INDEX+MATCH functions to find the last non-empty cell in a range. The following tutorial should help: How to use INDEX and MATCH in Excel.
Please try the following formula -
=INDEX(I1:L1,,MATCH(1E+20,I1:L1,1))
=IFERROR(INDEX(I1:L1,,MATCH(1E+20,I1:L1,1)),G1)
I hope I answered your question.
Yes!!! It worked. Thank you. :)
Hi,
I want to sort company revenue with the following conditions:
$250M
How do I turn this into a nested IF formula? Or do I use another type of formula?
Hi!
If you want to show values by condition, use the FILTER function or the Excel Filter tool.
If this is not what you wanted, please describe the problem in more detail.
Sorry the conditions didn't load up completely. The conditions are:
$250M
Sorry, just ignore this
On the second thought, can you please evaluate if this formula is correct? Thank you!
IF(Z3 < 100,000.00, "250,000,000.00, " > 250M))))))))))
Hi!
If you have a problem with formulas, I recommend reading this guide: Excel formulas not working, not updating, not calculating: fixes & solutions.
If you fix errors in your formula:
=IF(Z3 < 100000,250000000," > 250M")
Thank you for linking the guide. Bless you!
Please support me for following XL formula-
IF 10000, he is ultra-poor
IF 10001 to 15000, he is poor
IF 15001 to 25000, he is middle class
Thank you
Hi!
Carefully read the first paragraph of this article above. There is an answer to your question.
I am trying to do a nested if, and it is telling me I have too many arguments. In cell w2, i am inputting the word "yes", "no", or "probation". I wrote this formula. I am not sure where I have an error, Please help.
=if(w2, "yes", "APR Complete",
IF(w2, "no", "APR Needed",
IF(w2, "probation", "Not Applicable")))
Hi!
You can learn more about IF function syntax in Excel in this article on our blog.
You can use this formula:
=IF(W2="yes", "APR Complete",
IF(W2="no", "APR Needed",
IF(W2="probation", "Not Applicable")))
Hi
Thanks for an excellent article.
I have successfully managed to get the correct results for the first 3 conditions below. However with regards to IF(AD2>-10,"Big Loss", if the number is greater than -10, it still returns loss instead of "Big Loss"
What can I do to correct this in the formula below.
=IF(AD2>=10,"Big Profit",IF(AD2>0,"Profit",IF(AD2<=0,"Loss",IF(AD2<=-10,"Big Loss"))))
Many thanks,
Radley
Hello!
Swap last two conditions in nested IF function:
=IF(A2>=10,"Big Profit",IF(A2>0,"Profit",IF(A2<=-10,"Big Loss",IF(A2<=0,"Loss"))))
Hope this is what you need.
Hi,
How to get the formula for the following scenarios
Qty Value Rate Rate 2 Required
18,508 25,96,571 140 - 140
21,716 14,15,208 65 225 65
Hi!
What do you want to calculate exactly? Your question is not entirely clear, please specify.
One number is inputted into column A in either A1, A2 or A3 and then that number is also displayed in column B in either B 1, B2 or B3. But which cell it shows in column B should depend on both the value of the number and the cell in column A it was entered into.
If A1 is lower than 0 then the number is displayed in B3.
If A1 is 0-100 then the number is displayed in B1.
If A1 is over 100 then the number is displayed in B2.
If A2 is lower than 0 then the number is displayed in B1.
If A2 is 0-100 then the number is displayed in B2.
If A2 is over 100 then the number is displayed in B3.
If A3 is lower than 0 then the number is displayed in B2.
If A3 is 0-100 then the number is displayed in B3.
If A3 is over 100 then the number is displayed in B1.
Any idea on how to program this in excel?
Hello!
You can use multiple conditions in a nested IF formula:
=IF(AND(A1>0,A1<100),A1,IF(A2<0,A2,IF(A3>100,A3,"")))
This is the formula for cell B1.
I also suggest carefully reading the recommendations in the article above.
Hi I need to calculate the following
If car is 1200cc or lower the and the following will apply and if the car is 1200 of higher the following will apply. Any help would be appreciated
1200cc or lower
up to 1500KM .3795 per KM
1501 to 14000KM .4109 per km
14001 to 25000 .2550 per km
1201cc or higher
up to 1500KM .3986per KM
1501 to 14000KM .4109 per km
14001 to 25000 .2550 per km
Your help would be greatly appreciated on this
Ollie
Hi!
Read carefully the following paragraph of the article - Using multiple IF statements in Excel (nested IF functions), it covers your case completely.
See this comment for the answer to a similar question.
Question. I have been racking my brain all night on this.
I have 3 pieces of information that are linked to a master table on another sheet.
I have A1 - Date Assigned
I have A2 - Goal date
I have A3 - Date completed
I want to be able to put in a date into assigned and on my tracker have it read "A" on my master tracker
I am able to calculate a goal date, but want it to show "D" if is goes past the goal date referenced in A2 on the master tracker.
And then I want to be able to put a date in A3 and then have it read "X" for when there is a date listed for completion on my master tracker.
In addition, I want to be able to notice if there are no dates in either A1, A2, or A3 that it just shows blank on the master tracker.
I hope that is enough information to go off of.
Thanks for your help.
Hi!
Based on your description, it is hard to completely understand your task. I recommend reading this guide: Using IF function with dates.
For example, the formula might look like this:
=IF(Sheet21!A2 < > "",IF(A2>Sheet21!A2,"D",""),"")
Also worth noting I have tried to get a formula using =IF(Z6>=TODAY()-(W6*7),AJ6,IF(Z6<=TODAY()-(W6*7),AJ7,IF(AE6,AJ8, "")))
But it will only do the first two it won't allow my third argument to go.
I have a calculation between 2 cells where, based on the sum, the value should change. If not true, then the value should = the calculated sum. This is the latest attempt but not working. Thanks in advance !
if(H39*0.5)+(H41*0.5)=1.0,"1", if(h39*.05)+(h41*0.5)=2.0,"2", if (h39*.05)+(h41*0.5)=3.0,"3")))
Hi!
I fixed the errors in the syntax of the IF function
=IF((H39*0.5)+(H41*0.5)=1,1, IF((H39*0.05)+(H41*0.5)=2,2, IF((H39*0.05)+(H41*0.5)=3,3)))
Hello, and thank you so much! Getting closer but not quite there.
The problem I have is the results field is formatted with a decimal. When the result is a whole number I do not want the .0 . I have solved for this by using "". However, if the result is not a whole number (1,2, 3.) then I need the calculation to show the results "as is" ( e.g. 0.5). Here is my latest attempt but still not working. Wondering if is should use "or"?... Thanks again!
=IF(H39*0.5+H41*0.5=1,"1",H39*0.5+H41*0.5),IF(H39*0.5+H41*0.5=2,"2",H39*0.5+H41*0.5),IF(H39*0.5+H41*0.5=3,"3",H39*0.5+H41*0.5)
Hi!
Change the number format to "General" and you won't see 0 in integers.
=H39*0.5+H41*0.5
Or use the text "1" instead of the number 1.
=IF((H39*0.5)+(H41*0.5)=1,"1",IF((H39*0.05)+(H41*0.5)=2,"2",IF((H39*0.05)+(H41*0.5)=3,"3",H39*0.5+H41*0.5)))
Hello again and thank you so much for your quick reponse!
Wonderful! I'm going to go with the cell format change to "General". I learned more about the nested IF statement through this exchange but it simplifies the formula, so thank you!
Have a wonderful day!
Hey,
I am struggling to finalise a nested if function.
For context, I am trying to calculate point allocation for an online gaming tournament via Excel/Google Sheets.
These are the possible outcomes of the game depending on the end score:
Win = 3 Points
Overtime Win = 2 Points
Overtime Loss = 1 Point
Loss = 0 Points
The way the scores work on the game, I have been able to determine thresholds for scores using ratios (e.g. A score of 7:5 would be a ratio of 1.4). However, when the games haven't been played yet, the score box is empty (meaning the ratio goes to #DIV/0!) and it impacts the sum of points (which is linked to an automated league table).
I have been able to design a Nested IF formula using the ratio thresholds. There are a lot of possible end scores (7:0, 7:1, 7:2, 7:3, 7:4, 7:5, 8:6, 8:7, 7:8, 6:8, 5:7, 4:7, 3:7, 2:7, 1:7 and 0:7) which is why ratios really simplified it. The formula but can only be applied to the played games, otherwise, as said above it messes with the sum of points.
Version that works (Limited) :
=IF(A5>1.39, $D$72, IF(A5>1.10, $D$73, IF(A5>0.74, $D$74, IF(A51.39, $D$72, IF(A5>1.10, $D$73, IF(A5>0.74, $D$74, IF(A5<0.72, $D$75)))))
Legend:
A5 - Row where the ratios are (A)
I5 - Point difference column (I)
J5 - Points column (J) (where the formula is input)
$D$72 - 3 (Points)
$D$73 - 2 (Points)
$D$74 - 1 (Points)
$D$75 - 0 (Points)
$D$80 - 0 (Default point difference when game hasn't been played)
I appreciate there is a lot going on here. Any help/advice would be appreciated. I can send a screenshot on request to make it clearer but do not want to spam the blog with a link to the spreadsheet.
There seems to have been an error when posting the comment, this is the formula I have used that partially works :
=SI(A5>1.39, $D$72, SI(A5>1.1, $D$73, SI(A5>0.74, $D$74, SI(A5<0.72, $D$75))))
Thank you Alexander, I will have a look !
Hello!
Instead of a nested IF function with many conditions, you can use an approximate search with the VLOOKUP function. Here are detailed instructions and an example.
I hope this will help.
Hello,
I did it for 5 conditional, and get the feedback "You've entered too many arguments for this function". So my question is "Is there any other way for 4 and more conditions?".
Thank you in advance,
Lachin.
Hi!
How can I guess what formula you're talking about?
can i ask, I have two seperate of IF function i want to add together
=IF(E10=$K$6,"90.1",IF(E10=$K$4,"51.6",IF(E10=$K$5,"80.5")))
=IF(F11=$K$20,"85",IF(F11=$K$19,"61.3",IF(F11=$K$18,"61.3")))
how can i add these two IF together in one cell, is it possible?
Hi!
I don't think this is possible. What value should be returned if the conditions are met simultaneously - E10=$K$6 and F11=$K$20 ?
I feel like what I am attempting is not that difficult, but I have searched and searched and can't find the answer.
I will tell one of the easier scenarios and can probably get the gist of how to write it and use that on the more difficult ones.
We have a sales quota at my bank of a total of 45 items but in order to be paid a bonus some of these have to be particular things. Like you can't just open 45 savings accounts and get a bonus.
Of the 45 items you must have 11 things specific things and then after that they can be anything as long as there are 45 or more. I have already done all the calculation of the sales $ amounts separately (as if they met all rules) and have it stated in the cell above where I want to put this calculation that I will need to actually pay out.
So I just need this calculation to tell me whether to give a 0 if all are not attained or if all are attained to give the number in the cell above. Sounds simple but so far cannot figure it out.
I thought I would use an If And statement but can't get it to work correctly. It seems like I could say =IF(AND(# of checking accounts cell =3, # of savings accounts =2, # of credit cards sold =2....
I would just go down the list of required things and say- If 'this rule' AND 'this next rule AND 'this last rule' are all true then copy the cell above to down here and if it's not all true put a 0 here.
See sounds simple but I can't find an example anywhere.
Hello!
To count the number of values that match certain criteria, use the COUNTIF or COUNTIFS functions.
I hope I answered your question. If something is still unclear, please feel free to ask.
Hi Alexander,
I would like to multiply cell A3 by cell B3 to return a result in C3, however if there is no number in A3 I would like instead it to multiply A1 by B3 to return a result in C3. If both A3 and A1 are empty, I would like C3 to return no result. Can you please help me with this?
Kind regards
Hi!
I hope you have studied the recommendations in the tutorial above. It contains answers to your question.
The formula below will do the trick for you:
=IF(AND(A3="",A1=""),"", IF(AND(A3="",ISNUMBER(A1)), A1*B3,A3*B3) )
How do I achieve the all of following to get the result in cell A3?
IF (A1="Yes") and (B1=1) then A3=C1/B1
IF (A1="Yes") and (B1=2) then A3=C2/B1
IF (A1="Yes") and (B1=3) then A3=C3/B1
IF (A1 does not = "Yes") then A3=0
Hello!
Please reread the article above since it covers your case.
Use the formula below:
=IF(A1="Yes",IF(B1=1,C1/B1,IF(B1=2,C2/B1, IF(B1=3, C3/B1,0))))
Why does this not work:
IF((F7=5),SUM(E6/F7),if(F7=4),sum(E5/F7),E2)
Hi!
I don't know what result you want to get, but try this formula -
=IF(F7=5,E6/F7,IF(F7=4,E5/F7,E2))
Ignore this one it's not what I am trying to do. Thanks
Hello,
I converted a text file into an excel and some cells are split into 2 cells. For example, cell B1 now shows up as B1 and in B2.
the sheet looks something like this:
A1: Na B1: Ly
A2: B2: dia
A3: B3:
A4: City B4: Toro
A5: B5: nto
A6: B6:
A7: Day B7: Monday
A8:Day B8:Tuesday
A9: Car B9: Audi
A10: B10: xxi
A11: B11:
what I would like to do, is have cells B1 & B2 show up in 1 cell in C1 based on the condition:
=IF((AND(B1>0,B2>0,B3=0,A2=0)),B1&B2,B1)
I also tried using the concatenate(B1,B2) instead of ,B1&B2, but got the same results:
LY
I wanted to get LYDIA.
Not sure why I am not getting the right results.
As well, is it possible in the results that cell B2 not populate again underneath so the end result will look like this:
A1: Name B1: Ly C1: Lydia
A2: B2:dia C2:
A3: B3: C3:
A4: City B4: Toro C4: Toronto
A5: B5:nto C5:
A6: B6: C6:
A7: Day B7: Monday C7:Monday
A8:Day B8:Tuesday B8: Tuesday
A9: Car B9: Audi B9: Audi xxi
A10: B10: xxi B10:
A11: B11: B11:
Thank you,
Lydia
Hello!
In the cells that look empty, some text character is written (space, line break, apostrophe). Therefore, your formula does not work. Check these cells and try this formula
=IF((AND(B1 < > "",B2 < > "",B3="",A2="")),B1&B2,B1)
I hope my advice will help you solve your task.
Sir, I have made a formula for the below calculation & its not working.
Employees will get his end of benefits based on the service tenure.
Conditions to eligible for the end of benefits based on the service years are as follows
IF service less than 1 year = 0
if >1 3 5 = salary /30* 21
If - those have long service 05 years & more, then the calculation should be - for up to 05 years (Salary/30*21) above 05 years (salary/30*30)
Hi!
Read carefully the first paragraph of this article. There is an answer to your question and an example formula.
Hello,
Thank you for the informational tutorials!
I am trying my hardest to create an excel sheet to quickly sum up points based on a score.
For example, if you finish 1st, you receive 40 pts, 2nd = 39, etc..
I have a column for "Place": 1, 2, 3...40
I have a column for "Points."
Could you please provide me with some direction on HOW to get 1st Place = 40 pts, 2nd Place = 39, etc?
I thought this would be an IF formula but I'm not getting the output I would like, just VALUE!
I would GREATLY appreciate it!
Hello!
In the "Points" column, you can use the formula
=41-A1
=IF($A$4=$P$4,($B$4=Q4)+(IF($D$4=$P$4,($E$4=Q4)+(IF($G$4=$P$4,($H$4=Q4)+(IF($J$4=$P$4,($K$4=Q4)+(IF($M$4=$P$4,($N$4=Q4),"")))))))))
Hi, can you please help me with my formula on how I can return multiple true values because for only 1 false value the rest are not showing.
Hi!
Sorry, it's not quite clear what you are trying to achieve. Please provide me with an example of the source data and the expected result.
I am trying to create a reservation log calendar that will shade corresponding dates, the condition will be - it should only shade if room number matches.
That formula works when entered in conditional formatting, only it errors if there is a single room number differ and it will not shade the rest of the dates with matching room numbers.
What function I can use to return multiple true values even if there are false values as well, I tried index and match even vlookup, but just can't figure it out.
Total 38 rooms
5 different reservation dates (with diff room numbers)
Hello!
The information you provided is not enough to understand your case.
Write what data is written in the cells that your formula refers to and what result you wanted to get.
P4 -23 (this is the room number to match from the below reservations dates)
P4-41 (38 Rooms)
A4 - 23 Room number
B4 - Jan 5
C4 - Jan 10
D4 - 23 Room number
E4 - Jan 13
F4 - Jan 18
G4 - 5 Room number
H4 - May 1
I4 - May 20
J4 - 23 Room number
K4 - Jun 2
L4 - Jun 15
M4 - 23 Room number
N4 - 12 Dec
O4 - 20 Dec
And I have a one year calendar: Q4:NQ4
What I want to achieve, if any of the room number matches to (P4), dates to automatically highlight in the calendar.
Hello!
If I understand your task correctly, the following conditional formatting formula should work for you:
=($A$4=$P$4)*($B$4=Q4)+ ($A$4=$P$4)*($C$4=Q4)+ ($D$4=$P$4)*($E$4=Q4)+ ($D$4=$P$4)*($F$4=Q4)+ ($G$4=$P$4)*($H$4=Q4)+ ($G$4=$P$4)*($I$4=Q4)+ ($J$4=$P$4)*($K$4=Q4)+($L$4=Q4)+ ($M$4=$P$4)*($N$4=Q4)+ ($M$4=$P$4)*($O$4=Q4)
I hope my advice will help you solve your task.
Apologies, this is the formula I have:
=IF($A$4=$P$4,($B$4=Q4)+(IF($D$4=$P$4,($E$4=Q4)+(IF($G$4=$P$4,($H$4=Q4)+(IF($J$4=$P$4,($K$4=Q4)+(IF($M$4=$P$4,($N$4=Q4),"")))))))))
I wish to share a screenshot but not possible when tried.
Thanks a lot.
I like to have different formulate based on the previous cell conditions eg, =if(c2="Male",2+1,if(C2="Female",2-1)) but I get error
You need an "else" option.
If there are only Male and Female in your list with no blanks then:
=if(c2="Male",2+1,2-1)
OR, instead of making a formula, just state the value for each:
=if(c2="Male",3,1)
If there are blanks:
=if(c2="Male",3,if(c2="Female",1,2))
I'm a fan of binary myself:
=if(c2="Male",1,if(c2="Female",0,""))
This counts all the males, provides a 0 for females, and a blank for anyone missing that information. This allows you to sort by that column and fill in the missing information if desired but the Else could also be something like "U" for unknown.
Hope this helps.
Hi!
What error are you getting?
UPI/103312588735/CR/NOBLE AUTO CARE K/CIU/Payment (Ref# S52276500)
TRTR/776802210414/02-02-2 02121:04:14/BNA (Ref# S52704553)
UPI/103418091878/CR/RAJAV EL/KKB/tyre (Ref# S55846936)
UPI/103418535311/CR/BALAM URUGAN RENU/UTI/UPI (Ref# S56044583)
UPI/103420379551/CR/Mr S VIJAY RAGHAV/IDI/Tyrep (Ref# S56421977)
BY CASH JAYAMOORTHY (Ref# IB82474)
i am trying to bifurcate the transactions in seperate catagory like - Cash, UPI, TRTR - how to plot multiple conditions in if statement
I am trying below formula it is not working
=IF(FIND("TRTR",F2,1),"TRTR",IF(FIND("ATM",F2,1),"ATM",0))
Please help on this
Hi!
What exactly is not working in your formula? Perhaps you need to add all the conditions. For instance,
=IF(FIND(“TRTR”,F2,1),”TRTR”,IF(FIND(“ATM”,F2,1),”ATM”,0),IF(FIND(“UPI”,F2,1),”UPI”,0))
Hello,
I've been working on an excel sheet for nearly a month and cannot figure out how to get the result that I want using IF Statements. I was able to get 2 of my statements to work the way I need them to but the third seems to require a few more IF, AND, OR statements to work but I cannot for the life of me get the result I want. My example is as follows:
=IF(A2<=1,C31/1.7,0) This statement is in cell C32 and works as I intend it to with the correct result populating in C32. C33 and C34 populate as 0 which is what is needed.
=IF(A3<=1,C31/1.3,0) This statement is in cell C33 and also works as I intend it to with the correct result populating in C33. C32 and C34 populate as 0 which is also what is needed.
=IF(AND(A2=0,A3=0),C31/1.9,0) This statement is in cell C34 calculates the correct result in C34 however, C32 and C33 also calculate their respective correct results when I need them to return a result of 0.
The actual cell data I am using is as follows:
A1 $1,321.00
A2 $567.00
A3 $1,919.00
A4 $50.00
$3,857.00
$308.56
$4,165.56
$1,000.00
$700.00
$700.00
$0.00
$0.00
$0.00
$0.00
$6,565.56
$2,500.00
$0.00
$9,065.56
$453.28
$9,518.84
$0.00
$0.00
$0.00
$0.00
$0.00
$0.00
A31 $9,518.84
A32 $0.00
A33 $0.00
A34 $0.00
Any help or insight would be greatly appreciated! Thank you!
Hello!
Try adding one more condition to your IF function.
=IF(AND(A2< = 1, A2 < > 0, A3 < > 0),C31/1.7,0) I hope it’ll be helpful.
Thank you for the insight! I will play with adding an additional condition and see where that gets me.
Just a follow up...
Your suggestions did end up working! Thank you so much! After playing around with adding an additional condition, everything is working as I need it to, and I was even able to expand on that to encompass much more data. Thank you for the insight Alexander!
Hello,
I am seeing if anyone can help me write a nested formula with multiple arguments, or what is the best way to do what I'm trying to do? the result, based on what's was rcvd. yes, if yes result would be n/a, if not rcvd, the result would be yes, if n/a, result will be n/a
RCVD NEEDED
DOC 1 YES DOC 1 N/A
DOC 2 NO DOC 2 YES
DOC 3 N/A DOC 3 N/A
=IF(X7="YES","N/A",IF(X7="NO","YES","YES",IF(X7="N/A","N/A","N/A")))
Hello!
Please check the formula below, it should work for you:
=IF(X7="YES","N/A",IF(X7="NO","YES",IF(X7="N/A","N/A","N/A")))
I need to write a formula like IF the company Name = List and Product name = List and Product category = List then The Price = List
Hello!
Please check out the following article on our blog, it’ll be sure to help you with your task: How to Vlookup multiple criteria in Excel.
I hope this will help, otherwise please do not hesitate to contact me anytime.
Wonder if anyone can help me to solve this
Column B5: GOV or PRI
Column B39: Total value example 2,500
IF B5 = GOV, and B39 range 1 to 1,000 = 0, 1,001 to 2000 = 100, 2001 to 3000 = 200 etc
IF B5 = PRI, and B39 range 1 to 1,000 = 0, 1,001 to 2000 = 50, 2001 to 3000 = 100 etc
Hello!
If I understand your task correctly, the following formula should work for you:
=IF(B39 < 1001,0, IF(B39 < 2001,100, IF(B39 < 3001,200, )))*(IF(B5="GOV",1, IF(B5="PRI",0.5,)))
Basically i want that based on the value on B column, C column should be filled.
below is giving me value 10 for all values of B column. Kindly help
=IF(OR(B2>=0,B2=49,B2<=108),12))
Hello!
I don't know what values you have in column B. There is no value 10 in your formula. The second condition does not make sense, because if B2=49 then always B2<=108
Hi! How do you write 17<=C13<=28 in a formula? Please help me. Thank you.
Hi!
Read Example 1 in this article carefully. There is an answer to your question.
How to compute in a 3 situation to the column 1 to column 2 in 1 formula
Situation 1, Column 1 equal to column 2 the answer is column 2
Sample:
2 & 2 = 2
-1 & -1 = -1
Situation 2, Column 1 is greater than or less than column 2 but both positive or both negative the answer is whichever is higher
Sample:
2 & 3 = 3
4 & 1 = 4
-2 & -3 = -3
-4 & -1 = -4
Situation 3, Column 1 is greater than or less than column 2 but in different (Column 1 is positive and Column 2 is negative or vice versa) the answer should be in sum
Sample:
2 & -3 = -1
-2 & 3 = 1
-4 & 1 = -3
4 & -1 = 3
Hi!
Please re-read the article above, it covers your case completely.
Can you share with me the right formula? Article is very broad, no exact formula base on the situation.
Anyone can solve this situation?
Hi!
If you read these instructions carefully, you can easily write the formulas you need. All the instructions you need are found above in this article.
hi
any idea way the ONLINE NOT show
=IF(H2&J2="APPROVD","APPROVd",IF(AND(H2&J2="NOTAPPROVD","NOTAPPROVD"),"ONTIME","DEILY"))
Hi!
What do you want to calculate exactly? Your question is not entirely clear, please specify.
Write a programme to input an alphabet and then check the alphabet vowel or consonant
Hello!
I am trying to create and If/Then formula for generations. What I am looking for is if a birthdate (1/1/1954) falls into a range of dates (1/1/1946 to 12/31/2964) then it would be labelled a Baby Boomer. I have 5 generations that I need to include. Thank you!
Great information shared here!! Thanks for sharing.
I need help with the following formula.
Column I is a title
Column J is a dollar
if column I is X title and column J is less than X dollars increase by Y not to exceed Z but if column J is more than X dollars do not increase.
I need to count the value (will be a whole number) in Column "I" IF Column B word is "New" AND Column C word is "Shirt". How would I set this up?
Thank you!
Hello!
You can find the examples and detailed instructions here: Excel COUNTIFS and COUNTIF with multiple AND / OR criteria.
Hello,
Trying to create a formula with no success so far. The range of cells, in this case D:32:D35, are assigned either "yes" or "no". If 1-2 of these cells are marked "yes" then L:31 should be assigned value of .5. However, if 3-4 of the range of cells are marked "yes", then L:31 should be assigned value of 1.
Any advice greatly appreciated.
Thanks!
Hi!
I have already answered you. Why are you asking the second time?
Attenace Incentive allowance
No Of Day Full OT Incentive Amount Per Day
26 4 40
26.5 4 60
27 3 60
27.5 3 60
28 60
29 60
30 60
31 60
Can someone please help me with a basic formula. I have 5 product codes each with a $ value, and I have 200 rows of information, each time I enter a product code in 1 cell then I would like the value shown in the next cell without having to do a manual calculation each time. Is this possible and what would the formula be please. Thank you for any assistance you can offer in this regard.
Hi!
The information you provided is not enough to understand your case and give you any advice.
What value do you want to display in the next cell? Please describe your problem in more detail.
How do I send you the spreadsheet and you can see how Im trying to work it.
Hi!
Please 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.
I am looking for a formula that will give me a percentage if a certain number falls within a range of numbers.
Range:
$200-$299 I get 1%
$300-$399 I get 2%
$400-$1000 I get 3%
Scenario--My total sales are $39,308 and I worked 147 hours this would put me at $267.40 per hour, by the example below I would get 1% of the 39,308 totaling $393.08 commission
Hello!
The answer to such questions has already been given. I recommend looking here and here.
This should solve your task.
I think, it is more simple you face multiple range data, just make a reference table, sort by value asc, then use VLOOKUP (value, table, col_index, [range_lookup]), with [range_lookup]=1.
Hi how can I make this formula shorter? It seems like it doesn't work because its too long but its all the data i need to input. thank you!!
=IF(H21>2.8,6.60,IF(H21>2.7,7.20,IF(H21>2.6,7.80,IF(H21>2.5,8.40,IF(H21>2.4,9.00, IF(H21>2.3,9.60,IF(H21>2.2,10.20,IF(H21>2.1,10.80,IF(H21>2.0,11.40,IF(H21>1.9,12.00,IF(H21>1.8,12.60,IF(H21>1.7,13.20,IF(H21>1.6,13.80,IF(H21>1.5,14.40,IF(H21>1.4,15.00,IF(H21>1.3,15.60,IF(H21>1.2,16.20,IF(H21>1.1,16.80,IF(H21>1.0,17.40,IF(H21>0.1,18.00))))))))))))))))))))
Kindly,remove the commas from the digits
Hi,
Describe your source data and conditions for the IF formula. Then I will try to help you.
Thank you - this post of yours helped me to learn something new today.
Here is the IF(AND formula that returns the first answer: =IF(AND(C8="PL",D8="1/4",K8="S304L"),11.16). The problem is I cannot connect that in the same cell with: =IF(AND(C9="PL",D9="1/4",K9="A36"),10.21).
I need to check 3 cells and return an answer, then check the same 3 cells with new conditions and return a new answer. This is a spreadsheet for steel estimates. It needs to see "PL" (plate), "1/4" (thickness), and "S304L" (Stainless Steel) and return a weight per Square Foot. It also needs the see "L" (angle), 2x2x1/4 (size), and "A529-50" (Carbon Steel) and return a weight per Linear Foot. It also needs to see a lot of different shapes, sizes, and grades and return a correct weight per unit. Automating this function would save a lot of time looking through steel books!
Happy Friday!
Clark
Hello!
I’m sorry but your task is not entirely clear to me. 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 am trying to write a formula such as this:
=IF((M10="FORD")*AND(M23="F750")*OR(M23="F550"),1,0)
Basically i want to return a value of 1 if M10 is equal to FORD and M23 is equal to either F550 or F750.
This formula returns a value of 1 every time even if i have M23 equal to F250
Hello!
Please check the formula below, it should work for you:
=IF(AND(M10="FORD",OR(M23="F750",M23="F550")),1,0)
Please have a look at this article — Using logical functions in Excel: AND, OR
hi could you help me? im having trouble with my formula.
here are the conditions;
if 17<=X<=28, then the answer would be 0.85
but if 28<X=55, the answer should be 0.65
thank you
Hi,
I hope you have studied the recommendations in the tutorial above. It contains answers to your question.
Try the following formula:
=IF(AND(A1>=17,A1<=28),0.85,IF(AND(A1>28,A1<=55),0.65,""))
X is in cell C4.
i hope i could reach some help :((
HI,
I need to calculate the IF statement between two numbers having multiple criteria:
ex: Criteria
from 20-30 =200
from 31-40=300
from 41-50=500
B2 = 18
B3= 25
B4= 39
B5=41
With only one criteria I can calculated: =IF(AND( B2>=31,B2<=40),"300","0"), but when it comes to more I am not sure how to do it.
Thank you.
Hello!
The formula below will do the trick for you:
=IFERROR(INDEX(B1:B4,MATCH(D1,A1:A4,1)),0)
A B
20 200
31 300
41 500
50 500
D1 --- 18, 25,39 or 41
I hope my advice will help you solve your task.
Can you please help me. I have been struggling with this nested formula.
Cell Values:
C12 - 85, C13 - 87, C14 - 90, C15 - 95
D12 - 200, D13 - 300, D14 - 500, D15 - 1000
E3 - 90, E4 - 86, E5 - 98, E6 - 85
I need to find the corresponding value for E cells from D cells if the number is greater than or equal to numbers in C cells. [how can I come up with a formula for this? - Cell F should be "500" since E3 => C14]
Formula in Cell F:
=IF(E3>=C12,D12,IF(E3>=C13,D13,IF(E3>=C14,D14,IF(E3>=C15,D15,"0"))))
Hi,
I’m sorry but your task is not entirely clear to me. Could you please describe it in more detail? What result do you want to get?
What does "Cell F should be “500” since E3 => C14"??
Give an example of the expected result.
Good day Sir
Can you please help me. I have been struggling with this nested formula.
I just need someone to please explain it to me cause I just can't grasp this.
I need a formula which helps me with the following:
1) If Column B & C has no date populated the Cell E should reflect a " "
2) IF column B has a date populated and no date populated for Column C then Column E must read "Open"
3) IF column B & C have a date populated then Column E must read "Finalized"
I need to have these conditions nested in one in Column E
Here's the formula I'm using, I think I'm on the right track ;
=IF(AND(ColumnB>1,ColumC>1),"Finalised", "Open")
Somewhere in this formula I need amend it to display " " in fields where no Date is captured in Column B
Column A Column B Column C Column E
Policy number: Task Start: Task End:
1234567890 22/02/2021 16:11 22/02/2021 16:14:07
Please help kind Sir
I am working with data across multiple sheets. I have a dropdown list in one sheet. I need a formula that will take the data from multiple sheets and return it to cells on the first sheet of the book based on data chosen in the drop down menu. All data is text I have tried if statements but can't seem to make it work. Any help in this matter would be greatly appreciated.