+ Reply to Thread
Results 1 to 6 of 6

Error in the Excel formula

  1. #1
    Registered User
    Join Date
    09-19-2013
    Location
    India
    MS-Off Ver
    Excel 2019
    Posts
    61

    Error in the Excel formula

    Hi All,

    when i use the excel formula "=IF(H13<=200,12500,12500+ROUNDUP(IF(H13>200,IF((H13-200)>800,SUM(H13-200)),0)/50,0)*1750),IF(H13>1000,(ROUNDUP(SUM(H13-1000)/50,0))*1250)" getting an error as "#VALUE!". attached the formula in excel. help me to fix this.

    Thanks and Regards,
    Senthil
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-02-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    4

    Re: Error in the Excel formula

    Example.jpg

    It's because you are attempting to basically write this function

    =If(),If()

    in the same cell

    The function will try to only produce 1 output, but its seems that you want 2.

    If you want the result to be 12519,3750. I'd recommend having the two If's in different cells, and then CONCATENATE(Cell1,",",Cell2).

  3. #3
    Forum Contributor
    Join Date
    08-07-2015
    Location
    AB, Canada
    MS-Off Ver
    Excel 2013 x64
    Posts
    132

    Re: Error in the Excel formula

    I think I might understand what you're trying to do. Let me know if the following formula returns the desired result:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    09-19-2013
    Location
    India
    MS-Off Ver
    Excel 2019
    Posts
    61

    Re: Error in the Excel formula

    Hi Zeta84,

    can you please correct and share me the formula for the below.
    =IF(A1<=200,12500,12500+ROUNDUP(IF(A1>200,IF((A1-200)>800,SUM(A1-200)),0)/50,0)*1750),IF(A1>1000,(ROUNDUP(SUM(A1-1000)/50,0))*1250)

    Best Regards,
    Senthil

  5. #5
    Registered User
    Join Date
    09-19-2013
    Location
    India
    MS-Off Ver
    Excel 2019
    Posts
    61

    Re: Error in the Excel formula

    hi..
    Can you pls update on the below mail?
    Thanks.. Senthil

  6. #6
    Forum Contributor
    Join Date
    08-07-2015
    Location
    AB, Canada
    MS-Off Ver
    Excel 2013 x64
    Posts
    132

    Re: Error in the Excel formula

    I think the answer Zeta84 provided for the original question applies to this version of the formula.

    I don't think it's clear what output you're looking for. What outputs are you expecting? Please provide an example file that shows the desired result as a hard-coded value.

    Does the following formula produce the result you're expecting?
    Please Login or Register  to view this content.

+ 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. Excel 2003 > excel 2010 formula error (VALUE)
    By PENGUIN88 in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 01-10-2015, 07:59 AM
  2. [SOLVED] Excel does not evaluate a formula or possible formula error ?
    By syed82 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-03-2014, 11:08 PM
  3. Excel Formula gives error
    By gpatel in forum Excel General
    Replies: 8
    Last Post: 12-21-2011, 05:29 AM
  4. Excel Formula Error
    By lozg43 in forum Excel General
    Replies: 5
    Last Post: 08-25-2009, 10:49 AM
  5. [SOLVED] Excel Formula Error
    By VikiFynn in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-27-2005, 11:05 AM
  6. VBA Excel formula error
    By TomD in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-08-2005, 01: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