date]

  1. gheyman

    IIF statement with an AND and an OR

    Is this correct? MONTH1_PDL: IIf(((DateDiff("m",[PDIR Due Date],Now()))>1) And ((DateDiff("m",[PDIR Completed],Now()))=<1) Or ([PDIR Completed] Is Null),1,0) I need the first condition met and only one of the next two to true [PDIR Due Date],Now()))>1 Needs to be True AND [PDIR...
  2. gheyman

    Access: IIf formula missing a bracket, parenthesis...

    I'm getting an error message for this IIF statement. My eyes are not seeing where the problem is. IIf(CStr(DateDiff("m",[PDIR Due Date],Now()))=0,1,IIf((CStr(DateDiff("m",[PDIR Submission Date],Now()))<0) AND (CStr(DateDiff("m",[PDIR Completed],Now()))>0),1,0) Thanks! Found it...
  3. gheyman

    Formula in a Query in the Feild

    In design mode you can enter a column and make it a formula (example: MONTH1_PD: IIf([PDIR Completed] Is Null,DateDiff("d",[PDIR Due Date],Now()),"") This is just an example I'm need a rather complex formula I need a formula that says IIF [PDIR Completed] >= [PDIR Due Date], "1","0" But...
  4. gheyman

    ACCESS: Not Null Question

    I want to change this to Not Null from Is Null. Any help is appreciated TAT: IIf([PDIR Completed] Is Null,DateDiff("d",[PDIR Due Date],[PDIR Completed],"") Thanks for the help!
  5. D

    filter subform using cbo box

    Access 2016 I have a form f_WorkingHours with a subform f_WorkingHoursSub. The subform has a combobox called cboDate in the form header. I want to filter the [Report Date] in the subform using cboDate. Also need the option to select all dates or unfilter to show all dates if user wants to...
  6. M

    VAR inside CALCULATE?

    Hopefully others have encountered this situation. There's a lot I need to wrap my head around in DAX and the order that calculations happen is one of them. I'm not sure whether the following measure is doing what I think it's doing without having to create multiple intermediate helper columns...
  7. F

    Transfer Dax Formula into PowerQuery M-Language so I can exclude from Power Desktop

    Hi all, I have the following dax code which i want to transfer to power query so i can exclude certain rows before they get to Power Bi desktop: FilterMostRecentSurvey = IF ( SurveyData[Report date] = CALCULATE ( LASTDATE ( SurveyData[Report date] ), FILTER...
  8. M

    USERELATIONSHIP filter question

    I've got a measure where I'd like to have a USERELATIONSHIP clause in the CALCULATE. The code below works... however, I'm not clear why I can't add the USERELATIONSHIP as a filter parameter to the "inner" CALCULATE. If I do that without the outer CALCULATE the measure returns blank<blank>...
  9. M

    Accrual Calculation

    I'm hoping someone has done this already and has some quick formulas to offer - this could be a tough one otherwise. I would like to show accruals for various time periods. Accrual accounting is complex so my request here is a bit simplified, but it's getting the monthly report tied to a...
  10. K

    Sumifs

    SUMIFS(input_table
  11. H

    Countif not working in a table

    So I have a table in which i'm trying to add a check to see if any values in the last column of this table return a value of "FALSE" (it's worth mentioning that this "FALSE" is not strictly text - it's an IF formula result) . I'm using the CountIf formula but I can't seem to get it to work...
  12. S

    sumifs() across tables

    I have a couple of tables and I need to sum if based on multiple criteria within these tables. Table 1 - Sales History: <tbody> Item ID Order Date Units Sold 40916 4/4/2018 1 41444 5/2/2018 3 </tbody> Table 2 - Promos: <tbody> Item ID Promo Start Date Promo End Date Sales during period...
  13. D

    STDEV With 3 Criteria

    Hello, I have an STDEV array that calculates with 2 criteria, but It won't calculate with three. How can I get this to work? Works =STDEV(IF(Amazon!$M$2:$M$54330>=Summary!D6-52,IF(Amazon!$M$2:$M$54330<=Summary!D6-7,Amazon!$I$2:$I$54330))) =STDEV(IF([All Dates]>=[Start Date],IF([All...
  14. P

    IIF OR Statement Issue

    I have this long IIF statement. Access appears to be placing [] around my quoted TRUE statement in the OR part of the statement. Here is the query: Closed Date: IIf([Delta].[Closed]="Y",IIf([Delta].[Actual End Date] Is Null,[Delta].[Last Update Date],[Delta].[Actual End Date]),IIf([Task...
  15. 1

    SumIfs with Multiple Criteria Help

    I've been trying to figure this out and have hit a road block. I have a table that contains Order#'s that are similar. I need to SUM Ext#DSP when the Order#'s Match and the Ship Date is within a Term Start & End Date to produce another report. Here's what I got so far, but I know its not what it...
  16. S

    Leave tracker issues - formula written but has an error

    =SUMIFS(LeaveTracker[Days],LeaveTracker[Employee Name],I_RPT_EMP,LeaveTracker[Start Date],">="&DATE(I_RPT_YR,1,1),LeaveTracker[End Date],"<"&DATE(I_RPT_YR+1,1,1),LeaveTracker[Type of Leave],'Leave Types'!b4) this is the formula im using. "leave tracker" is B4-F126 which reference the...
  17. S

    Calculate operating days.

    Hi All, how can calculate the operating days STORELIST[Start Date] is the store opened date STORELIST[End Date] is the store close date [NEnd] is Max(Calendar[Date]) [NSt] is Min(Calendar[Date]) how can more simply calculate the operational number of days between any selected date, is there...
  18. M

    How to find minimum interval?

    We have a file of order history for supplies. Within a storeroom I would like to find the minimum order time for each item within a selected time period. We run 2-bin Kanban so two orders on the same day would indicate a stockout. Primary key is Storeroom_Item#_Unit of Measure e.g...
  19. S

    equivalent DAX in excel 2013

    I have a DAX to calculate the operating days considering the store open/close date. the below is working fine in Excel 2017. but getting error when the file is opened using Excel 2013 OpDaysLY:=FORMAT ( SUMX ( ADDCOLUMNS ( SUMMARIZE ( STORELIST...
  20. T

    Converting calculated queries to an update query

    Hello, I've got a select query in which I've created a formula to work out if a 'deferral date' should be provided for an order line. A: IIf(DateDiff("m",[Instalment Posting Date],[Start date]) Is Null And DateDiff("m",Date(),[Start date])>=1,[Start Date],"") B: IIf(DateDiff("m",[Instalment...

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