Comments on: Excel IF statement with multiple conditions

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 6. Total comments: 2534

  1. Hi,

    I'm looking at trying get a yes/ no answer for a column that has "yes" or "no" data entered.

    If the column is all "yes" the statement is true and the result should be "yes". Is there a way to do this?

    E.g.

    A1 Yes

    A2 Yes

    A3 Yes

    A4 Formula gives the answer "Yes"

    However, if A2 had "No", the formula in A4 would give the answer as "No"

    Any help would be appreciated as I have been researching for a few months on and off now.

    1. Hello!
      I hope you have studied the recommendations in the tutorial above. It contains answers to your question.

      =IF(AND(A1="Yes",A2="Yes",A3="Yes"),"Yes","No")

  2. I need a formula that will do the following:

    =IF(F2*60%)/32)2, I want 3 for my answer, If >1 and < 3 I need 2 as my answer. thanks kindly

    1. It dropped something from my question:
      =IF(F2*60%)/32) >2 I want 3, <2 I want 1 and 1 I want 2.

  3. the "," does not work! it has to be ";" to work

    1. Hi!
      This depends on your computer's regional settings. European settings use ";". US regional settings - ","

  4. Hi! Is it possible that I can have two values if my logical test is true?

    Example:
    If(A1>0, B1-A1 and at the same time C1-A1, "")

    I hope I explained it well. Thank you.

      1. I write it like this =IF(A1>0, OR(B1-A1, C1-A1),"")

  5. Hi,
    Required to identify credit / debit ( contain with "-" after number that is credit, otherwise debit

    my data as below

    84.03
    0.05
    0.58-
    131,429.79
    209,489.24
    239,999.90
    145,599.21
    0.44
    0.43
    170,989.70
    4,666.29-
    0.98-
    0.39

  6. Hi

    A1=100
    A2=50
    =sum(A2-A1) WILL = -50
    How do I make it show 0

  7. Hi, can you please help me write an IF formula/statement that alerts users of a chart that the total nett profit after tax is less than 10% of the total sales?

  8. Hello, i need formula to calculate cost from one sites to another with many option, for example my good from city a to city b cost about $4 per quintal, from city a to c $5 per quintal, from city d to b is $7 per quintal. only 2 destination point but many source point with every point is different cost. thank you

  9. Hi, I'm looking for some help to automate an NBA bracket pool that I am currently running for my office.
    I am awarding 1 point for having predicted the correct series score (i.e. 4-0, 4-1, etc.). I have a single cell for each teams score (i.e. Team A's score will go in C5 and Team B's score will go in C9).

    I'm hoping there's a formula that can award 1 point for having corrected the correct score. I currently have a "master bracket" where I am entering the series scores as the playoffs continue. I've tried using a formula like =(IF(player1!C5='POOL - MASTER'!E5,1,0)) which will give me a point if correct, but this does not necessarily show whether player 1 guessed the correct series score. So, I need to somehow meet both conditions (or have both scores be correct) in order to award a point.

    Any ideas?

    Thanks in advance!

    LG

    1. *1 point for having PREDICTED the correct score

      1. I failed to mention that these formulas are on a "standings" sheet which I'm hoping will update automatically as I enter the series scores in the "pool - master" sheet.

  10. I need help with creating a formula in excel

    IF A5=5, then 0 points is assigned
    IF A5=4, then 1 point is assigned
    IF A5=3, then 2 points is assigned
    IF A5=2, then 3 points is assigned
    IF A5=1, then 4 points id assigned
    IF A5=0, then 5 points is assigned

    1. Just us Nested - If(AS=5,"0",If(AS=4,"1",If(AS=3,"2",If(AS=2,"3",If(AS=1,"4",If(AS=0,"5"," "))))))

  11. Hey please help me with the the formula for taking R12 from every R100 due .I have tried this but I can't get the correct answer when scrolling down ,=if(d6>=A4,B2,0)

  12. Hi I need help with a nested if argument, I want to calculate a specific percentage according to an alphabetical code, all entries with codes (column F) R,P,B,W need to depreciate by 5% per year (column H) if the code is anything else the percentage is set at 50%

    This is what I have so far:

    =IF(or(F10="r",f10="p",f10="b",f10="W"),and(f10=n),100%-(H10*5)/100),"50%")

    1. H1!
      If I understand your task correctly, try the following formula:

      =IF(OR(F10="r",F10="p",F10="b",F10="w"),H10*0.95,H10*0.5)
      or
      =IF(SUM(--(F10={"r","p","b","w"}))>0,H10*0.95,H10*0.5)

  13. Hello,

    I am trying to use an "if and" statement with 3 conditions at the end of a very long statement.

    It is 3 IF statements, 1 IF AND statement, and 1 IF AND AND statement. The formula works up to the 3 IF statements + 1 IF AND statement, but does not work once I add the IF AND AND statement. I have copied below what I have so far, can someone please assist?

    IF(V2="*",S2,IF(S2="",T2,IF(S2="*",S2,IF(AND(S2="",T2="<"),"T2","U2",IF(AND(AND(S2="",T2=""),U2,V2))))))

    Above is translated to if V2="*", then look at S2. If S2 is blank, then look at T2. If S2="*", then use S2. If S2 is blank and T2 = "<", then look at T2, if not then look at U2. If S2 is blank, and T2 = "", then look at U2 if not then look at V2.

    1. Hi!
      Your conditions are incorrect. If condition IF(AND(S2=””,T2=”<”) returns FALSE, then there are 2 choices: 1) U2. 2) checking the condition IF(AND(AND(S2="",T2="”)

  14. Hi,

    I require formula for a confiriton where, "If we input date in one cel, then a specific amount should popup in the destination cell"

    Example: if a cell A15 has date 23/04/2022, then cell G15 should popup with the amount 50.

    will this be possible?

  15. Dear Sir,

    I noticed you are helping a lot of people here and i would like to ask if you could guide me in the right direction in excel. I am trying to create a worksheet with available lens (of all sorts) for our lab. And separate worksheets with lenses grouped for uses (contact lenses/ lenses by brands and stuff like that). My idea was for the lens name with its ID from the other worksheets to be copied into the availability worksheet (like this ='Contact Lenses'!D8). But when there is a date of taking the lens in the availability worksheet the worksheet that regards that specific lens (like 'Contact Lenses') will have in the relevant cell a value of Yes (for taken) and a No value for when there is a date of return in a separate column in the 'availability' worksheet. However The problem i am struggling with is that the same lens may occur several times in the same availability worksheet - making If statements kind of ridiculous.

    Things like started coming out as such - which obviously won't work
    'IF(OR(AND('Availability' $C10:C100 ISTEXT = "CL1.75 #A" , 'Availability' $F10:F100 ISBLANK), AND('Availability' FC10:F100 ISTEXT = "CL1.75 #A", ISTEXT )), "Yes", "No")

    ('Availability' worksheet) - Cells[Lens ID, date of taking item, name of person who took it, date of returning item]

    Example 'Lens' worksheet - Cells [Lens ID, Specification, Available?]

    I hope i explained it well enough. Do you have an idea on how to proceed with such a task?

    Regards
    Wiktor

    1. Hello!
      If you need to find the last match with Lens ID in the ‘Availability’ worksheet, you can use the XLOOKUP function with Search_mode = -1
      I hope this will help, otherwise please do not hesitate to contact me anytime.

  16. I have. project and I'm struggling to know how to do this IF formula given what they say:
    "The dataset contains ten measurements of student readiness for college in columns B-K. The description of each one of them is available in the file."
    "To analyze this data, you need to create additional columns and recode the data, making low a 1, moderate, a 2, and High a 3 (you can use an IF function to do this). In this format, the highest the number, the more prepared the student is."

    the column already says moderate low and high what function would I do to get it to formulate to 1,2,3, etc...

  17. Hi, I am trying to do the following:
    If c2 is blue (true or false) then c3=c2 - 8

    If c2 is another colour nothing happens

    So.. is it possible to bind c3 to a c2 in that way and still be able to write any number in c3 if condition is not met?

    Thanks

  18. I have a list of prices. "X" and "NON-X" products (one column). I want the price separately to the "X" Column and "NON-X" Column from that mixed list..

  19. Hi,

    I am trying to create a code for trading.

    C3 is Australian Dollar
    D3 is Euro
    bull is up
    bear is down
    cons is consolidating/sideways

    There is 8 different combinations for the answer that can be seen in the function below.

    =IF(AND(D3="bull";C3="bear"); "bull";"") IF(AND(D3="bear";C3="bull");"bear";"") IF(AND(D3="bull";C3="bull"); "cons";"") IF(AND(D3="bear";C3="bear"); "cons";"") IF(AND(D3="bull";C3="cons"); "bull";"") IF(AND(D3="bear";C3="cons"); "bear";"") IF(AND(D3="cons";

    1. Hello!
      If I understand the problem correctly, you have many combinations of conditions in two columns. I recommend writing down all possible combinations in a table and using the VLOOKUP function to search for the desired option. Here is a guide with examples: How to Vlookup multiple criteria in Excel.
      I hope I answered your question. If something is still unclear, please feel free to ask.

      1. Thank you for the quick response!

        I digged into VLOOKUP function and I am not 100% sure how to use it in my instance. I will try to further explain my situation.

        Basically I have 8 possible combinations and 3 possible outcomes, but just one right answer.

        First word is one currency (Australian Dollar)
        Second word is the other currency (Euro)
        Answer is what their cross currency should be if conditions are met (EURO / Australian Dollar)
        bull + bull = cons
        bear + bear = cons
        bull + bear = bear
        bear + bull = bull
        cons + bull = bull
        cons + bear = bear
        bull + cons = bear
        bear + cons = bull

        There can only be one right answer for each date.

        1. Hi!
          Write your criteria in the G2:H9 range as:
          bullbull cons
          bearbear cons
          bullbear bear
          bearbull bull
          ......

          Formula in cell C2:

          =VLOOKUP(A2&B2,G2:H9,2,FALSE)

          Please use the link I gave you earlier.
          I hope I answered your question.

    2. Here is the full function

      =IF(AND(D3="bull";C3="bear"); "bull";"") IF(AND(D3="bear";C3="bull");"bear";"") IF(AND(D3="bull";C3="bull"); "cons";"") IF(AND(D3="bear";C3="bear"); "cons";"") IF(AND(D3="bull";C3="cons"); "bull";"") IF(AND(D3="bear";C3="cons"); "bear";"") IF(AND(D3="cons";C3="bull"); "bear";"") IF(AND(D3="cons";C3="bear"); "bull";"")

  20. Hi, I have 2 columns of data, both containing either a 0 or a 1.

    I need to be able to code the cell in another column to read the data and return a number...
    i.e : when it is 0 in both columns, to return a 0.... then 1 , 0 to return a 1... etc.

    I have tried this;

    =IF((AND(D2=0, E2=0),0), IF(AND(D2=0, E2=1), 1), IF(AND(D2=1, E2=0), 2), 3)

    Any assistance would be greatly appreciated.

    1. Hi!
      If I understand your task correctly, try the following formula:

      =IF(AND(D2=0,E2=0),0,IF(AND(D2=0,E2=1),1,IF(AND(D2=1,E2=0),2,3)))

      1. Thank you so much for your speedy response. This resolved the issue.
        So close, yet so far. Bracket, everybody's best friend and worst enemy.

  21. 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

    1. 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.

      1. 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.

  22. 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 :)

      1. Thanks for your help, that's great!

  23. 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"))))

    1. i have date on M17 given and they are encoded on this format MM/DD/YYYY dateshort

  24. 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.

  25. 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.

    1. 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.

  26. 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.

  27. 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)

    1. 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, "")))

  28. 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)))))

    1. 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))))

      1. 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

  29. 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)))

    1. Hello!
      Don't forget that character values must be enclosed in quotes.

      =IF(C25=1,3,IF(C25=2,0,IF(C25="X",1,"")))

  30. 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.

    1. 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")

  31. 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"

    1. Hello!
      If I understand your task correctly, the following formula should work for you:

      =IF(OR(C4="No", C5="No", C6="No"),"Negative","Positive")

      1. 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.

          1. 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! :)

  32. 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.

  33. 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

    1. 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

  34. =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

  35. 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

  36. 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")

    1. 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?

  37. 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

  38. 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?

    1. 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.

      1. 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

  39. 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

    1. Hi!
      Write what is the second formula. Both of these formulas must refer to the same cells. Otherwise, their association does not make sense.

      1. 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.

        1. For Column B formula is;
          "=IF((L10>0),"Recd","0")"

  40. 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

    1. 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.

  41. Which formula should I use when issuing rates to water consumers by using different rates?

  42. 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!!

    1. 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,""))))

    2. 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, ""))))

  43. 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.

  44. 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?

  45. 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.

      1. 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.)

  46. 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?

  47. 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

  48. 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%")

  49. 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

  50. 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

Post a comment



Thanks for your comment! Please note that all comments are pre-moderated, and off-topic ones may be deleted.
For faster help, please keep your question clear and concise. While we can't guarantee a reply to every question, we'll do our best to respond :)