XERROR allows for conveniently generating most of the Excel errors as output to functions
With XERROR, it is very easy to generate all but four of the Excel errors as output to functions. Error types 0, 1, 2, 3, 4, 5, 6, 7, 8, 13, and 14 (i.e. #EXTERNAL!, #NULL!, #DIV/0!, #VALUE!, #REF...
I'm trying to solve a problem, so far without success. I have a pivot table and , with VBA code, I would like the values in the 'Country' field to be in the exact order I specified:
(blank), Czech Republic, Finland, Denmark, Norway, Spain, Greece, Brazil, Argentina
This is what I have:
I...
Hi!
I´ve been trying to get a measure in my pivot table to get the % of reject orders of a partner / Total order order of partner, and that it can change if I use a slicer to change it by day, month, etc.
This is an example of the data table which I use:
And this is the pivot table which I...
ActiveSheet.Range("$A$8:$AH$1894").AutoFilter Field:=1, Criteria1:=Array( _
"NOT STARTED", "ON-HOLD", "STARTED"), Operator:=xlFilterValues
ActiveSheet.Range("$A$8:$AH$1894").AutoFilter Field:=2, Criteria1:="NCR"
Hello All,
The Code above is working to filter only "NCR" (after Field...
I would like to add a pop-up Message box that happens in this code after the DoCmd.RunCommand acCmdSaveRecord.
"Do you want to return to the TSL?"
If Yes then then DoCmd.OpenForm "frm_NIS_TSL", acNormal, "", "", , acNormal
If No then the DoCmd.GoToRecord , "", acNewRec command
Any help is...
I have a calculated field formula calculating a simple division as follow:
='Cell C2' / 'Cell B2'
Some cells are returning the #DIV/0! error because some column C cells are zero. How do I write the formula to return a blank when the denominator is zero.
Thanks
In Cell A1 I have a Huge Text String that originated in a .pdf file.
There are no useful delimiters, such as commas or semi-colons.
any text that has two or more spaces between is a field in the original .pdf
is there a way to split this out is by using two or more blank spaces as the delimiter?
Hi:
I have the following code which I am trying to use to clear out the data fields in a pivot table and substitute with a data field selected by the user with a macro button. The code falls down on the very last line showing a 'Run time error 5 Invalid call or argument'. Please help!
Sub...
I have 4 =IF(AND(SUM formulas that all work individually, but I would like to get them all to work in one cell. Can this be done?
Here are the formulas:
=IF(AND(SUM(D3:L3)>9,(SUM(D3:L3)<14),SUM(D3:E3)>0,SUM(F3:G3)>0),"$50","$0")
=IF(AND(SUM(D3:L3)>14,SUM(D3:L3)>0,SUM(F3:G3)>0),"$75","$0")...
Hi, I would like a user form date input field where "dummy" characters appear in the field when field is selected i.e. dd/mm/yyyy. These characters should be greyed out. When the user starts input to the field, input would overwrite the "dummy", in black. My attempts up to now have resulted in...
I borrowed some code that was in a worksheet that the people that came before me created...
I have adapted it to work for me in another situation but I am wanting to modify it.
Basically I have a data collection machine that creates csv files with information. I am wanting to extract...
Hi all, I am trying to extract out various details from a text string.
The fields I am trying to extract are as follows:
Field 1 = volume information eg. 10
Field 2 = volume measurement eg. Oz or ML
Field 3 = perfume type eg. EDT, Eau De Toilette. On this field specifically, several equivalent...
So Index/Match is a great tool but I'm having a hard time wrapping my brain around this... I want to return a field called "Date" to "Table1" from "Table2" using a common field of "Ticket" but i keep breaking things.. Kind of like a Vlookup but without the first column restriction...
Thanks in...
If I had a table with vendor history of each purchase they made (the table has the same customer listed numerous times under VendorName). The table has a "CreatedDate" field that puts the date the record was created in it and the table also has an AutoCount field "ID_NISTSL". So there are two...
Is it possible to add the User Name to each record that's being added to a table? I am using an Append Query to add the new record(s). I thought I could create a field in my query to do that, by what I am trying doesn't work
CreatedBy: Environ("Username")
HI EXPERTS,
I HAVE PIVOT TABLE WHICH IS GATHERING DATA FROM TWO DIFFERENT TABLES. RELATIONSHIP IS WORKING FINE (I THINK) BUT I AM STUCK AT ADDING A "FIELD" OR A "COLUMN" TO GET THE RESULTS BY WHICH WILL BE THE END PRODUCT OF DEDUCTION FROM "TABLE 1" TO THE ITEMS OF "TABLE 2". BOTH VALUES ARE...
Hello all,
I am working on an addition to the massive dBase I have, a query that compares two different tables, linked by a name field in each, and performing a datediff function.
For the most part I have this working. The datediff is operational, but the slight issue and question I have is...
<tbody>
Name (Column AD)
Category (AE)
Total Hrs (AF)
Pay Rate (AG)
Wage (AH)
John Doe 1
TT Field
12.5
<tbody>
$104.55/hr
</tbody>
<tbody>
$1,306.88
</tbody>
John Doe 2
TT Field
4
<tbody>
$104.55/hr
</tbody>
<tbody>
$418.20
</tbody>
John Doe 3
Field
15
<tbody>
$34.85/hr...
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.