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 12. Total comments: 656
Trying to do a formula. If O10+L11+M11 is greater than 40 this cell equals 40. If O10+L11+M11 is less than 40 us that sum.
A simple method to accomplish what you want is to sum O10+L11+M11 in say cell N11 by entering in N11 =SUM(O10+L11+M11). Then in say cell P11 enter =IF(N11>=40,40,N11). This means that if N11 is equal to or greater than 40 display 40 otherwise display the number in N11.
Hi say i have cells
a - with different dollar amounts
b - with either L2, L3, L4
c - with Either anything from the Lists Below
c.1 These can be clustered to rename the table as "LPF"
Late Payment Fee
LPF's info
Late Payment Waiver Fee
c.2 These can be clustered to rename the table as "NLPF"
Customer Satisfaction
CSAT Credit
Nest Waiver Fee
The Logic are :
1. If there's no amount in cell "A" then it's "not applicable"
2.a If cell "B" contains L4
there are 2 conditions/logic
a. If cell "B" contains "L4", cell "A" contains <-25 and cell "C"
says that it's part of the "NLPF" list, then it shows "EXCEEDED"
if not then it shows "NOT EXCEEDED"
b. If cell "B" contains "L4", cell "A" contains <-50 and cell "C"
says that it's part of the "LPF" list, then it shows "EXCEEDED"
If not then it shows "NOT EXCEEDED"
2.b If cell "B" contains L3, cell "A" contains <-100, then it shows
"EXCEEDED", if not then it shows "NOT EXCEEDED"
2.c If cell "B" contains L2, cell "A" contains <-300, then it shows
"EXCEEDED", if not then it shows "NOT EXCEEDED"
I already have the formula if cell "B" just have one condition/logic if it contains "L4" the thing is that it should contain 2 conditions plus it should consider the one written in cell "C". I'm finding it difficult to incorporate in my formula. Knowing that i also clustered the data in cell "C" into 2 groups.
Can you help me regarding this?
=IF(A1>=0,"Not Applicable",(IF(B1="Not Applicable","Not Applicable",(IF(AND(B1="L4",A1<-25),"Exceeded",(IF(AND(B1="L3",A1<-100),"Exceeded",(IF(AND(B1="L2",A1<-300),"Exceeded",(IF(AND(B1="L1",A1<-300),"Exceeded","Note Exceeded")))))))))))
This is my original formula
Hi Team,
Greetings
can you please suggest me how to calculate second largest number among three numbers in 3 cells with only nested if
HI Hopefully you can help me with this formula I am trying to create a new sales order form and need to for example have a list of products in one cell and according to what item is selected then the appropriate cost will come up in another cell eg: list in h22 = valley then j22=$5 if h22=hip
hip j22=$10 if h22=gable
gable etc.
if need to be able to enter apx 25-30 values in the first cell (h in this example) and 15-20 in the second cell (j in this example)some of the items on the list in h will have the same value in J
in the past my sales orders have had a page to 2 pages of rows for selecting various items and the # of items and a price and total cost for that row then all the row totals are added and taxed at the end this is fine except no one can tell what they've bought because it prints the entire sheet with all rows whether anything was selected on a row or not. if there is a way to have it consolidate and print only the pertinent rows where something was selected that would be great also hope this makes a little sense any questions please ask. hoping you can help Mark
Greeting,
I am calculating staff mileage claim every month.
I want to split the mileage by stage below.
Perhaps you could help me how to calculate them if :-
Total mileage claimable is 667.55km
1st km to 100km @ $0.50/km = 100km
101km to 300km @ $0.45/km = 300km
301km & above @ $0.40/km = 267.55km
Thank you in advance
I have multiple conditions like if(and(B1<1,B2<6), "Not Eligible" elseif B2<7 then "A",b2<8 "B", b2<10 "C", if(and (B1<2,B2<7),"D",if(b2<8,"E",if(b2<10,"F", if(and(B1<3,B2<7),"G",if(b2<8,"H","I"))))).
How can i make if statement where i need to check multiple conditions.
Greeting,
I'm in kind request of your assistance,
I am working with stock which i normally issue out weekly.
i have different columns, opening balance, quantity received, quantity issued, closing balance among others. you realise i have a formula in the 'closing balance' column that automatically calculates; (=opening+received-closing). i have another column 'number of days out of stock'. this column includes the number of days for which the item had stocked out. example: if the i opened with 30 items on 1st march, i received 20 on 10th, issue out all the 50 on 21st then days out of stock is 31-21=10 if more is received on 25th then days out of stock will become 25-21=4.
i want a formula that will automatically read when the 'current stock' column becomes zero and then subtracts to return the days out of stock.
(i dont mind if the formula i am looking for assumes all months have 30 days)
thank you in advance
This is probably impossible, but I have 2 possible cost bases which generate rates of return. I need a conditional statement that says, if cost base is 1, then return is x%. If I set cost base to 2, the number in the cost base 1 result cell remains at x% - ie, I do not want it to report "FALSE"
A B
1 Cost base = 1, result = 15%
2 Cost base = 2, result = 20% but cell B1 remains at 15%
At the moment I have to copy and paste the results as values, but hope to shortcut this.
Hi there,
I'm trying to check multiple keywords and return if they feature A, B, C.
=IF(ISNUMBER(SEARCH("sale",A:A)),"Buyers","false")
I can't seem to extend this formula to nest multiple IFs. Any idea what I'm doing wrong, this is my attempt to extend the formula:
=IF(ISNUMBER(SEARCH("sale",A:A)),"Buyers","false",IF(ISNUMBER(SEARCH("rent",A:A)),"Renters,""))
thanks!
if I would like to return an amount, that must meet 2 requirements/conditions form 2 other cell, how do I do that.
Hi Rams,
Depending on whether both or either of the conditions should be met, use the IF function with an embedded AND or OR statement. You can find a few formula examples here:
IF statement with multiple AND/OR conditions
ABCD 563 443 CLOSED
563 443 #VALUE!
ABCD 563 443 CLOSED
ABCD 563 443 CLOSED
ABCD 563 443 CLOSED
OPEN will not show
OPEN will not show
If column A1>1,"open","" will show in G1"open" or blank
but IF(AND(B1>1,C1>1,"closed","", will show in G1 "closed" or blank
I am trying to build a formula to tell me if an employee has exceeded their earned vacation balance cap. The maximum caps differ depending on their years of service. Employees with 0 to 5 years (or less than 10400 seniority hours) have a cap of 120 hours; employees with 6 to 10 years (more than 10400 but less than 20800 seniority hours) have a cap of 180, and employees with 11+ years (more than or equal to 20800 seniority hours) have a cap of 240. Can anyone help me build a formula to check the balance cap based on years of service or seniority hours? I was able to create an IF formula to determine the amount of vacation time earned each pay period based on seniority, but the formula for the cap is stumping me.
Condition
1) If employee Basic salary is less than 40% of his total salary than his basic salary should become 40%
2) If Employee salary is more than 40% , his basic salary should neither increase or decrease but should not go below 40% of his total salary any given point of time
Hi!
I'm trying to create a macro that will look at 2 cells validate if they agree if so, deliver the variance of the cells next to it to a specific cell, if it does not agree deliver the value of 0 in the these cells. then continue on to the cell below and do the same thing. I have a group of cell that have values and some days there are 7 and other days there may be just 4 but i need to ensure i am validating all everything. It has been sometime since I've done anything in VB.when i run it i get a compile error of Else without If. Hope this all makes sense. Below was what is used as my code. thank you!
If B6 = B20 Then I6 = C6 - C20 & J6 = D6 - D20
ElseIf B6 B20 Then I6 = "0" & J6 = "0"
If B7 = B21 Then I7 = C7 - C21 & J7 = D7 - D21
ElseIf B7 B21 Then I7 = "0" & J7 = "0"
If B8 = B22 Then I8 = C8 - C22 & J8 = D8 - D22
ElseIf B8 B22 Then I8 = "0" & J8 = "0"
If B9 = B23 Then I9 = C9 - C23 & J9 = D9 - D23
ElseIf B9 B23 Then I9 = "0" & J9 = "0"
If B10 = B24 Then I10 = C10 - C24 & J10 = D10 - D24
ElseIf B10 B24 Then I10 = "0" & J10 = "0"
If B11 = B25 Then I11 = C11 - C25 & J11 = D11 - D25
ElseIf B11 B25 Then I11 = "0" & J11 = "0"
If B12 = B26 Then I12 = C12 - C26 & J12 = D12 - D26
ElseIf B12 B26 Then I12 = "0" & J12 = "0"
If B13 = B27 Then I13 = C13 - C27 & J13 = D13 - D27
ElseIf B13 B27 Then I13 = "0" & J13 = "0"
End If
Hey There,
I am trying a formula that,
one cell is having the same details of other selected cell by putting "=" but in the same cell how I include the formula if the selected cell is blank and in that case I can put "NA". Example,
In cell A1 is having a drop down list of material
In cell B1 I can put B1=A1, that means what ever the name of material will appear in Cell B1. Now If there is no value in cell A1 then how I include the "NA" in formula of cell B1. So that if there is material name than that will appear on cell B1 but if there is nothing then the Cell B1 will appeared as "NA".
If you can help me it will be very helpful for me.
I am trying to calculate the following, the formula is in cell E3. Drop downs in cell G3 containing Premier and Elite with associated values of 1.5 for Premier and 1 for Elite. These selected values of 1.5 or 1 are loaded into cell E3 after being selected.
=IF(G3="Premier",1.5,IF(G3="Elite",1,IF(ISTEXT(I3),E3*0.5))
Everything works fine except for the Istext function. If any text is found in I3 then I want to apply a division formula to reduce the resulting value in the E3 cell by 50%. The values of E3 should then be .75 for Premier and/or .5 for Elite if text is found in I3. What may I be doing wrong?
Sir I have 3 if condition statements I want join them and want to make single condition kindly help me on this
Try this instead
=IF((OR((ISNUMBER(SEARCH("SERETIDE",AA2))),(ISNUMBER(SEARCH("SYMBICORT",AA2))),"YES","NO"))
I'm struggling to combine IF function with an OR while incorporating text values with partial match.
This is what I've gotten so far, but I'm not sure why it doesn't work.
=IF((OR((ISNUMBER(SEARCH("SERETIDE",AA2))),(ISNUMBER(SEARCH("SYMBICORT",AA2)))),"YES","NO"))
Thank you for the help.
Try this instead
=IF((OR((ISNUMBER(SEARCH("SERETIDE",AA2))),(ISNUMBER(SEARCH("SYMBICORT",AA2))),"YES","NO"))
95% to 100% Silver
100% to 102% Gold
102% to 105% Diamond
> 105% Platinum
in slab calculation range for (95% to 100 % )
how is work
Hello,
Please try the following formula:
=IF(A1>105,"Platinum",IF(A1>102,"Diamond",IF(A1>100,"Gold",IF(A1>95,"Silver",""))))
Hope this will work for you.
95% to 100% Silver
100% to 102% Gold
102% to 105% Diamond
> 105% Platinum
in slab calculation is value from to (95 % to 100%)
how is do
Has anyone attempted the MOS Excel Expert Part 2 if so can anyone help me with the question that ask to divide column D by Column E. Then use a Nested If and Roundup Function to roundup to the nearest integer.
Hi, wondering if anyone could help me.
I need one cell to equal LL. If the value in another column is equal to 3.90, 4.90, 5.45, 5.95 or 11.40 I need the column next to this value to equal LL. I can do it with one value but not with all the values?
Thanks,
I am trying to create a formula that will first multiply a weight times a dollar amount then add a value from one of 4 columns where a choice needs to be made and an additional column that will be added regardless. These 'choice' columns are not cumulative they are exclusionary. If one has a value then non of the others will be added to the weight times dollar amount and the additional column.
In a sentence it looks something like this:
(weight*.65)+L13 if P13=FALSE)+(M13 if L13=0 and if P13=FALSE)+(N13 if L13=0 and if M13=0 and if P13=FALSE)+O13 (This is the column that is always added) if P13=80 (weight*.65)+O13+P13
Thank you!
I have this formula =VALUE(IF(B4="high risk", "5", IF(B4="restricted industry", "5", IF(B4="medium risk", "3", IF(B4="low risk", "1"))))) imbedded so it will assign the numerical value once a selection is made from the drop down list next to this field. However, I have new data (a lot of options in the drop down now) and need the above formula to look for a partial match instead of an identical match. For example, instead of high/med/low wording, I know have a list of countries that have attached ratings like "Estonia-Low". And I need that formula to assign the numerical risk rating (5/3/1) based on a partial match for the Low/Medium/High that will be attached to the country name. Thank you so much for your help. I've been reading blog posts all night and can't figure it out.
=IF(((HLOOKUP(Y$1,Patterns!$AS$2:$AW$42,Patterns!$AP33,0))*((Forecasts!$AI$1*Y266)+Forecasts!$AJ$1))<1,1,((HLOOKUP(Y$1,Patterns!$AS$2:$AW$42,Patterns!$AP33,0))*((Forecasts!$AI$1*Y266)+Forecasts!$AJ$1)))
Can someone help me with this formula? What is it trying to achieve?
Hi, can you have more than one condition to get a same result? I have a range of prices, and essentially if the price is above a certain value, a 0 score, is given. However, I want to also give a 0 score if there is no price, or the price is blank.... =IF(K218.75,"0")))))))))))))
I want to add that if K2 is a 0 price, or if K2 is blank, my formula must also revert with a 0 value. Thanks for any help
Hello,
If I understand your task correctly, please try the following formula:
=IF(OR(K2>18.75,K2=0,ISBLANK(K2)),"0")
Hope this will help.
Hello,
I have a column of names and another column with a value. I am trying to build out a formula that will capture the the value in the row depending on the name. Something like "IF"Tricia,sumF15".
I am trying to find a way to indicate if there is >10 consecutive duplicate values in a column and if so have a cell marked as yes but if no then have the column show a no. An example can be seen below of what I want it to look like.
A1 B1
Y N
N N
Y Y
Y Y
Y Y
Y Y
Y Y
Y Y
Y Y
Y Y
Y Y
Y Y
Y Y
Y Y
Y Y
N N
N N
N N
N N
N N
N N
Y N
Y N
Is there a way to get an equation that looks at consecutive duplicate values and flags them if there is higher that a set value?
Hello,
If I understand your task correctly, please try to enter the following formula in cell B1:
=IFERROR(IF(COUNTIF($A1:$A11,$A1)=11,"Y",IF(AND(OFFSET($B1,-1,0)="Y",OFFSET($A1,-1,0)=$A1),"Y","N")),"N")
Just select the cell where you've entered the formula and drag the fill handle (a small square at the lower right-hand corner of the selected cell) down.
Hope this will help.
I really need a summary for 4 conditions but have a problem like this
if A4C4 or equal D4 then D4
if A4>D4 or equal E4 then E4
if A4>F4 then F4
Help me pls.
I really need a summary for 4 conditions but have a problem like this
if A4C4 or equal D4 then D4
if A4>D4 or equal E4 then E4
if A4>F4 then F4
Help me pls.
01 - if A4C4 or equal D4 then D4
03 - if A4>D4 or equal E4 then E4
04 - if A4>F4 then F4
Hello,
If I understand your task correctly, please try the following formula:
=IF(OR(A4>C4,A4=D4),D4,IF(OR(A4>D4,A4=E4),E4,IF(A4>F4,F4,"")))
Hope this will help.
Hello,
I have a report of incoming phone calls. I have the following columns: Start time (time stamp of when the call was received), Call duration (length of the call), and I have calculated a third column of time between calls, but not sure if that is necessary. We have 2 phone reps available to take calls. I am wanting to find out based on the time stamp of the incoming calls, and the duration of the calls if the 2 phone reps can handle the call volume. Im thinking this would be an IF THEN calculation, but i cant figure it out. Are you able to help?
Good Morning,
Mis,Svetlana Cheusheva!
Thank you very much for your kind excel work,i appreciate with your every tutorial and helpful for taking a the example thank you very much once again if i need any help i will take your approach.
I have a vehicle report that has the starting mileage at the top of the page in D6, then I have a column for each day of the month, another column with ending daily mileage and the last column is total daily mileage. My supervisor wants to be able to put the ending mileage and it figure how many miles were driven that day. My problem is that some days the vehicle doesn't move so a zero needs to go in the column. My formula for day 1 is =IF(OR(B10=0), "0", (B10-D6)) so now what do I do for day 2-31 if it could be 0 everyday or could be mileage to get it to go back up to the last place mileage was entered to get that days total?
Hello,
For me to understand the problem better, please send me a small sample workbook with your source data and the result you expect to get to support@ablebits.com. Please don't worry if you have confidential information there, we never disclose the data we get from our customers and delete it as soon as the problem is resolved.
Please also don't forget to include the link to this comment into your email.
I'll look into your task and try to help.
Hi there...
i need some help if u can pls..
i run a car renter service and i want to find which of my car earn how much in a single day
i got some sheets in a single file these sheets got my daily sales
i need to make a sheet which sums all the amount from all the sheets which contain same car num
the sheets are made by driver that this driver drove this car on this date
hope am able to convey u my issue
Raza here again sorry i forgot to give an example for this:
lets say Sheet 1 got data of driver 1 and sheet 2 got data of driver 2
lets say driver 1 drove car A on 1st dec and drove car B on 2nd dec
and driver 2 drove car B on 1st dec and car A on 2nd dec
i want a sheet which just calculate that how much earning was done on that car on that day wether it b driven by more than 2 drivers
Hello,
For me to understand the problem better, please send me a small sample workbook with your source data and the result you expect to get to support@ablebits.com. Please don't worry if you have confidential information there, we never disclose the data we get from our customers and delete it as soon as the problem is resolved.
Please also don't forget to include the link to this comment into your email.
I'll look into your task and try to help.
HELP ABOUT THIS CONDITION
I WANT SOLVE THIS CONDITION WITH IF IN ONE CELL
CONDITION
1.10000---TO---24999----20%
2.25000-----------------20%
3.25001---TO---49999----25%
4.50000------------------0
5.50001---TO---99999----30%
6.100000----------------0
7.100001 TO ABOVE-------30%
PLEASE REPLY MY ?
Hello,
If I understand your task correctly, please try the following formula:
=IFS(A1>100000,"30%",A1=100000,"0",A1>50000,"30%",A1=50000,"0",A1>25000,"25%",A1=25000,"20%",A1>=10000,"20%",A1<10000,"")
Hope this will help you!
I have a question. I have three separate columns with numbers in each cell. I a fourth column I want to place the lowest number that exist in the prior three columns in the cell. How do I go about doing this? Or is it possible?
A B C Lowest
100 150 200 100
150 50 100 50
formula is
=min(A1:D1)
example
A B C D
50 100 150 200 =MIN(50:200)
FORMULA =MIN(A1:D1)
ANSWER 50
HELP ABOUT THIS CONDITION
I WANT SOLVE THIS CONDITION WITH IF IN ONE CELL
CONDITION
1.10000---TO---24999----20%
2.25000-----------------20%
3.25001---TO---49999----25%
4.50000------------------0
5.50001---TO---99999----30%
6.100000----------------0
7.100001 TO ABOVE-------30%
i have two tables. in first table i have to check Regid and second table Same RegID and date . After checking both conditions, i have to get the matching data.
Ex: I was given a car for rent to different customers in different dates.
i have customer details in one table and which customer taken vehicle on which date i mentioned in another table.
Now when i enter customer ID and date i have to get all the details of the customer and that vehicle. can anyone help to write formula for this
It will be a sql statement to join two tables based on RegID.
Select *
from table1
inner join table2 on table1.RegID=table2.RegID
Hi
I think my nested IF case is different and maybe weird ;)
I have a Pivot table filter including 3 options, means I can select 1 or All or only two product categories to produce revenue report outside of the Pivot table it self. I am using SUMIFS to extract the data from Excel table, and filter using the same Pivot filter.
All working fine until I select 2 product categories (Not All and Not One), I eliminate the problem when selecting (ALL), but could not do the same when I select 2 product categories, the result was all zero values. here is my function:
=SUMIFS(SalesData[revenue];SalesData[year];I$4;SalesData[region];$H5;SalesData[Category];IF($I$2="(All)";"*";$I$2))
the previuos one working fine when filtering for One or clearing the filter, means (All), but not when filtering for two categories ...
my attempt was nested IF:
IF($I$2="(All)";"*";IF($I$2="(Multiple Items)";$I$2)
but it dose not work, any help...
I am working on an assignment and I have been stumped for hours. I don't know what I am doing wrong, and hopefully someone can assist me. Here it is...
9. Many of the special staff teams require leadership training, which is offered to staff with more than 1 year of service at Camp Bright Firewood. Dean wants to identify the staff members eligible for leadership training in the table.
In cell M2, enter a formula using a nested IF function and structured references to determine first if a staff member already has completed leadership training, and if not, whether that staff member is eligible for leadership training.
a. If the value of
b. the Leadership Training column is equal to the text “Yes”, the formula should return the text Completed. Remember to use a structured reference to the Leadership Training column.
c. If the value of the Leadership Training column is not equal to yes, the formula should determine if the value in the Service Years column is greater than 1.
d. The formula should return the text Yes if the staff member’s Service Years value is greater than 1.
e. The formula should return the text No if the staff member’s Service Years value is not greater than 1.
HERE IS WHAT I KEEP TRYING TO PUT...
=if([Leadership Training]="YES","Completed", If([Leadership Training]="no"[Service Years]>1, "Yes","no"))
I just am not getting it. I've done this problem many different ways and not geting the right response.
Thanks in advance!!
=IF(AND([Leadership Training]="Yes", [Service Years]>1), "Completed", IF([Service Years]>1,"Yes","No"))
Hi I'm Mijanur Rahman,
I want to help !!
Actually I, get a G.P.A with four subject mark.
Formula1: Suppose (Sub1+sub2+sub3)/3 it's Main subject GPA (3.93)
Formula2: IF Sub4 point is sub4>4.00 then add 0.50 with main subject GPA.
How to write two formula in one line....???
Plz Help
=if (sub4 > 4.00, (sub1+sub2+sub3)/3 + 0.50, (sub1+sub2+sub3)/3)
What if I have multiple overtime pay rates. For example, I want to calculate the total pay for 64 hours worked with these conditions:
-30 hours or less= $9.50 per hour
-More than 30 and less than 51=$12.50 per hour
-51 or more and less than 61=$15.50 per hour
-61 or more=$18 per hour
So for hour 1-30, I get paid 285. For hours 31-50, I get paid 237.50, etc. until I'm up to hour 64. I should have a total of 734 but I'm not sure how I would write the formula
If (cell <31,cell*9.85,if (cell<51,285 + ((cell - 30)×12.50), 525.50+((cell - 50)×15.50))).
I have a question
trying to create a nested a nested formula with 3 arguments
if A>720, B>16, C"IV" display RUX
please help
Hi Mohamed,
If you want to display "RUX" when all 3 cells contain the values you specified, then use IF in combination with the AND function, like this:
=IF(AND(A1>720, B1>16, C1="IV"), "RUX", "")
How would you explain to someone who is unfamiliar with Excel how to read a nested statement that contains 3 different conditions??
Hi!
I will try to explain the logic on an example of the first formula in this tutorial:
=IF(B2>249, "Excellent", IF(B2>=200, "Good", IF(B2>150, "Satisfactory", "Poor")))
Translated into plain English, the formula does the following:
1st IF: Evaluates the 1st condition (if B2 is greater than 249). If the condition is met (if B2>249), returns "Excellent", otherwise proceeds to the 2nd condition.
2nd IF: Checks if B2 is greater than or equal to 200. If it is, returns "Good", otherwise proceeds to the 3rd condition.
3rd IF: Checks if B2 is greater than 150. If it is, returns "Satisfactory", otherwise returns "Poor".
In other words, the formula reads as follows:
If B2>249, return "Excellent", otherwise check if B2>=200
If B2>=200, return "Good", otherwise check if B2>150
IF B2>150, return ""Satisfactory", otherwise return "Poor"
Thanks. This has been pretty useful. I'm trying to create a formula for a document thats over 7000 cells long. Would this negatively affect the formulae? I keep getting an Value? error.
Carolyn:
I hope on your end what I am saying comes up correctly because on my computer once I hit send, some of what I've written is cut off.
Hi,
Articles are quite good and knowledgeable.
Can yo help me with logical functions
I have some specific data for input diameter, input thickness output diameter and output thickness. based on these values I have to select the speed and feed for machine, which function I have to use, so that formula can check for given input and out put parameters what speed and feed to be selected?
I have a spreadsheet that I need help with. I have two columns, one is Regular and one is Overtime. I need the Overtime column to calculate for anything over 40 in the regular, but I need the regular column to change to 40.
example....
Employee has a total of 47 regular hours in column H, I need for column I which is the Overtime column to show the sum of H-40=I, but then for column H to show 40.
Is this possible and if so how.
basically in my mind it's If H is >40 then I would be equal to anything >40 and H = 40
Am I crazy or can this be done?
Carolyn Brown:
IF(sum(B2:G2)<=40,sum(B2:G2),40) 40,sum(B2:G2)-40," ") <---Overtime Hours Column (should be greater than 40)
Carolyn Brown:
Do you manually put the hours in the regular and overtime columns or are there cell references for each column for each employee that populate automatically in those cells in the given work period?
I don't remember anything before Excel 2013 so this maybe not work if you use a version older than that. I will also answer this assuming that hours populate automatically with cell references for each employee and cells B through G have the total hours worked each day from Monday to Saturday.
For the regular hour column you can setup an IF statement.
=IF(sum(B2:G2)40,sum(B2:G2)-40," ")
You can also setup a data validation in the regular hours column. You can set it where only numerical values can be entered in that column and the value cannot be greater than 40.
100,000.00 500,000.00 10% 225 one lac to 5-lac than 10% and plus 225
500,000.00 1,000,000.00 15% 1225 5-lac to 10-lac than 15% and plus 1125
1,000,000.00 2,000,000.00 18% 2225
2,000,000.00 3,000,000.00 20% 3225
Sr No Name of Annual income
1 waseem 3,500,000.00 350,225.00
2 waqas 4,000,000.00 400,225.00
3 waqar 500,000.00 50,225.00
4 aslam 1,000,000.00 100,225.00
5 abid 1,500,000.00 150,225.00
6 abdullah 2,000,000.00 200,225.00
7 rehman 2,500,000.00 250,225.00
8 zar 3,000,000.00 300,225.00
9 tahir 5,000,000.00 500,225.00
10 altaf 6,000,000.00 600,225.00
11 shams 300,000.00 30,225.00
12 pak 800,000.00 80,225.00
13 lah 900,000.00 90,225.00
14 pun 6,500,000.00 650,225.00
15 aus 9,000,000.00 900,225.00
16 can 1,200,000.00 120,225.00
please help me i put this formula but not get success.
=IF(AND(C6=$B$1,C6,$A$2,C6>=$B$2,C6>$A$3,C6>=$B$3,C6>$A$4,C6>=$B$4),"",(C6*10%)+225)
thanking you anybody help me.
Hi,
I need help for complex formula, tried using AND, OR, Search with IF but not able to get the result.
I have a Report data which I have converted into Table, in Column C under the Header "Assignment Group" there are country listed HRss Brazil uat, HRss Portuguese ant, HRss Spain hat, Hrss Italy amt and HRss BR sat. So I was trying this formula:
=IF(ISERROR(SEARCH("Portu",[Assignment group])),"True", IF("BR",[Assignment group],"False")) - what I want to do is if the country is Brazil or Portuguese or BR then the formula should return to False and rest should be True.
Please if you can help me it will be great, I have be trying multiple combination but to no avail it returning to "#Valid"
Many thanks in Advance
Rinks