Hi ALL,
I'm using the formula below and its always returning a value of 1 when it should be 0. I've tried different options to generate but this seems to be the best way. What am I missing here?
![]()
Please Login or Register to view this content.
Hi ALL,
I'm using the formula below and its always returning a value of 1 when it should be 0. I've tried different options to generate but this seems to be the best way. What am I missing here?
![]()
Please Login or Register to view this content.
Last edited by halimgunawan; 11-25-2024 at 12:24 AM.
You forgot to attach a sample workbook.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
To clarify the need for a workbook: there is no way to troubleshoot this long formula without knowing what it is referring to. We have no idea what's in the ranges and cells referenced, so it's impossible to tell you why it's not doing what you want.
Your FILTER will return an error if there is no matching data. Hence, what you see is a count of the error message, that is, one row (probably #CALC).
You would need to test for the FILTER returning an error. Might be better if you used the last parameter of the FILTER to return "No Data". Then you'll know what to test for.
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
sorry I forgot the sample data..here it is..
I also have another question on the file. Pls help alook, Thanks in advance.
You would probably be better off using PivotTable. Easy to set up and use.
And with slicers, you can do multiple selections easily and have better visualisation.
Hi Josepteh,
yes, I know, but due to the certain circumstances. I have to use the way it is.
the pivotable option unable to solve any duplicates.
Try this,
![]()
Please Login or Register to view this content.
Hi Windknife,
Thanks, but if I choose company Z, Dept ANS the result become, #REF!?
can it still show the table with value 0 ?
Try this (untested):
![]()
Please Login or Register to view this content.
Try this,
![]()
Please Login or Register to view this content.
Thanks windknife, AliGW,
another question and it is the last.
I have another question on the file. Could you pls help to check on it?
if I choose the month Jun, how to show Jan-June?
also how to show the Mar: 0, May: 0, which not on rawdata?
Try this,
![]()
Please Login or Register to view this content.
it works windknife...many thanksssssss....
Add a helper column in MasterData with this formula:=IF(COUNTIFS(C$1:C6,[@Participant],J$1:J6,[@Year],K$1:K6,[@Month])>1,"Yes","No").
You are welcome.![]()
Hi Windknife,
I realized that the formula return to the wrong numbers when I select company: Z, dept: ALL, training topics: ALL, month: Jan
it should be 19 right? but it shows 124.
which part should I revise? many thanks in advance.
Amended formula,
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks