Nested Functions Limit
Apr 1, 2008
=SUM(IF(WEEKDAY(calendar,2)=2,IF(RIGHT(C35:C400)="H",
SUBSTITUTE(C35:C400,"H","")/7.5)))))))
I need to nest the above formula within an IF statement. Unfortunately, I am already up to the Excel limit of nesting 7 functions.
Can anybody see, at a glance, how I can achieve the same result with at least one less nested function?
View 9 Replies
ADVERTISEMENT
Jun 13, 2006
I am trying to write a formula requiring more than 7 nested conditions for ISERROR and SEARCH. Excel throws up and error if I exceed this limit ...
View 7 Replies
View Related
Jun 30, 2014
I am trying to write a formula that will satisfy the following:
C1 and G1 are number values.
IF (cell E1 does not contain any text) AND (G1-C1-12.5>=0), then output (G1-C1-12.5), otherwise output nothing (""). BUT, IF (cell E1 DOES contain text) AND (G1-C1-13>=0), then output (G1-C1-13), otherwise output nothing.
View 2 Replies
View Related
May 7, 2009
IF/OR function below is not working
=IF((OR(B14=1,2,3,12,15,16)),"A",IF(OR(B14=4,5,6,7,8,9,10,11,13,14,21,40,41,42,43,44,45,46,47,50,51, 52,53,54,55,56,59,60),"B",IF(OR(B14=20,30,57,58),"C",IF(OR(B14=33,31,32,34,35,22),"E F OR G",IF(OR(B14=36),G,"ERROR")))))
View 4 Replies
View Related
Aug 20, 2008
I recently came across a spreadsheet an ex-employee wrote with an interesting IF-AND statement in it. The only way I've ever written one is:
=IF(AND(something=1, somethingelse>2), do something)
His statement was written in the following manner:
=IF(something=1*AND(somethingelse>2), do something, if(thing3>1*AND(thing4>1), do something)
View 9 Replies
View Related
Feb 9, 2009
I have the following formula in a cell:
View 2 Replies
View Related
Nov 9, 2009
I have these 4 functions that i want to be able to "run" in a nested IF where the functions are used in this manner:
=if((funct1 or funct2 or funct3 or funct4);"OK";"")
funct1: =IF(AND(B7=1;D7=1;E7=1);"OK";"")
funct2: =IF(AND(B7=0;C7=1;F7=1;A7<10000);"OK";"")
funct3: =IF(AND(B7=0;C7=1;G7=1;A7<25000);"OK";"")
funct4: =IF(AND(B7=0;C7=1;H7=1;A7<50000);"OK";"")
View 14 Replies
View Related
Aug 7, 2006
I have a sales ladder which ranks my people by the % difference between budget and sales to date, but not everyone has made a sale yet and the % difference is zero for 6 people. These 6 people all have a rank of 75. Where this happens, I want to then rank only those 6 people, based on their budget figure.
My current formula reads:
=IF(F83=0,75,RANK($G83,$G$9:$G$83,0))
where F is the sales value and G is the % difference. Budget figures are in column D.
View 11 Replies
View Related
Jun 6, 2009
=If(isError(find("-";a1));mid(a1;3;9);mid(left(a1;search("-";a1)-1);3;9))
where: a1=AN03048-12
and its result I wanted is the following: 03048 (great! )
But... what if I'd have ANN03048-12?
Then the result would be N03048...
How can I obtain only 03048 or whatever (but only numbers) avoiding previous letters? How can I only pick numbers without letters starting from the left beginning of the record? I'd like to get only numbers before the "-" symbol. I think I should add a function before or instead of the "3" number (which I highlighted in red) in the second mid() function
View 10 Replies
View Related
Feb 23, 2010
I would like Excel to look at column A, and if there is a number0, count it and go to the next row. If it's =0, then go to column B and see if THAT number is 0. If it is, count it; if not, go to C. So my data looks like:
A B C
0 2 3
4 0 0
0 0 0
I only want it to count one time per row, so right now I am using =IF(COUNTIFS(A2:A30,"0",B2:B30,"0")0,COUNTIFS(A2:A30,"0",B2:B30,"0"),IF(COUNTIFS(B2:B30,"0",C2:C30,"0")0,COUNTIFS(B2:B30,"0",C2:C30,"0"),0)))
I also tried it with a SUMPRODUCT to simplify but both formulas are getting me the wrong answer. I'm using Excel 2007.
View 9 Replies
View Related
Nov 2, 2004
I have 12 teams(rows) and would like a cell(A21) to show the team name after determining the max value of the column(O). Is there another way to do it besides "ifs", I've maxed out the function at 7, but there are 12 teams
If I could get this figured out it would be great, and a seperate question/addition problem I would also like to do is have the cell come up the same color as it is above.
View 5 Replies
View Related
Jan 31, 2014
Attached is a small spreadsheet, my problem is I am using Excel 2007 and it only allows me 7 nested functions and I need to do 31.
Nested Function.xlsx‎
View 8 Replies
View Related
May 23, 2008
I am currently having trouble with what I thought was a simple IF statement. As you will see from the formula I want to complete a statement for every month of the year but Excel will not let me go past July. Is there a limit to the number of arguments in an IF statement and how do I overcome this? =IF($A$3="Jan'08", SUM(C7),IF($A$3="Feb'08",SUM(C7:D7),IF($A$3="Mar'08",SUM(C7:E7),IF($A$3="Apr'08",SUM(C7:F7),IF($A$3="May'08",SUM(C7:G7),IF($A$3="Jun'08",SUM(C7:H7),IF($A$3="Jul'08",SUM(C7:I7),"n/a")))))))
View 5 Replies
View Related
Feb 17, 2014
I am having trouble evaluating two conditions with nested logical operators to produce the output I need.
For example Condition 1 has 5 choices (A,B,C,D,E) and Condition 2 has 3 choices (a,b,c).
Breaking it down,
[Condition 1] option "A" always applies and should give "Yes" (No matter [condition 2], "A" always gives "Yes")
[Condition 2] option "c" always applies and should give "Yes" (No matter [condition 1], "c" always gives "Yes")
[Condition 1] option "D" never applies and should give "No" (No matter [condition 2], "D" always gives "No")
[Condition 1] options "C" and "B" only apply if [condition 2] is "b" (if so, the answer is "Yes")
What I need is the equivalent of:
if ((([condition 1] == A) || ([Condition 2] == c)) || (([condition 1] == B || C) && ([condition 2] == b)), "Yes", "No")
View 4 Replies
View Related
Nov 27, 2009
using function IF, AND, OR, NOT the following is the description and attached is the photo of the excel file.
1-If a part is discontinued, it cannot be ordered.
2. If a part is not discontinued, is a high-demand part and is currently stocked at less than 75% capacity then it’s time to order more.
3. If a part is not discontinued, it not a high-demand part and is currently stocked at less than 50% capacity then it’s time to order more.
View 5 Replies
View Related
Nov 4, 2008
I want to substitute the following "special" characters for an underscore. i need to do 9 different characters!!! is there another way?
as you are limited to 7!!!
excel 2003!
=INDIRECT("_animal_"&SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(C2," ","_"),"/","_"),"-","_"),"&","_"),"~","_"), "(", "_"), ")", "_"), "$", "_"), ":", "_"))
View 9 Replies
View Related
May 25, 2009
I am trying to make a multiple nested spreadsheet. I get as far as the first 2 and then can't seem to get the data validation to work. I tried several different formulas (indirect(vlookup)) ones but must be doing something wrong. I have the "lists" on the second sheet to be referenced for the first sheet as drop down menus.
I do building material appraisals and this sheet will be to help me with the inspections if I ever get it done. It is supposed to work like this - Area - Item - then depending on the item - three consecutive dropdown lists with further information.
View 4 Replies
View Related
Mar 14, 2008
I am aware of the following topic in the VBA Help file:
"Using Microsoft Excel Worksheet Functions in Visual Basic
You can use most Microsoft Excel worksheet functions in your Visual Basic statements. To see a list of the worksheet functions you can use, see List of Worksheet Functions Available to Visual Basic.
Note Some worksheet functions aren’t useful in Visual Basic. For example, the Concatenate function isn’t needed because in Visual Basic you can use the & operator to join multiple text values."
And I'm aware of how to call Excel funcitons from within VBA; e.g., answer = Application.WorksheetFunction.Min(myRange)
However, not only are some Excel functions not useful; the fact is they cannot be used because VBA has a native function that does exactly the same thing and you have to use that native VBA function to achieve your goal. It is these overlapping functions that I am especially interested in. I want to know what I should use directly in VBA and what I need to go to Excel for.
View 9 Replies
View Related
May 3, 2006
I copied the macro and it works on text files, but will this work if you have
a .csv file or does it have to be text? What I have is an extra large .csv
file that needs to be broken up into a couple of sheets.
View 3 Replies
View Related
May 2, 2014
I am running a formula on a large data set and need the returned value to never be less than zero or more than 100. using the MIN and MAX functions, but how do I use them both at the same time?
View 4 Replies
View Related
Jan 5, 2006
Hi All,
Why is
1-NORMSDIST(7.8) = 3.10862e-15
while
1-NORMSDIST(7.9) = 0
Is there a limit to how far out the Gaussian PDF curve you can go before Excel rounds to zero?
View 7 Replies
View Related
Nov 18, 2008
I'm adding some necessary code to the beginning and end of some cell contents in Format | Cells | Custom and I seem to be coming up against a character limit.
I'm using the phrase "!!<"@">!!" to add the code, but with some cell contents the result is ########### (but much longer), and I'm having to remove some of the text to make it work. The limit seems to be around 255 characters.
View 2 Replies
View Related
Jan 27, 2012
I have a formula that adds two numbers. Here it is:
=IF(E10="","",(E10+$C$8))
I don't want the numbers to be more than 360 when added up. When it reaches 360, I want it to start over from zero. Instead of, say, E10 = 200 and C8 = 200 ... I don't want the answer to be 400, I want it to be 40.
View 2 Replies
View Related
Feb 26, 2007
I have a workbook with 3 sheets. Sheet 1 contains a month of data with Customer Name and Product Code, and quantity shipped (columns A, B, and C). Sheet 2 contains Product Code and quantity produced (Column A and B). In Sheet 3, I have the customer name listed once by running a pivot table against the data in Sheet 1. I need to show the quantity produced for each customer in Sheet 3 but not exceed the quantity produced for that Product Code in Sheet 2 even if the quantity shipped was greater. For example:
Sheet 1
Customer A - 100 shipped of Product Code X
Customer B - 200 shipped of Product Code X
Sheet 2
Product Code X - 150 produced
Sheet 3
Customer A - 100 total
Customer B - 50 total
Customer B would only be allocated 50 as there was only 150 produced and Customer A was allocated 100 of the total 150 produced, leaving 50 to allocate to Customer B.
View 11 Replies
View Related
May 25, 2009
how to make a summation formula in excel (not simply adding 2 numbers together)? I have one cell that I would enter a number into, and another cell which would specify the limit. So if the first cell A1 = 1, and cell A2 = 50, then the 3rd cell would automatically add up every number "n" plus 1 until n=50. ie: (1+1)+(2+1)+(3+1)+...+(50+1)=result. The limit would have to be flexible, so if I change the 3rd cell to 70 then it would calculate to 70.
View 9 Replies
View Related
Oct 26, 2009
I have a MAX formula that searchs a range of cells and then gives the largest number.
How can I set a limit so that even if the MAX number is 200 I want the return to be only 150 maximum.
Example:
A11002005075
I want to be able to search for the largest number but even if the largest number is >150 limit the return to 150.
View 9 Replies
View Related
Feb 18, 2010
I have a bunch of city and state data in a range that I am referencing in
VB.
Example: ...
View 9 Replies
View Related
Dec 27, 2007
I've spent a fair amount of time creating a financial planning spreadsheet that I'd like to try to sell. My biggest problem is selling it to people and allowing them to use it without them being able to email it to anyone else. My first thought was to code it where a macro will run when the spreadsheet opens that checks if the spreadsheet is being opened on a specific computer and will close down if it is opened on an unauthorized computer. I'm not sure if this will work or how to code it
View 2 Replies
View Related
Aug 21, 2014
have a set of numbers ranging from 1-25 in column A1-A25 in descending order. I want to have a column B1-B25 which outputs numbers in column A up to a maximum of 5.
Eg.
column A
25, 6, 5, 3, 1, 0
I want in column B
5, 5, 5, 3, 1, 0
View 4 Replies
View Related
Apr 24, 2009
I have constructed an inventory formula, subtracting Current Inventory (CI) from Required Inventory (RI), to generate a number of how many new products must be Ordered: RI-CI=O. The problem is that if CI exceeds RI, I get a negative number for "O".
Question: How can I structure the formula to give a zero for any sum less than 1?
View 31 Replies
View Related