negative

  1. G

    Excel VBA - Counting Negative Values and Ranking Them

    Trying to count the negative values and ranking them from highest count to lowest I was going to use the worksheet function like this Set CountRng = range("B1:F1") CountApple = Application.WorksheetFunction.CountIf(CountRng, "<0") But not sure how I can rank them. Maybe I need to use array...
  2. I

    VBA macro

    I have 1700 hundred record some are debit and some are credit I need to move credit value in debit column with negative sign as value
  3. G

    Display a "blank cell" if the number is negative using an "If Function".

    If cell A1=2 then I want to subtract B2-B1 and if the number is a negative value, Display a blank cell. I'm a novice and can't figure how to do this. Thank you.
  4. S

    Calculate average excluding 0 and negative numbers

    Hi , I have a column of data that includes positive numbers, negative numbers and zeroes. i tried different formulas, like =SUMIF(G5:G9,">=0")/COUNTIF(G5:G9,">=0") =AVERAGEIF(G5:G16,"<>0") but I cant seem to get an average excluding both the zeroes and negative numbers. I tried...
  5. C

    time calculations

    I have a database that we input repair times. I used the formula =SUM(FINISHTIME-STARTTIME)*1440. It registers the time difference in minutes. It has worked well until now we had a 9.5 hr downtime that ran from one day to the next. Instead of coming up with the 570 minute repair time, it comes...
  6. B

    negative time recalculation

    <tbody> input input formula (arrived on site - driving time) DRIVING TIME ARRIVED ON SITE STARTED DRIVING 1:00 15:00 14:00 3:00 19:30 16:30 18:00 3:00 gives negative number ######## - should be 9:00 </tbody> Who can help me solving above? I calculate the 'started driving time" by...
  7. S

    Negative result add and positive subtract

    Good morning, I have a doubt that I do not know how to solve, I need that when the result of a cell is negative add up and when it is positive I subtract it. I attach an example. Thank you. https://we.tl/t-CpPDWGBKLDhttps://we.tl/t-CpPDWGBKLD
  8. A

    multiplying a product by a different percentage based on a positive or negative number

    Hello, i have a spreadsheet that i use to compare projected costs to actual costs. Column C are projected costs, column B are my actuals, and i want column D to have the difference multiplied by a certain percentage based off of a positive or negative return. I would like the difference in these...
  9. F

    Return Colum headers based on positive and negative cell value

    Hi For the last hour or so I have been trying to find an answer through youtube but just can't it. Really appreciate if some one can help me with this, I just created a table from randon figures which represent the actual table at work, so the modules are products and the dis module colum is...
  10. xeven_

    What is going on here?

    <colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody> 2012 $13,641 4% 2013 $13,057 -4% 2014 $15,233 17% 2015 ($6,145) -140% 2016 $6,845 -211% 2017 ($8,920) -230% 2018 ($22,802) 156% </tbody> I am using...
  11. JenniferMurphy

    Showing the direction a value is moving

    I sometimes create sheets to track the standings of sports teams. Some of these sheets contains rankings. Over time, the rankings change. In the past, I have calculated the change in rank by subtracting the old ranking from the new one (=NewRank-OldRank). This works, but can be a little...
  12. M

    Positive / Negative numbers (with brackets) align right

    Hi, I currently have a listing of positive and negative numbers (ranging from numbers in the tens to hundreds to thousands to millions) and am looking to have all numbers aligned right excluding the ending ")" for all negative numbers. In other words, would like the alignment of all numbers and...
  13. K

    Bubble Chart

    Hi All, I have created a set of bubble charts. The 'Z' value has positive and some negative values. When positive, the bubbles look fine. But when negative, the bubble disappears and no negative values are shown. How do I fix this? Thank you in advance.
  14. J

    Find Negative Numbers based on criteria

    This seems like a simple problem, but I'm stuck. Right now I'm on the verge of a giant, if(and(or statement to look at every possible outcome, but I think there has to be an easier way. I'm assuming this is an array formula of some type, but I am not skilled enough to figure it out. I have a...
  15. C

    Code to delete entire row if there is no negative value (highlighted red) across the row

    Hi, I am trying to write a VBA to delete unnecessary rows in my spreadsheet instead of doing it manually. Row range can be up to 1000+; column range is from A to R. Negative values cells will be highlighted in red and they are spread out randomly from column (E:N). There could be 3 negative...
  16. SimonHughes

    Conditional format last row of positive value in table

    Hello, I have a table with 40 rows and depending on input the values change from positive to negative. So with an inflation rate of 2.5% then row 23 will be the first row in negative numbers, if I change inflation rate to 1% then row 28 will be the first row in negative. How do I conditionally...
  17. T

    Adding negative and positive times

    I am trying to add negative time, hours and minutes (-1:32) to positive time (0:34). These are totals for hours worked above 40 hours. I have changed to the 1904 date system but my formulas aren't working. I'm not very familiar with Excel. I'm trying the formula =SUM(A1+A2) with A1 and A2 being...
  18. M

    Looking for way to ensure that cell B15 is always negative on all sheets.

    I have a payroll spreadsheet that features a cell for deductions. I want to make sure that regardless of whether we enter a positive or a negative number in that cell, the number always reverts to negative. I found a code on extendoffice.com that works, but I have to add it to every sheet. I...
  19. S

    Pasting formulas but not copying over properly

    Hi I have a worksheet that I convert negatives to positives by selecting cell and then putting in formula -1* and dragging all the way down the worksheet. Im then trying to cut and paste the converted values into another row in the worksheet. If I copy and paste they change the red negative...
  20. M

    Complex Concatenation

    I am trying to concatenate a complex string of text and percentages and variances and struggling to get it to work. Can any geniuses out there assist me? A1 = "Revenue" A2 = % which could be +/- which is referencing Cell B2, ie -5.3%. Negative figure not required to be pulled through A3 =...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top