#### iserror and ifs nested formulas

```Please help!

I am trying to get the formula below to return a value to the cell ONLY if
the answer to ((c30-\$30)/g\$30) is greater or less than 20%.

I am using the below formula.

=IF(ISERROR((C30-\$G30)/\$G30),"-",IF(((C30-\$G30)/\$G30)>ABS(20),((C30-\$G30)/\$G30)," "))

Thanks

``` 0  Utf
6/4/2010 5:05:25 PM excel.worksheet.functions  4936 articles. 2 followers. 4 Replies 1239 Views Similar Articles

[PageSpeed] 36

```Try

=IF(ISERROR((C30-\$G30)/\$G30),"-",IF(ABS(C30-\$G30)/\$G30>0.2,(C30-\$G30)/\$G30,"
"))

--

HTH

Bob

"Vicki" <Vicki@discussions.microsoft.com> wrote in message
news:22EA6740-B9B9-4834-8AEA-217DD36C3B4D@microsoft.com...
>
> I am trying to get the formula below to return a value to the cell ONLY if
> the answer to ((c30-\$30)/g\$30) is greater or less than 20%.
>
> I am using the below formula.
>
> =IF(ISERROR((C30-\$G30)/\$G30),"-",IF(((C30-\$G30)/\$G30)>ABS(20),((C30-\$G30)/\$G30),"
> "))
>
> Thanks
>

``` 0  Bob
6/4/2010 6:55:27 PM
```=IF(ISERROR((C30-\$G30)/\$G30),"-",IF(((C30-\$G30)/\$G30)<>20%,((C30-\$G30)/\$G30),"
"))

20 is different from 20% (by a factor of 100).
You don't need the ABS function.
--
David Biddulph

"Vicki" <Vicki@discussions.microsoft.com> wrote in message
news:22EA6740-B9B9-4834-8AEA-217DD36C3B4D@microsoft.com...
>
> I am trying to get the formula below to return a value to the cell ONLY if
> the answer to ((c30-\$30)/g\$30) is greater or less than 20%.
>
> I am using the below formula.
>
> =IF(ISERROR((C30-\$G30)/\$G30),"-",IF(((C30-\$G30)/\$G30)>ABS(20),((C30-\$G30)/\$G30),"
> "))
>
> Thanks
>

``` 0  David
6/4/2010 7:06:37 PM
```What numbers are likely to be in cells C30 and G30
What should it be 20% of
Why use ABS
What errors do you anticipate

Regards
Steve

"Vicki" wrote:

>
> I am trying to get the formula below to return a value to the cell ONLY if
> the answer to ((c30-\$30)/g\$30) is greater or less than 20%.
>
> I am using the below formula.
>
> =IF(ISERROR((C30-\$G30)/\$G30),"-",IF(((C30-\$G30)/\$G30)>ABS(20),((C30-\$G30)/\$G30)," "))
>
> Thanks
>
``` 0  Utf
6/4/2010 7:34:40 PM
```Bob,

Thank you so much for your input.  This formula worked GREAT!

"Bob Phillips" wrote:

> Try
>
> =IF(ISERROR((C30-\$G30)/\$G30),"-",IF(ABS(C30-\$G30)/\$G30>0.2,(C30-\$G30)/\$G30,"
> "))
>
> --
>
> HTH
>
> Bob
>
> "Vicki" <Vicki@discussions.microsoft.com> wrote in message
> news:22EA6740-B9B9-4834-8AEA-217DD36C3B4D@microsoft.com...
> >
> > I am trying to get the formula below to return a value to the cell ONLY if
> > the answer to ((c30-\$30)/g\$30) is greater or less than 20%.
> >
> > I am using the below formula.
> >
> > =IF(ISERROR((C30-\$G30)/\$G30),"-",IF(((C30-\$G30)/\$G30)>ABS(20),((C30-\$G30)/\$G30),"
> > "))
> >
> > Thanks
> >
>
>
> .
>
``` 0  Utf
6/4/2010 8:34:46 PM Similar Artilces:

problem: formula appears as text
Hello...I'm stumped.... I am entering a simple formula: =RIGHT(A2,2) in a cell. The sheet has data on it but not a whole lot going on. I have tried formatting the cell itself, the column, and the entire sheet a number of ways...however, the formula appears in the cell as =RIGHT(A2,2)...as if were a text entry...it won't actually just turn into a formula and do it's thing. Thanks in advance for response.... -- couriced ------------------------------------------------------------------------ couriced's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=...

problem with formula #2
I have one column with increasing standard time (hr:min:sec). I put a formula in the first cell of the first row of a second column to convert the same cell of the first column to a value of decimel based upon minutes. The result is correct in the first cell of the first line (row) where the the formula was placed in the second column, but when I copy the formula throughout the rows of the second column, the results shown are always the answer for the first line - even though when I klick on the cell the formula in the lower rows/cells shows it referring to the correct later time ...

Text in formula?
What a pain in the neck to come back home after being away and not being able to access the newsgroups via my newsreader (http:// www.gmayor.com/MSNews.htm). Anyway ... <g> I have this formula in cell A16: ="Don't take today: " &+A15+1 I got it from googling for text and formulas in same cell. I've tried formatting cell as general and text but nothing comes out right. The result in A16 should say: Don't take today: Tue.Sep.14.2010 but instead it says: Don't take today: 40435 Can anyone advise how to fix this? Thanks! :oD On Mon, 30 Aug 2010 ...

How can formulas be used to create another formula?
This is probaby very simple, but I really don't know a lot aout formulars. When I have created formulas to work out the percentage of each sales type that we have, I then need to use this % as a part of another formula, Ie Sales type A is 50% of our overall sales "=sum(B1/B3)*100", I am am then trying use this 50% to apportion our wages bill to a sales type. When I create another formula "=sum(B10/B13)*the cell reference of the formula I previously calculated" it is throwing out the incorrect answer. Can anyone give me a simple answer to a very simple question a...

Lotus 123 print, formula, format, ect
How can I get Excel to emulate Lotus 123 commands such as: print range, + - (formula) range, move information and calulatons. ...

How to apply a formula accross all the rows when the total rows are too much in no. ?
Hi, guyz i know you can drag the formula accross the rows in that column t have that formula in effect in every cell. but i have some data lik 5000 rows then how to get that formula accross each cell, its painfu holding the mouse and dragging the formula accross the rows. please advise thanks in advance sorab -- Message posted from http://www.ExcelForum.com Hi after inserting this formula in the first row double click on the lower right corner of your cell selection -- Regards Frank Kabel Frankfurt, Germany > Hi, > guyz i know you can drag the formula accross the rows in that col...

Does Excel support mixed formatting of a string in a formula cell, yet?
Excel is one of the most spectacular apps ever created. But one feature I really need is mixed formatting of a string whose cell is a formula. By mixed formatting I mean, you know, making selected (as opposed to all) character(s) of the string bold, italic, a different color, sub- or superscripted, etc. In Excel 2002 you cannot do that in a formula cell (right?). In edit mode, the user would, say, press F9 to display the calc'ed string, selectively format it as usual, then cancel edit. Excel would save the formatting as a separate mask. What could be easier? The user would ...

Formulas #43
I have a cell with a simple currency formula in it. I want to add a specific dollar amount to the formula result IF a single value from a group of 5 values appears in another cell. -- Thank you. John Q. Without more details, maybe something like: =A1+IF(OR(B1={"a","b","c","d","e"}),22,0) John Q wrote: > > I have a cell with a simple currency formula in it. I want to add a specific > dollar amount to the formula result IF a single value from a group of 5 > values appears in another cell. > -- > Thank you. John Q. -...

Scorekeeping Formula
Does anyone have a formula set up scorekeeping in Excel for the game Rummikub. We have tournaments and want to use the computer to keep track of scores, with minus scores added to the winners' scores. Thanks DocT ...

need help with Index, Match and Countif in the same complicated formula
Hi, I have a spreadsheet Expense Journal designed for entering expenses in two currencies, one for Dollar and one for a local currency. It has two sections of rows, the top is for Dollar Expenses and uses no exchange figures because the spreadsheet converts everything to Dollars. This Dollar section has five columns: Date Project # Account # Description Dollar Amount In the blank spreadsheet that they start anew each quarter, there are only two rows setup for Dollar expenses because most of their expenses will be in Local currency. Below the Dollar secti...

in formula a range cell reference eg) \$A1:\$A20 that is static when filling
if i want a cell reference to not increment when filling i put a dollar sign in front of it i noticed this does not work when you specify a range of cells eg ) \$A1:\$A20 although it is not an error when i fill in a formula it still increments the cell reference in each row but if i specify a single cell it does not. does anyone know the syntax for this, it's hard to word so i havent been able to find anything on google. thanks for your help! cheers, /sh You mean like this: =SUM(\$A\$1:\$A\$20) ? -- HTH, RD --------------------------------------------------------------------------- P...

Formula for counting cells with value 'x' provided Col U = 'y'
Hi guys, Need some help with a formula please. Have tried myself and know that the answer is straightforward but going through a mental block! Col Q Col R A01 58 A01 62 P02 62 Both columns data starts in cell 14 and runs down to cell 10000. I need to count the entries in Column Q that = A01 ONLY IF Col R = 62. Then do the same for Q = A01 ONLY IF R = 58, and so on. The worksheet is a year-to-date file and will be updated weekly with many entries in both columns with varying values. Many thanks. Hi, =SUMPRODUCT((Q1:Q10000="A01")*(R1:R1000...

Formulas to run offline in 3.0?
Hi CRM Pros I have a prospective 3.0 customer. Basically they have a not too complex Excel sheet, that they would like to replace with CRM functionalty instead, in order to run it offline with automatic sync to the CRM server. I know that I can customize CRM 3.0 with extra fields on the oppertunity entity and with custom exchange rate and freight rate tables. But what are the possibilities in 3.0 of creating calculations to run automatically, e.g., tallying the sum of some of the custom fields, or for multiplying some of them together with the exhange rate from a separate table? These calcula...

Count formulas
I am trying to do a set of 3 counts between 1-100. Under 80 Between 80-90 and 90+. I have 2 formulas that are working and can't seem to figure the 3rd, could anyone help? 1st =COUNTIF(G4:K22,">89.99") 2nd =COUNTIF (G4:K22,"<79.99") It is the middle one that I am not able to figure out. count all -those two or =sumproduct((g4:k22>=80)*(f4:k22<90)) -- Don Guillett SalesAid Software donaldb@281.com "Barb" <anonymous@discussions.microsoft.com> wrote in message news:045801c3d85f\$f193bdb0\$a401280a@phx.gbl... > I am trying to do a set of...

Formula?
Hi, I have my data set up the following way - the columns refer to th month and the rows are the different projects I'm tracking. Projec "A" has data in months Jan-Oct (10 values), while Project "B" has dat in months Jan, March, July, August & Sept (5 values)-the missing month are blank. Is there a way get the average of the last 4 values fo each project? Maybe using a count function? thank -- Message posted from http://www.ExcelForum.com Hi if your values are in A1:J1 use the following array formula (entered with CTRL+SHIFT+ENTER) =AVERAGE(OFFSET(J1,0,0,1,-...

formula #59
i am trying to do this:: =IF(J48<25,"",K48) just insert the info from I48 into K48 BUT =IF(J48>25) then add J48 info to I48 and place the total in K48. is this possible and how is it done =if(j48<25,"",if(j48>25,j48+i48)) -- y_not ------------------------------------------------------------------------ y_not's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=19947 View this thread: http://www.excelforum.com/showthread.php?threadid=394739 A formula can only enter values into the cell in which it resides, it cannot enter data int...

if and formula
hi i am trying to check if a time value is greater that 2am and smaller than 2.30 am if it is put 1:59:30 in the cell if it the time value is smaller or bigger put cel value into cell i am using the formula below =IF(AND(C73>="02:00:00",C73<="02:30:00"),"01:59:30",C73) i am checking the formula with 02:01:00 (should put 1:59:30 ) actuall puts 02:01:00 i am checking the formula with 01:01:29(should put 01:01:29) actuall puts 01:01:29 but i can't get it working correctly any ideas thanks kevin By enclosing those times within quotes you are conve...

Appending or Up-dating a formula
I am using an =Ave function in a formula to average quite a few cell values together. I add new information all the time; sometimes 5 or 6 new cells at a time. How can I append or up-date my formula to include these new cells with out have to type the new cells into the formula? When I make the cell that has the formula in it active/edit, all of the cells that are referenced in the formula have a highlight around them. Is there a key or key combination I can press while clicking on the cells I want to add to the formula? Thanks, john Hi see your post in Excel.misc -- Regards Frank ...

Duplicate a chart with relative formulas
If I have several sheets, each with data for a particular year, how can I copy a chart from 1 year to all the others, making sure the data references are to the respective year? Duplicate the sheet that has the chart, then replace the data on the copied sheet. - Jon ------- Jon Peltier Peltier Technical Services, Inc. http://peltiertech.com/ On 3/23/2010 9:29 PM, Bobhoe wrote: > If I have several sheets, each with data for a particular year, how can I > copy a chart from 1 year to all the others, making sure the data references > are to the respective year? ...

IF Formula 01-13-10
I am trying to compare two cells to eachother and populate a third cell with the number that is the GREATER of the two. (IF f26 is greater than G34, populate m22 with value in f26; BUT if g34 is greater than f26, populate m22 with value in g34). Any suggestions? On Jan 13, 10:17=A0am, CrazyConfused <CrazyConfu...@discussions.microsoft.com> wrote: > I am trying to compare two cells to eachother and populate a third cell w= ith > the number that is the GREATER of the two. =A0(IF f26 is greater than G34= , > populate m22 with value in f26; BUT if g34 is greater than...

orden en los operadores de las formulas
deseo saber cual es el orden correcto para generar formulas en una hoja de excel -- Excel "angies" <angiemarbella27@hotmail.com> wrote in message news:E03784BA-F3E8-4E54-84EA-00D151DD939A@microsoft.com... > deseo saber cual es el orden correcto para generar formulas en una hoja de > excel > -- > Excel La multiplicación y la división antes de la adición y de la substracción. Por ejemplo, si usted escribe =5+2*3, el resultado será 11. Si quiere 21 por el resultado , tiene que usar parentesis: =(5+2)*3 ...

FOrmula to work out pricing rounding up and down
I have a formula in cell that reads "=3DIF(C7>0,"FOC",-C7*1.175)" it turns a negative into a Positive and a Positive FIgure into answer of "FOC" Sometimes it will display a result of =A32 or =A35.50 or whatever the figure when the original answer is a negative. With me so far!! The result which is displayed as a number i need it to round up t the nearest 9.99. For example if c7 is =A34.00 display answer of 9.99 if c7 is =A311.00 display answer of 19.99 if c7 is =A328.43 display answer of 29.99 So no matter what the answer is it rounds up to the 9.99 answer...

Solving a formula
I have the following formula that I need Excel to solve for different values of P6 ( I have different values of P6 (P7, P8, P9 (reference cells)). I need the value of x for the different values of P6. Is this possible? It seems like it should be but I can't find out how to make Excel do this. Please help! Thanks. 70000 = P6*((((x/80)*(1/5280))*(2/3))+(((x/40)*(1/5280))*(1/3))) If I am not mistaken, x equals: = 22176000000 / P6 HTH -- Dana DeLouis Win XP & Office 2003 "Anth" <Anth@discussions.microsoft.com> wrote in message news:6196C6C5-FC82-42E2-B6A1-B2...

Hiding formulas in Excel 2000
I want to hide my formulas (formuli ?) and leave everything else unprotected. Can this be done in Excel 2000 ? 1. Press Ctrl+A (may have to do it twice) to select the sheet. 2. Press Ctrl+1. 3. On the Protection tab uncheck the "locked" box and press OK. 4. Press F5 > Special. 5. Click Formulas and press OK. 6. Press Ctrl+1 again and click the "locked" and "hidden" boxes. Press OK. 7. Go to Tools > Protection > Protect Sheet. HTH Jason Atlanta, GA "HarryMangurian" wrote: > I want to hide my formulas (formuli ?) and leave everything els...

Need help with a formula
I am trying to get Excel to make some calculations for me. This is my first time trying to use Excel and I can't seem to figure out how to tell it what I want it to do. I want it to tell me a percentage rate. I tell it how much I paid for an item and how much I sold the item for. I got the formula to get it to give me the amount of the difference, but how would I tell it to give me that number in the next cell as the % as well? I hope that makes since. For instance, if I bought a car for 500.00, turned around and sold it for 750.00, I've already got it to give me the diffe...