trunc

  1. S

    TRUNC function in COUNTIF or COUNTIFS produce error message

    Hello, Would you know why the usage of a TRUNC function into COUNTIF our COUNTIFS, as here-after, produce the following error message ? =COUNTIF(TRUNC($A$2:$A$6),D$1) The range $A$2:$A$6 contains some numbers with decimals and I aim to count how many of them matches the cell D1 that contains...
  2. B

    Dynamic Column Name Identifier Formula (USING MOST RECENT VERSION OF OFFICE 365)

    File: Dynamic Column Identifier Formula.xlsm I created this formula to dynamically return the column name based on the corresponding column number. That said, it works intermittently once you get to Column AA. I could understand if it was broken completely at Column AA and beyond, but I cannot...
  3. J

    Decimal values - is this normal?

    Hi Please have a look at this workbook. There are oddities in the sum in cell B12107. I was expecting that the sum would have values only in 2 decimal places. Likewise, in column B, I was expecting values in only the first 2 decimal places. Is this the expected behavior? I get the same...
  4. A

    TRUNC vs ROUNDDOWN

    hi, does anybody knows what is difference between TRUNC and ROUNDDOWN functions in excel? except optional or required for second argument
  5. T

    Problem debugging a Function - code works fine when embedded

    I am trying to create a function which returns the amount of tax based on a gross pay amount. This uses a lookup on data stored in worksheet. When I use the code directly in my main worksheet it works fine but its a long formula which I thought could be better implemented as a function. First...
  6. S

    Utilizing COUNTIF and TRUNC

    Hello, I am trying to run a running formula where I would need to do a countif with a trunc or int on a date i.e. What I'm trying to achieve Column A 10/4/2017 8:20:53 PM 9/14/2017 22:37 10/4/2017 0:11 10/2/2017 22:36 10/4/2017 16:53 10/4/2017 20:16 10/4/2017 19:00 10/4/2017 19:00 10/4/2017...
  7. T

    Vlookup not finding value when using TRUNC function

    Has anyone had an issue with or know how to resolve an issue where VLOOKUP returns an #NA for a value that is known to exist in the array when the lookup_value is the output of a TRUNC function. Basically I have... column E as a percentage ie. E3 = 35.7278134665715% and column F is using the...
  8. L

    Trying to find values from header of colums and rows, from table.

    So this is previous formula...
  9. C

    Y axis on line chart with non fixed data set (number of decimals differs every time)

    Hi there, I am trying to build a line chart which is based on a data set which will move over the time. Basically, sometimes my source data will have 4 decimals, sometimes 3, sometimes 2, etc. For example, on a set of data which will have a minimum of 1.3012 and a maximum of 1.4512, I would...
  10. V

    Custom formatting code - rounding problem

    Here the problem raises with rounding the two decimal values. But i need like using trunc in custom formatting. I need the values not to get rounded with decimal but display as it was. Problem 1 [>=1000000]$#0.00,, "M";[>=100000]$#0.00, "K";$#.00 this code converts millions and K with 2...
  11. A

    TRUNC function Error

    He're's my data: 98.9000000000 (location Register!N1006) I'm using this formula: =TRUNC(Register!N1006, 2) This should truncate the number to 98.90, but I get 98.89. What gives? Screen grab - if this works I'm using Excel 2010 on Windows XP.

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