IF is one of the most popular and useful functions in Excel. Generally, you use an IF statement to test a condition and to return one value if the condition is met, and another value if the condition is not met. Continue reading
by Svetlana Cheusheva, updated on
IF is one of the most popular and useful functions in Excel. Generally, you use an IF statement to test a condition and to return one value if the condition is met, and another value if the condition is not met. Continue reading
Comments page 17. Total comments: 3008
Hi,
I would like to create a formula for a spreadsheet.
If D4 = 1, then F4 = $15
If D4 = 2, then F4 = $20
If D4 = 3, then F4 = $25
If D4 = 4, then F4 = $30
If D4 = 5, then F4 = $35
If D4 = 6, then F4 = $40
etc.. all the way to D4=10, then F4=$60 ($5 increments).
Essentially, all I would like to do is enter the number '5' into D4 and the appropriate total cost will automatically appear in F4.
Thanks in advance!
Hi,
Type this into F4,
=D4*5+10
And format it as currency ($)
Using If loops make it messy. If you must use If, use the following,
=IF(D4=10,60,IF(D4=9,55,IF(D4=8,50,IF(D4=7,45,IF(D4=6,40,IF(D4=5,35,IF(D4=4,30,IF(D4=3,25,IF(D4=2,20,IF(D4=1,15,"Enter a correct value"))))))))))
Hi,
I would like to create an "if and" formula where: if the value in h183 is 4 and the value in a183 is 1, then the value in i183 is 2. It seems simple but I can not get the syntax correct. I have tried
=if(AND(H183=4,A183=1)),[I183=2]
what am I doing incorrectly.
Thank you
Hi!
You were almost there :)
Try to enter the following formula in I183:
=IF(AND(H183=4,A183=1), 2, "")
How does one combine the 4 IF Formula in one cell? I'm able to combine 2 together with no issues but when trying to combine 3 or all its fails.
1. If A1 is blank (True) then D1 is blank
=IF(ISBLANK(A2)=TRUE,””)
2. If A1 is not blank and B1 and C1is blank then D1 = A
=IF(ISBLANK(A8)=FALSE,IF(ISBLANK(B8)=TRUE,IF(ISBLANK(C8)=TRUE,"A")))
3. If A1 is not blank and B1 is not blank and C1 is Blank (True) then D14 = B
=IF(ISBLANK(A14)=FALSE,IF(ISBLANK(B14)=FALSE,IF(ISBLANK(C14)=TRUE,"B")))
4. If A1 is not blank (False) and B1 is blank (True) and C1 (False) is not blank then D19 = C
=IF(ISBLANK(A19)=FALSE,IF(ISBLANK(B19)=TRUE,IF(ISBLANK(C19)=FALSE,"C")))
Formula 1 and 2 together.
=IF(ISBLANK(A1)=TRUE,"",IF(ISBLANK(A1)=FALSE,IF(ISBLANK(B1)=TRUE,IF(ISBLANK(C1)=TRUE,"A"))))
Hi TinWin,
Try the following formula:
=IF(ISBLANK(A2), "", IF(AND(ISBLANK(B2), ISBLANK(C2)), "A", IF(ISBLANK(C2), "B", IF(ISBLANK(B2),"C"))))
Wow you rock Svetlana! That totally worked!
Hello,
I have a spread sheet with a Header in D1 (Issue date). I am trying to get result in Column F (Review) of "Not Due" if the date is less than 640 days from issue, "Due" if the date is between 641 to 720 days from issue, and finally "Over Due" if it is greater than 721 days from issue. I have been trying the IF function and can only seem to get 2 returns but not the third. Thanking you in advance.
David.
I think I've got it;
=IF(OR(D2=""),"",IF(D2>=TODAY()-641,"Not Due",IF(D2>=TODAY()-721,"Needs Review","Over Due")))
I have then applied Conditional formatting so that Not Due = Green, Needs Review = Yellow, and Over Due = Red
Seems to work Ok.
Hi Svetlana,
I am very new to excel and am trying to write an if function that if
cell D12 = OH multiple cell H38 by 8.25% if
cell D12 = MI multiple cell H38 by 8.75% otherwise zero
Thank you for your help
Hello Mary,
Here you go:
=IF(D12="OH", H38*8.25%, IF(D12="MI", H38*8.75%, 0))
Good Afternoon,
I am trying to sort out how much paid and voluntary work I do for a charity, what I need to know how many hours I have done paid.
So if it says paid in one cell I need it to add the hours to another cell. Is this doable?
Thank You
Hello Cody,
You can use a SUMIF formula similar to this:
=SUMIF(B:B, "paid", A:A )
Where column C contains hours, and column B - work descriptions like "paid".
Hi,
I'm trying to figure out a formula, where if A is blank than leave destination cell blank, if A contains a date then destination cell to show the month from that date.
I came up with the following, which pulls the months through, but doesn't leave the cell blank if A does't have a date.
=IF(ISBLANK(A),"",MONTH(A:A))
would really appreciate your help.
thanks,
Suzie
Hi Suzie,
Because the IF function works on a cell level, you should specify a cell reference in a formula. For example, enter the following formula in row 1, and then coy it down to other cells in the column:
=IF(ISBLANK(A1),"",MONTH(A1))
Thank you very much.
I have had to use this formula to create an extra column to do what I could not with a formula. Is it possible to get a total to count the two columns on one row and just add in to total rather than having to use the above formula in a column of its own. E.G the total will need to represent any time that there is date in both Column A and column B but does not need to show any data when there is data in only one of the columns. I would also like this represented by a number rather than a word.
Is that possible ?
Sean,
If my understanding is correct, you want to count the total of rows that have any value both in column A and B. If so, you can use the following COUNTIFS function:
=COUNTIFS(A:A, "<>"&"", B:B, "<>"&"")
If you are looking for something different, please clarify.
Hi Svetlana and team,
I would like to use a COUNTIF function or any other function to do this. If A5 and F5 contain values then K5 = Yes or 1 eg.
Is this possible within excel ?
Thanks
Sean
Hi Sean,
Sure, here's the formula for K5:
=IF(AND(A5<>"", F5<>""), "Yes", "")
Column A1=Mango,A2=Tomato,A3=Chicken I want in column B1 mango=fruit,B2 Tomato=vegitable and B3 Chicken=meat.How to make function.Pls help
Hello Manu!
You can use the following formula:
=IF(OR(A2="Mango",A2="Apple"),"fruit",IF(OR(A2="Tomato",A2="Potatoes"), "vegitable",IF(OR(A2="Chicken",A2="Beef"),"meat","")))
I have a list of data in a column, it might be data or empty cell. I wanted to gather that data in a single line separated with commas and & sign before the last data. Basically i am getting this data from user choice.
Thanks for helping.
I have tried using Concatenate but i am getting something like; (1 inverter, 2 battery,,,,, 2 bulb,,, and so on). I don't want these useless commas and want a "&" sign.
HI
How can i form this formula...
I want to compute the BMI of children with regards to their (Age, Gender, Weight, Height)? thanks
what function should i use?
B1=Gender C1=Age D1=Weight E1=Height F1=BMI G1=COMMENT (underweight,normal, overweight)
IF(B2=F/FEMALE, F2>14, "underweight", F224"Overweight"), IF(B2=M/MALE, F2>15, "underweight", F2<=25, "normal", F2<25, "overweight")
please how will i correct this?
thank you
A1 is 7300
B2 is 7850
in C2 row = if a1 is less than b2= 0 and if not than a1-b2
request suggest the formula on my email
Hello Deepak!
You can use the following formula:
=IF(A1<B2,0,A1-B2)
Hello,
You can use the following nested IF formula that lists all conditions:
=IF(F1>0,F1&G1,IF(E1>0,E1&G1,IF(D1>0,D1&G1,IF(C1>0,C1&G1,IF(B1>0,B1&G1,IF(A1>0,A1&G1,""))))))
Anderi,
It worked but it's showing the results in one columns. Can you tell me how to show the results in two separate columns?
Thank you!
Hello Sher Khan !
You can write a separate formula for each column.
Thank you so much for your help Andrei Bertosh! It worked!!!
Can someone please help with,If A1>=10; Efficient, If A1=5; Average, If A1=3; Poor, If A1<3 ;"" (blank).
Thank you.
Hello,
You can use the following nested IF formula that lists all conditions:
=IF(A1>=10,"Efficient",IF(A1=5,"Average",IF(A1=3, "Poor","")))
I hope this helps.
Thanks! For me work grate.
Hello, I would greatly appreciate some help. I would like to create a command which will do the following: when I insert a specific text on a cell this will equal to a specific number. For example , when I insert "TT" this will equal to 0.2. Or when I write HD this will equal to 0.1. This will then be summed up on another cell. I would like to see only the letters but not the numbers. Is that possible?
Thanks in advance for any help offered.
Hello Christos,
If you can have just either of the values, you can use the following formula:
=IF(A2="TT",0.2,0.1)
Here A2 is the cell where you enter the necessary text.
Hi. I need a formula where if C9 is YES then it gives a score of 5, If C9 is NO then its gives a score of ZERO. Help please, its sending me round the bend
Hello Ian,
You can use the following formula:
=IF(C9="YES",5,0)
=IF(B2>0,C2=0,"sliding","rotary") i want help if it b2 greater than zero, and c2 equal zero, i need it sliding, but if not i need it rotary and this formula has something wrong
Hello Ahmed,
In order to meet both conditions, you need to add AND to your formula:
=IF(AND(B2>0,C2=0),"sliding","rotary")
I hope this helps.
Hello,
I have 1 list of 4000 emails and other list of 700 emails. How can I sort or check or highlight or check if that 700 is available or not in 4000 emails ?
Many thanks.
Best,
Ravi
Hello Ravi,
If the email lists are in different sheets, you can use the Compare Two Tables wizard in the Duplicate Remover add-in for your task. You can find more details and a link to download the product on this page:
https://www.ablebits.com/excel-suite/find-remove-duplicates.php
Hi everybody, could you help me please..i have two issues
first one: if i have a time column like each cell have a time value like 12:51:00 and the other cell down in same column 12:52:00 and so on all the column... i need to make a function which let me get the sum of the time column as a value like from 12:51:00 to 12:59 and i need the result equal 9 minutes.
second issue: if have i need to make a result if B2>0 and C2=0 i need D2= the value of A2.. thanks alot
Hello Ahmed!
1. Time in Excel is a fractional part of 24-hour period, i.e. 24 hours is regarded as 1. You need to deduct the first time from the last one to find the time interval. To display this interval in minutes, you need to multiply the result by 24 and 60 as there are 24 hours in a day and 60 minutes in an hour.
=(F10-F1)*24*60
Cell format is Number.
2. You can use the following formula:
=IF(AND(B2>0,C2=0),D2,"")
suppose the quantity in "A1"cell =1000
I want to type quantity in "B1"cell with following conditions -
if quantity of "B1"is lesser than "A1",take the quantity as it is.
if quantity of "B1"is more than "A1",take the quantity as "A1".
if quantity of "B1"is same as "A1",take the quantity as it is.
Pl send me the formula for above.
Regards,
Umesh M
Hello Umesh,
If you want to use the value in cell B1 as a condition in the formula, you need to enter the formula in a different cell:
=IF(B1<A1,B1,IF(B1>A1,A1,B1))
I hope this helps.
Hi
As I understand you would recommend using nested IF Function (for example : =IF(Con1,IF(Con2, "A","B"),"B") )instead of AND with if (=IF(AND(Con1,Con2),"A","B"))?
Is that right?
Many thanks.
Hello Arash,
Thank you for your question.
The choice depends on your task. When you use nested IF, you are saying that the cell can comply with one of the conditions and return the respective result. For example, your first formula would look something like this: =IF(Con1,"A",IF(Con2, "B","C"))
Excel would read it the following way: if condition 1 is true, then we should see "A", if condition 2 is true, then we should see "B", otherwise we should show "C".
When you use AND with IF, you'd want both conditions to be met. So when you type =IF(AND(Con1,Con2),"A","B") you say that if Condition 1 and Condition 2 are true at the same time, you will see "A", if not then you will see "B".
I hope this clarifies the way it works for you.
I need a formula that looks at multiple cells in a column and decides if the date shown in each cell falls between February 21, 2016 and February 27, 2016. If it does then it adds it to a running quantity in the cell where the formula exists.
Thank you very much
Hello Ty!
You can use the following formula:
=COUNTIFS(D1:D25,">"&DATE(2016,2,21),D1:D25,"<"&DATE(2016,2,27)) Where D1:D25 are the cells with dates.
Hi, I would like to have equation for: If a2>=5; Efficient, If a2=3; Average, If a2=2; Poor, If a2<2 ;"" (blank).
Thank you.
Hi Mitesh,
You can use several conditions in the formula:
=IF(A2>=5,"Efficient",IF(A2=3,"Average",IF(A2=2, "Poor","")))
Hi, I want formula of in lst column if date is 15.03.2015 in 2nd column March-2015 if date is 16.03.2015 in 2nd column April-2015. Please help formula.
Hi, I want formula of in lst column if date is 15.03.2015 in 2nd column March-2015 if date is 16.03.2015 in 2nd column April-2015. Please help formula.
I have a spreadsheet for stock market transaction. I need to do the following check. If it is a BUY(LONG) transaction, return profit as exit cost-entry cost. If it is a SELL(SHORT) transaction, function should return profit as entry cost-exit cost. My columns are D - BUY or SELL depending on type of transaction. G- Entry cost and K - Exit cost. I made the following formula .
If(D2=BUY, K2-G2, G2-K2). It is returning a #Name? error. How to make this formula.
Thanks for the help.
Hello Aravind,
Please make sure you include the text in quotes, e.g.
=IF(D2="BUY",K2-G2, G2-K2)
Hi guys,
I have coloums of prices form different shops. I need to identify which row has the cheapest (minimum) price and have the outcome of the coloumn name (shop name). I can of course use =min to find the lowest, but how can I get the output of the shop name for each minimum?
Thanks!
Hello Anders!
You can use the formula: =INDEX(A1:A4,MATCH(MIN(B1:B4),B1:B4,0))
Where A1:A4 are the shop names, and B1:B4 are the cells that contain prices.
Hi,
How to fix selected sentences in at one location in excel ??
Example,
I have 2 different location name one of INDIA & second is USA. How can I make formula for no one can type any other location name accept only INDIA & USA.
Thanks.
Laxman Purohit
Hello Laxman,
You can use Data Validation in Excel. First you need to create a reference list with your location names, you can do it on any other sheet. Then select the cell where you want to get just one of these values, go to Data tab in Excel and select Data Validation. Choose to allow "List" and refer to your location names in the "Source" field. You can unselect "Ignore blank" if the cell has to have a value, and enter error alert on the respective tab.
Thank you so much Irina... !!!
You are very welcome :)
I have a list of user log ins on PCs. The same PC could be used by any number of users. So, just making a list of PCs that need to be updated and having 14000 lines of PCs, is there a way to parse the list to just include a PC name just once.
Ex:
A2=PC1 To Show PC1
A3=PC1 PC2
A4=PC1 PC3
A5=PC2
A6=PC3
A7=PC3
Hello Cal,
If you need to keep the original list, you can run our Duplicate Remover add-in, choose to look for uniques and copy them to a new worksheet.
Otherwise you can choose to remove duplicates from your original list to get a list of unique PC names.
Thanks Irina! I wasn't aware of that function.
I have Got the formula Thanks.
=IF(F7>=I7,"Ok",IF(AND(F7>=""),"","Not Ok"))
Hello Faheem Ahmad,
If you are trying to show "Ok" when cell F7 contains a value over 17, and to show "Not Ok" when it is 17 or less, then you can use the following formula:
=IF(F7>17,"Ok","Not ok")
If your task is different, please describe it in more detail.
Hello,
I'm trying to use an if function to pull data from one worksheet to another based on the text in a column.
Example: Sheet 1 has roughly 500 rows of data, and I want to pull only the rows that where "SS" is included (not exactly) in column C. I've failed so many different ways, not ever sure which formula example to share:/ Any help would be appreciated.
I appreciate the response and i took you up on your offer. I just sent you a copy of the spreadsheet and a bit more details. Thanks for your follow up.
Dear try Pivot Table, might be it helps.
Hi Svetlana
i have a formula below but i want to add one more thing if c2 is blank then answer should blank.
=IF(b2>=c2, "Ok", "Not Ok")
Thanks
Hello Faheem Ahmad,
Just like in the example above, you can use nested IF functions:
=IF(C2="","",IF(B2>=C2,"Ok","Not Ok"))
Thanks Dear <3
Hello!
I am a novice with excel trying to create a nested 'if' formula to calculate a bonus.
It needs to calculate '50-59' as '1', '60-69' as '2' etc.
This is what I have tried...
=IF(D47>=50=60=70495969<79,3,0)))
Neither is working for me and I have no idea what I'm doing?
Please can someone help as I am trying to create a salary sheet for a small business.
Hi Craig,
For this task, you'd better use nested If functions beginning with the highest group (70-79 in this example):
=IF(D47>=70, 3, IF(D47>=60, 2, IF(D47>=50, 1, "")))
Hey Craig,
You can try following formula and can modify as per your need.
=IF(AND(A1>=60,A1<70),2,IF(AND(A1=50),1,""))
I assumed you have data in cell A1.
Let me know if this works for you. :)
Anil Dhawan
Thanks for replying. I will put my question better this time.
I want to make a formula to say if D2 less than 1501 then "1"but if D2 is more than 1501 but less than 3001 then "2" and if D2 is greater than 3001 then "3". I just can't seem to use IF correctly to make this work.
Hello Philip,
You can use the following formula for your task:
=IF(D2>3001,3,IF(D2>1501,2, 1))
Just make sure you start with the highest number. If it's more than 3001, the formula will return 3, if it's more than 1501, it will return 2, otherwise, i.e. if it is less than 1501, it will return 1.
hi,
=IF(D2=1501,D23001,"3","")))
I require a code for
IF E4 = Closed then E4 fill colour will be Green if not it will be Red
Wonder if you can help? also need it for whole column eg E4-E20?? same formula just whole column
Hello Matty,
You will need to add two conditional formatting rules: click on "Conditional formatting" icon on the Home tab, choose to "Use a formula to determine which cells to format" and enter =$E2="Closed", set the necessary fill color and click Ok. Then create a similar rule for Red color depending on the value you have in other cells.
You can find a detailed description of conditional formatting in this blog post:
https://www.ablebits.com/office-addins-blog/excel-conditional-formatting-formulas/
Are there any rules while using the word "TRUE" and "FALSE" in IF formula
For example,
=IF(A2="TRUE","A","B") - Even A2 is true, this formula is not working. It gives always "B". Why? Then I just remove brackets and just put the formula like =IF(A2=TRUE,"A","B"), it is working. Any concerns?
Hi Magil,
The "TRUE" in brackets is a string, not boolean value.
The formula =IF(A2="TRUE","A","B") will return "A" if you have the "TRUE" as string in cell A2. Please try to type "TRUE" in cell A2 and change the cell format to Text.
if(V11>3 & V11<5)then (ok), if not (not ok)
any one can help :\
=IF(AND(V11>3, V11<5),"OK","NOT OK")
Why does this change what I write?
Hi,
use this formula
=if(D2=3001,"3",""))
=IF(AND(D2>1501,D2<3001=3001,3,""))
Formula didn't copy right - here you go.
=IF(AND(N2>1501,N2=3001,3,""))
Our blog engine often distorts "<" and ">" symbols in formulas, sorry for this, but we just cannot fix it on our side.
If my understanding of the task is correct, I'd suggest using nested If's:
=IF(D2>3001, 3, IF(D2>1501, 2, ""))
If D2 is greater than 1501 but less than 3001 it returns 2, if D2 is greater than 3001 it returns 3, an empty string otherwise.
In G8, enter an IF formula to calculate the share price difference between 2/25/2016 and 2/26/2016 for each of the 30 companies if that company’s share price was not zero on 2/26/2016. In case of a zero price, the formula returns “N/A”. Autofill the cells below to G37 with the formula in G8.Im not sure how to write this formula.
I'd need a bit more info to actually write up a formula, but sounds like you'll want to do a VLOOKUP
Hello!
In a situation #N/A may use the formula IFNA.
eg: =IFNA(VLOOKUP("Seattle",$A$5:$B$10,0),"Not found")
(IFNA tests the result of the VLOOKUP function. Because Seattle is not found in the lookup range, VLOOKUP returns the #N/A error value. IFNA returns the string "Not found" in the cell instead of the standard #N/A error value.)
Hi,
I was wondering if you could help me with a formula that would label all orders between 8:00 and 17:00 "Day" and all orders outside this timeframe "Night".
I had =IF(H2>=8,H2<=17,"Day","Night" but it doesn't work.
Thanks
Hi Clara,
use this formula
=if(and(H2>=8,H2<=17),"Day","Night")
My if statement does not work on text data, only numeric. I have changed the format to read General or Text for the two columns that I'm trying to compare and it is as if it does not know it is text?
Hello Vickie,
Please make sure you enter text in quotes. If it still doesn't work, please share the formula you are trying to use.
I want to enter an if function that says if something in cell A3 matches sheet 2 cells B2:B18 than insert what is in cell F2:f18.
Hello David,
You need to use the VLOOKUP function, please see this blog post for its detailed description:
https://www.ablebits.com/office-addins-blog/excel-vlookup-tutorial/
Hi,
need help to formula the following:
If A1 is ">40", A2 Value should be "1"
If A1 is "31-40", A2 Value should be "2"
If A1 is "30", A2 Value should be "3"
If A1 is "20", A2 Value should be "4"
If A1 is "<15", A2 Value should be "5"
I can only get the 1st and the 2nd correct.
results of 3rd-5th is the same as the 2nd which is "2"
--------------
I have another one which is perfect:
=IF(Q13<6,1,IF(Q13<=6.4,2,IF(Q13=6.5,3,IF(Q137,5)))))
but couldn't apply that same formula to the first problem.
hope anyone can help me.
Thanks!
Hi Ali.
You can use this formula:
=IF(A1<15,5,IF(A1=20,4,IF(A1=30,3,IF(AND(A1>=31,A1<=40),2,IF(A1>40,1,"")))))
I am having difficulty with a formula used to calculate whether a pupil has passed a unit in their course.
This is the formula, but when I enter P in either of the first 2 columns then I get #NAME. Any help would be much appreciated.
=IF(OR(BB7="p",BC7="p"),IF(or(BK7="p"BF7="p",IF(or(BL7="p",BG7="p",IF(or(BM7="p",BH="p")"P",""),""),""),"")
Hi Janine,
u try this
=IF(OR(BB7="p",BC7="p"),"p",IF(or(BK7="p"BF7="p"),"p",IF(or(BL7="p",BG7="p"),"p",IF(or(BM7="p",BH="p"),"P",""))))
Hi, this was very informative! Thank you so much!
I'm wondering if you can take your idea one step further. I currently have =IF(F2>I2, "2", "0"), so if F2 is greater than I2, my cell shows a 2, and if it is smaller than, it shows a 0... but how do I include if F2=I2, the cell will show 1? (In essence, I'm trying to calculate scores for baseball, where a win = 2 points, a loss = 0 points and a tie = 1 point. Thanks in advance!
Cheers,
Shannon
Thanks to your question I've managed to solve mine. Many thanks x
Hi Shannon,
=if(F2>I2,"2",if(F2<I2,"0",if(F2=I2,"1","")))
Thank you, Hemanth! This is just the question that I had as well. Very helpful.
Hi,
am using =LEN(N4)-LEN(SUBSTITUTE(N4,",","")) to determine the number of text values separated by commas. I need to count the number of text values in the cell which are separated by a comma. e.g.
cell b3 alpha,bravo, charlie
cell b3 contains 3 text values, but only 2 commas
How do we count the number of text values in a cell, or the number of commas + 1 ?
in pseudo:
if cell contains one comma,
then comma count is one, but the text value is two,
(if text values are separated by a comma, then this means that
there is two text values)
if there two commas found,
then there must be 3 text values, etc.
thanks!
Hello Steve,
Assuming there is always one text value more than there are commas, you can simply add 1 to your original formula:
=LEN(N2)-LEN(SUBSTITUTE(N2,",",""))+1
Hello,
I have a spreadsheet that I need to remove duplicates but I have multiple rows have the same "Students Name" but the variances are on 2 columns Yes for Pell and Yes for DL. If the student received Pell and DL it shows in 2 rows I need to have it in 1 row. Also some of the students only received Pell but not the DL. I know I did this If formula last year but I just can't remember exactly please help.
StudentName DL Pell FundSource
Aguirre, Leticia Y N DIRUNSUB
Aguirre, Leticia N Y PELL
Aguirre, Leticia Y N DIRSUB
Hello Sylwia,
It sounds like you need the Combine Rows Wizard add-in. If it doesn't fulfill your task, could you please show the expected result?
I need help to construct one formula
i.e.
if the value in A1 is greater than 10 than result will be 1 and if the value is less than 5 result will be .5
Hi,
=if(A1>=10,"1",if(A1<=5,"5",""))
I had a formula in E12 as =Sum(E8:E11) simple right, but now I have to edit that so that the cells remain blank if no value has been entered for "Cash" in Cell 8. I have tried so many different combinations with IF and I am not getting this at all any suggestions?
Hi Kathey!
You can use this formula:
=IF(NOT(ISBLANK(E8)),SUM(E8:E11),"")
IF I TYPE W IN COLUMN A1 COLUMN B1 SHOULD DISPLAY 5
PLEASE GIVE A FORMULA
ND
HI,
=if(A1="w","5","")