+ Reply to Thread
Results 1 to 7 of 7

Formula to divide a number and format if greater than a 100

  1. #1
    Forum Contributor
    Join Date
    04-28-2013
    Location
    Miami, United States
    MS-Off Ver
    Excel 365 (Newest version)
    Posts
    255

    Formula to divide a number and format if greater than a 100

    I need a formula that will divide a number and if the answer is greater than a 100 then blank.

    i've been using this =IFERROR(SUM(H4/C4,"",IF(K4>100,""))) but no luck.

    Help!!!!

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,777

    Re: Formula to divide a number and format if greater than a 100

    What result do you want if the result of the division is <=100?

    What is in K4?

    Your use of SUM is not correct--you have three arguments and only one is a number. I can't tell what you're trying to do there.

    Maybe you want:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Formula to divide a number and format if greater than a 100

    I am assuming you want to test if H4/C4 is > 100:

    =IF(H4/C4>100,"",H4/C4)

    - Moo

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Formula to divide a number and format if greater than a 100

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: Formula to divide a number and format if greater than a 100

    The formula say nothing to me!
    C4/H4 + " " + " " = WHAT?
    What is the number that you like to divide?
    If you want to compare C4/H4 with 100 then make a logical result for condition format, try like this:
    =H4/C4>100
    Put this in criteria box of Condition Format and format with black colour
    Quang PT

  6. #6
    Forum Contributor
    Join Date
    04-28-2013
    Location
    Miami, United States
    MS-Off Ver
    Excel 365 (Newest version)
    Posts
    255

    Re: Formula to divide a number and format if greater than a 100

    Thanks Bros It works perfectly fine....Thanks soo much.

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,777

    Re: Formula to divide a number and format if greater than a 100

    If your question has been answered please mark your thread as "Solved" so that members will know by looking at the thread title that your problem is solved.

    Go to the menu immediately above your first post to the thread and click on Thread Tools. From the dropdown menu select "Mark this thread as solved..."

    If a member helped you solve your problem, consider adding to their reputation by clicking on the star icon below their name.

+ 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. Amending formula to divide by the first number in the range used.
    By joshnathan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-15-2012, 09:38 AM
  2. Replies: 7
    Last Post: 07-10-2012, 02:33 AM
  3. Replies: 6
    Last Post: 05-18-2009, 07:40 PM
  4. Replies: 3
    Last Post: 07-07-2006, 09:10 PM
  5. [SOLVED] Excel formula divide list of #s by N to get a number above 40
    By JudyK in forum Excel General
    Replies: 11
    Last Post: 02-09-2005, 05:06 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