the second formula is incorrect.
only one log is missing,but it display 2 logs.
the second formula is incorrect.
only one log is missing,but it display 2 logs.
Hi Lonely,
Would you post me a copy of your workbook so I can take a look at it?
Thanks,
Greg M
Hi again,
Sorry - try this:
I tried it on an example which HAD two missing logs, so the formula appeared to work correctly. Hope this one's OK for you.![]()
="Missing Logs = " & COUNTIF(B1:B18,"Log Missing")
Regards,
Greg M
the 1st formula always display 2 logs, but actually only one is missing.
the second formula always return 0, actual one missing log.
here is another problem,i upload the file here.
is in DOC format, after i copy them into excel, the formula doesn't work anymore.
HELP!
Hi Lonely,
I'm really sorry about this - I just didn't check my code thoroughly enough. The following should work & may be inserted anywhere in your worksheet:
Regarding the second problem, I think the difficulty may be caused when you import the data from a document. When I imported the data from the file you uploaded, the times had trailing ")" characters at the end - these need to be trimmed etc.![]()
="Missing Logs = " & COUNTIF(B1:B9999,"Log Missing")
Can you upload a sample of the EXCEL version of the times so I can see what they look like? If the file is too large to upload then just upload a typical extract from it.
Sorry about the first problem & hope I can help with the second one.
Regards,
Greg M
ok..i zip the exce sheet...
i just copy the doc (CTRL+A)then paste it to excel.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks