• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Change in formula

aligahk06

Member
Dear All,

i want to add one more condition in formula based on attached sheet reference.

please see attached sheet and guide me
 

Attachments

  • TestSegregation.xlsx
    57.3 KB · Views: 6
My solutions are not similar to yours and I am not sure how you wish to report 'Closed' jobs ... but, for what it's worth, ...
Code:
= COUNTIFS(
  RM[Section], Section,
  RM[WO_Status], Status,
  RM[Status], "Open",
  RM[Report Date],">="&DATE(2020,9,1),
  RM[Report Date],"<="&EOMONTH(DATE(2020,9,1),0))
 

Attachments

  • TestSegregation.xlsx
    59.2 KB · Views: 1
=COUNTIFS(
RM[Section],Mech,
RM[WO_Status],WMAT,
RM[Status], "Open",
RM[Report Date],">="&DATE(2020,9,1),
RM[Report Date],"<="&EOMONTH(DATE(2020,9,1),0))
Would u please elaborate the above formula. I tried but failed
I valued yout time and effort.
Thanks Sir.
 
@aligahk06
You would most likely be happiest with @vletm's solution. Your formula hard-wires the row and column heading text into individual formulas, meaning that each cell has to be hand-crafted. @vletm uses relative references (except for the date) meaning that the formula can be copied down and across. I have gone a step further and use defined names (I use conditional formatting to flag any direct reference as an error) and, wherever possible, I use array formulas. For me, with MS 365, the entire formula is filled by one formula held in the top left cell, but that probably takes you well outside your comfort zone! Re-committing the formula by selecting the table and using Ctrl/Enter will replicate the formula in each cell and it should still work as implicit intersection formulas.
 
Back
Top