Nested IF Limits
Jan 10, 2008
I have this formula. I'm at the nesting limits and need to add a lot more to it, is there a different way to write this:
=IF(AND(B7=AG2,D7=$AA6),4.4,IF(AND(B7=AG3,D7=$AA$6),5.8,IF(AND(B7=AG4,D7=$AA$6),7.2,
IF(AND(B7=AG5,D7=$AA$6),9.8,IF(AND(B7=AG6,D7=$AA$6),13.8,IF(AND(B7=AG7,D7=$AA$6),16,
IF(AND(B7=AG8,D7=$AA$6),20,"")))))))
View 2 Replies
ADVERTISEMENT
Feb 9, 2009
I have the following formula in a cell:
View 2 Replies
View Related
Sep 16, 2009
I work in Insurance and have a spreadsheet which requires [oil] values to be entered into Column J. I then have three additional columns (K,L & M) and I require them to do the following:
K: take the value from J but cap it at $100,000,000.
L: take the value from J but have a minimum value of $100,000,000 and a maximum value of $400,000,000.
M: take the value from J but have a minimum value of $500,000,000 and a maximum value of $100,000,000.
For example, if i were to enter a value of $650,000,000 into Column J, Column K should show $100,000,000, Column L should show $400,000,000 and Column M should show $50,000,000. Likewise if I were enter $15,000,000 into Column J, Column K would show $15,000,000, Column L would show $- and Column M would show $-.
View 8 Replies
View Related
Mar 4, 2007
I copied this from Excel:
Length of cell contents (text) 32,767 characters. Only 1,024 display in a cell; all 32,767 display in the formula bar.
I have an Address Book from an old Personal Information Manager that exports the file as ASCII.
My problem is when I view the .asc file in Excel, Excel has created two rows for several entries.
That creates a problem as I wanted to select Column "A" then do Text to columns with a comma delimiter (the asc files has the comma in place)
However, since Excel put in the second line, I'll not be able to put in a header column.
When I look at the .asc file there is no way that there is more than 32,767 characters in each row. So why did Excel split it up? ....
View 9 Replies
View Related
Aug 31, 2007
what im looking for is when a cell in column A reaches 5 numbers i need it to skip to the next row.
View 9 Replies
View Related
Nov 17, 2008
I am entering text into a cell and as soon as I go over 241 chars, give or take, the data turns to a row of ####'s when I get out of the cell. Help says the limit is 32K and I have wrap text on. What am I missing? The data displays OK when the cell is current, but goes away when the cell is not . When I preview a print I have the ####'s. I am using Excel 2000.
View 9 Replies
View Related
Jul 4, 2012
I have a table that collects its data from another input table. What I want to do is set a maximum in one cell so that when it reaches that limit, it will begin to divert any other 'incoming' amounts to a different cell.
For instance, If I want to fill a room of 50 and then direct others to a different room, I want the spreadsheet to do the allocation for me and fill the other rooms subsequently.
View 3 Replies
View Related
Dec 27, 2009
I have a text string concatenated from an array of about 3,500 elements. The concatenation looks something like the following:
sRange = "$A$3,$A$7,$A$8,$A$13, ..."
When I try to set a range with the said string: MyRange = Range(sRange), the system throws an error.
I've seen a few methods in help ("Union" for one) that accept up to 30 arguments. I'm unable to find anything in help that states a limit for MyRange = Range(). It appears that 30 may be the magic number for everything.
I have tried using "Union" and building the range one element at a time from the array. That works, but it's incredibly slow.
Is there any way I can pass my array as the argument directly? Something like: MyRange = Range (MyArray).
View 9 Replies
View Related
Jan 14, 2007
I need to count numbers betwen a max value and min value, for example 4 and 50. The numbers are in a range for example A1:A19
View 2 Replies
View Related
Apr 16, 2009
I am in the midst of developing a Userform with a purpose of entering/retreiving and amending data. A rough approximate of about 50 sets of 3 text boxes is required for user to type in data. Is there a kind of limit or performance issues if there are so many text boxes available? What other ways would make it work? Would appreciate some advice from the veterans in this field.
View 5 Replies
View Related
Apr 19, 2009
The values in F4:F14 are changed depending on the value in F2. The rows in green have a fixed value. The row in yellow has a lower limit (170)and upper limit (195). I cannot get a formula in F14 to perform this function.
View 3 Replies
View Related
Jun 29, 2009
I have been trying to do an if statement but need to choose between 10 options:
In Column AA I could have any one of the following 10 text entries - In column AB I need to return 8, 4, 2, 1 or 0.5 depending on which is in AA (this column AA cannot be sorted nor are people willing to cut back to 5 options )
"Very High" returns 8
"Very High (>50)" returns 8
"High" returns 4
"High (>20)"returns 4
"Medium" returns 2
"Medium (>10)" returns2
"Low" returns 1
"Low (>5)" returns 1
"Very Low" returns 0.5
"Very Low (<1)" returns 0.5
naturally the following IF statement won't work as I have exceeded the limits
View 2 Replies
View Related
Mar 15, 2007
Excel 2003
Is there any way to remove the 225 characters per call limit in pivot tables? Pivot tables do not allow validation but I need to pivot "Description" cells with a lot of text.
Or, is there a better way to manipulate text data than a pivot table that I don't know about.
View 9 Replies
View Related
Nov 12, 2010
I have a range of numbers:
A1=24
A2=17
A3=9
A4=4
Based on this the MEAN=13.5 and STANDARD DEVIATION= 8.81286937760152
I want to create a formula to calculate the UCL and LCL
When I use MINITAB I get UCL=31.23 & LCL=-4.23
View 7 Replies
View Related
Aug 23, 2013
I want to generate random times in excel between upper and lower limits , which i can do , but i also want dates in same cells with out randomization , means dates should act independently and time should randomize
it should be something like that
8/1/2013 05:55 AM
8/2/2013 07:55 AM
8/3/2013 04:44 AM
View 4 Replies
View Related
Jan 1, 2009
I have a table that I use to generate about 20 graphs. The lower and upper limits can be manually altered in the table. If the user leave those 2 cells empty, I want the upper and lower limits be determined by default by Excel. So that the limits don't have to be entered for every graph in order for the graphs to be generated without any debugging error.
With ActiveChart.Axes(xlValue)
.MinimumScale = y1Lower
.MaximumScale = y1Upper
.MinorUnitIsAuto = True
.MajorUnitIsAuto = True
.Crosses = xlAutomatic
.ReversePlotOrder = False
.ScaleType = xlLinear
.DisplayUnit = xlNone
End With
where
y1Lower = .Cells(i, j + 9)
y1Upper = .Cells(i, j + 10)
View 9 Replies
View Related
Dec 11, 2009
My objective is to replace a text string with a numeric variable. The string has text values such as US, Canada, Germany, France etc, There are about 15 such words in total. Each row will have a different one of the 15 text strings.
Each text string has a corresponding number, which I want to use in various formulas throughout the spreadsheet. The numbers are located on a separate worksheet (“Match Rate”), within the same workbook. I obtained the numbers from a formatted report, which I simply pasted into the second worksheet. Due to the complexity of the report, I can’t reformat the numbers to allow use of the VLOOKUP function.
I created the following function, but unfortunately it doesn’t work. Can you help, please?
I’d like to stay with a VBA solution, since a simple if/then sequence such as this is an excellent introduction to the powerful world of VBA... (it just doesn’t work, yet). I suspect the problem is in the calls to the Match Rate Worksheet.
View 11 Replies
View Related
Jan 17, 2008
Ok. Here's what I'm trying to do. I have a drop down menu of certain providers located on cell F5. Each one charges different rates per day located on another sheet. Here's the kicker two of those providers charge different rates depending on the amount of days. Those two are UASC and CMA. For the First 5 days they charge one rate and after the 5 days they charge an increased rate.
I'm trying to have one cell located on the first sheet display this information with all the proper calculations. The below formula gives me a false value. I'm not even sure if it works. I know a little bit of excel through some intro courses in college but I'm not sure if a formula like this would work. I know laugh it up.... : ) but I'm not too saavy with formulas....
View 9 Replies
View Related
Jul 8, 2008
I have a total of 30 nested formulas that (ofcourse) dont work in excel.
Here is an example of the first 7 nested IFS
(1) IF(MID(A7,8,9)="GIR",INDEX('ERIS INPUT'!$C$2:$C$65536,MATCH(A7,IF(Reconciliatie!C$3:C$65536=C7,Reconciliatie!A$3:A$65536),0)),
(2) IF(MID(A7,8,9)="NL",INDEX('ERIS INPUT'!$C$2:$C$65536,MATCH(A7,IF(Reconciliatie!C$3:C$65536=C7,Reconciliatie!A$3:A$65536),0)),
(3) IF(MID(A7,8,9)="BE",INDEX('ERIS INPUT'!$C$2:$C$65536,MATCH(A7,IF(Reconciliatie!C$3:C$65536=C7,Reconciliatie!A$3:A$65536),0)),
(4) IF(MID(A7,8,9)="AT",INDEX('ERIS INPUT'!$C$2:$C$65536,MATCH(A7,IF(Reconciliatie!C$3:C$65536=C7,Reconciliatie!A$3:A$65536),0))
(5) IF(MID(A7,8,9)="DE",INDEX('ERIS INPUT'!$C$2:$C$65536,MATCH(A7,IF(Reconciliatie!C$3:C$65536=C7,Reconciliatie!A$3:A$65536),0))
(6) IF(MID(A7,8,9)="PH",INDEX('ERIS INPUT'!$C$2:$C$65536,MATCH(A7,IF(Reconciliatie!C$3:C$65536=C7,Reconciliatie!A$3:A$65536),0))
(7) IF(MID(A7,8,9)="AUBE",INDEX('ERIS INPUT'!$C$2:$C$65536,MATCH(A7,IF(Reconciliatie!C$3:C$65536=C7,Reconciliatie!A$3:A$65536),0))
I tried this code but it is not working.
Function LookupRetrieve(pVal As String) As Long
If pVal = "(MID(A7,8,9)="GIR" Then
LookupRetrieve = INDEX('ERIS INPUT'!$C$2:$C$65536,MATCH(A7,IF(Reconciliatie!
C$3:C$65536=C7,Reconciliatie!A$3:A$65536),0))
ElseIf pVal = "(MID(A7,8,9)="NL" Then
LookupRetrieve = INDEX('ERIS INPUT'!$C$2:$C$65536,MATCH(A7,IF(Reconciliatie!
C$3:C$65536=C7,Reconciliatie!A$3:A$65536),0))
ElseIf pVal = "(MID(A7,8,9)="BE" Then
LookupRetrieve = INDEX('ERIS INPUT'!$C$2:$C$65536,MATCH(A7,IF(Reconciliatie!
C$3:C$65536=C7,Reconciliatie!A$3:A$65536),0))
ElseIf pVal = "(MID(A7,8,9)="AT" Then
LookupRetrieve = INDEX('ERIS INPUT'!$C$2:$C$65536,MATCH(A7,IF(Reconciliatie!
C$3:C$65536=C7,Reconciliatie!A$3:A$65536),0))
ElseIf pVal = "(MID(A7,8,9)="DE" Then
LookupRetrieve = INDEX('ERIS INPUT'!$C$2:$C$65536,MATCH(A7,IF(Reconciliatie!
C$3:C$65536=C7,Reconciliatie!A$3:A$65536),0))
ElseIf pVal = "(MID(A7,8,9)="PH" Then
LookupRetrieve = INDEX('ERIS INPUT'!$C$2:$C$65536,MATCH(A7,IF(Reconciliatie!
C$3:C$65536=C7,Reconciliatie!A$3:A$65536),0))
ElseIf pVal = "(MID(A7,8,9)="AU" Then
LookupRetrieve = INDEX('ERIS INPUT'!$C$2:$C$65536,MATCH(A7,IF(Reconciliatie!
C$3:C$65536=C7,Reconciliatie!A$3:A$65536),0))
Else
LookupRetrieve = "isingcode missing"
End If
End Function
The formula is a vlookup formula (Index/Match but with multiple criterias such as the use of Mid).
I tried Concatenate but the formula is too long and has a lot of characters and VBA seems better.
View 9 Replies
View Related
Dec 7, 2009
I'm building a macro and need to know how to add a nested if-then statement. I need to create a formula in a new column whose value extends to the last row of the database. My base formula is sumproduct(--((A2:A:last row which I need to calculate&B1:B same thing)=A2&A2))
View 9 Replies
View Related
Mar 20, 2014
I am trying to make this work. VLOOKUP (B2,"lookup tables'!$A$4:$A$11, if(D2'="ST" 'lookup tables!$C$4:$E$11.
I am attaching the file : MDCC Reservations.xlsx
I am trying to get the Daily room charge.
View 5 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
Nov 7, 2007
Level RatingA RatingB RatingC Low Medium High
2 x x x x x x
3 x x x x x x
4 x x x x x x
5 x x x x x x
I need to be able to do nested loops. I want to have a criteria that if a person is in LEVEL 2 and RATINGC and HIGH, then take the value under that.
View 9 Replies
View Related
Aug 5, 2009
Im needing to achieve what an 11 argument nested if would manage, ie: ...
View 2 Replies
View Related
Sep 24, 2009
I'm trying to build this formula and I'm only half way through it and it already isn't working.
Column D - can be 1, 2, 3, or 4
Column E - can be any number
If column D is 1 or 3, then the VLOOKUP should look up column E and point to the answer in column 4 on another worksheet (Companies in this case). If column D is 2 or 5, then the VLOOKUP should look up column E and point to the answer in column 5 on another worksheet (Companies in this case). This is what I have so far, just trying to get it to recognize if it is a 1 or 2:
=IF(OR(D2=1,VLOOKUP(E2,Companies!A:G,4)),IF(D2=2,VLOOKUP(E2,Companies!A:G,5)))
What is making this not work? I'm getting a false. But before I added the OR, it worked for the D2=1.
View 3 Replies
View Related
Oct 30, 2009
I'm hoping someone can help me sort this out. I have a formula I need te determine if a TAT was 'met' or 'missed' and it has multiple criteria. Here is the formula I am trying to get to work:
=IF(AND(I2="Amendments",F2<=3,IF(AND(I2="Renewals",F2<=1,OR(D2<=G2)))),"Met",IF(F2="n/a","n/a","Missed"))
I've been able to get separate pieces of the formula to work correctly, example:
=IF(AND(F2<>"n/a",I2="Amendments",F2<=3,OR(D2<=G2)),"Met",IF(F2="n/a","n/a","Missed"))
but when I try to combine everything into one string I can not get it to work.
View 10 Replies
View Related
Aug 11, 2009
I seem to be having trouble creating a nested loop. It seemed simple enough in my brain holder, however, in real life...Well I am here aren't I. Here is my
View 2 Replies
View Related
Dec 1, 2005
I am trying to create a nested IF function (has 5 IF statements), however,
every time I put the brackets at the end of the function, it puts a little .
next to the false answer, removes the brackets and comes up with an error
message?
This is only happening on one particular PC, when I create the same formula
on other pC's, it works fine so I know my formula is correct.
is there a setting on the PC that must be wrong?
View 14 Replies
View Related
Dec 22, 2005
I am trying to write a function such that the data returned to a given cell
will vary depending upon the data entered into another cell. For example:
If A1= 105, then G1=20; if A1=106, then G1=15
I have more variables for A1 than 7, so I don't think that nested if...then
statements would work. Can I do this using VLOOKUP?
View 10 Replies
View Related
Feb 6, 2009
I have a simple Staff Rote which is fed by data on Time Sheet. Currently it is working ok with two definitions;
T : Time
B: Break
If I introduce a 3rd and 4th definition like;
A: Leave
X:non working day
formule will get even more complicated.
Is there a way of simpifying this with a code and introducing the new definitions.
View 11 Replies
View Related