+ Reply to Thread
Results 1 to 5 of 5

Add If zero than 9999 to my formula

  1. #1
    Forum Contributor
    Join Date
    08-07-2013
    Location
    mo
    MS-Off Ver
    Excel 2010
    Posts
    453

    Add If zero than 9999 to my formula

    I have a formula I put together that is perfect. I need to add to this

    If the result is less than .001 than make the result 9999.99

    Here is my formula. Thanks for help



    =IFERROR(INDEX('Stored Values'!$U$60:$U$1260,MATCH(1,IF('Stored Values'!$D$60:$D$1260='Rate Rank Summary'!D20,IF('Stored Values'!$G$60:$G$1260='Rate Rank Summary'!$F$19,IF('Stored Values'!$F$60:$F$1260='Stored Values'!$F$5,1))),0)),"None")

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,609

    Re: Add If zero than 9999 to my formula

    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Add If zero than 9999 to my formula

    Untested

    =IFERROR(IF(INDEX('Stored Values'!$U$60:$U$1260,MATCH(1,IF('Stored Values'!$D$60:$D$1260='Rate Rank Summary'!D20,IF('Stored Values'!$G$60:$G$1260='Rate Rank Summary'!$F$19,IF('Stored Values'!$F$60:$F$1260='Stored Values'!$F$5,1))),0))<0.001,9999.99,INDEX('Stored Values'!$U$60:$U$1260,MATCH(1,IF('Stored Values'!$D$60:$D$1260='Rate Rank Summary'!D20,IF('Stored Values'!$G$60:$G$1260='Rate Rank Summary'!$F$19,IF('Stored Values'!$F$60:$F$1260='Stored Values'!$F$5,1))),0))),"None")
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,686

    Re: Add If zero than 9999 to my formula

    so add an IF to test for 0.001
    =IF( INDEX('Stored Values'!$U$60:$U$1260,MATCH(1,IF('Stored Values'!$D$60:$D$1260='Rate Rank Summary'!D20,IF('Stored Values'!$G$60:$G$1260='Rate Rank Summary'!$F$19,IF('Stored Values'!$F$60:$F$1260='Stored Values'!$F$5,1))),0)) > 0.001, 9999.99, INDEX('Stored Values'!$U$60:$U$1260,MATCH(1,IF('Stored Values'!$D$60:$D$1260='Rate Rank Summary'!D20,IF('Stored Values'!$G$60:$G$1260='Rate Rank Summary'!$F$19,IF('Stored Values'!$F$60:$F$1260='Stored Values'!$F$5,1))),0)) )

    and to put back the error handling
    =IFERROR( IF( INDEX('Stored Values'!$U$60:$U$1260,MATCH(1,IF('Stored Values'!$D$60:$D$1260='Rate Rank Summary'!D20,IF('Stored Values'!$G$60:$G$1260='Rate Rank Summary'!$F$19,IF('Stored Values'!$F$60:$F$1260='Stored Values'!$F$5,1))),0)) > 0.001, 9999.99, INDEX('Stored Values'!$U$60:$U$1260,MATCH(1,IF('Stored Values'!$D$60:$D$1260='Rate Rank Summary'!D20,IF('Stored Values'!$G$60:$G$1260='Rate Rank Summary'!$F$19,IF('Stored Values'!$F$60:$F$1260='Stored Values'!$F$5,1))),0)) ), "None")
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  5. #5
    Forum Contributor
    Join Date
    08-07-2013
    Location
    mo
    MS-Off Ver
    Excel 2010
    Posts
    453

    Re: Add If zero than 9999 to my formula

    That works. thank yall so much

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] comparing dates and taking appropriate values if there is if not write -9999
    By sensation in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-06-2013, 12:32 PM
  2. Replacing cells with a vlookup that are > than 9999 or 0
    By perdooky in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-30-2011, 11:00 AM
  3. How to calculate more than 9999:00:00 hours?
    By dask in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-08-2009, 05:23 AM
  4. add time greater than 9999:56
    By PapaT in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-27-2006, 10:55 PM
  5. Find value (31.12.9999) and clear
    By Tempy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-12-2005, 09:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1