Counting how minutes staff are late.

paulrm906

Active Member
Joined
Jan 26, 2006
Messages
329
Hello everyone

I am currently using the below formula that counts the number to the right of the letter "L" but if the staff member is late more then 99 minutes then the formula will not work (will not work when there are more then 2 digits to count). I have tried various alternatives but so far no luck.

Code:
{=SUM(IF(ISNUMBER(FIND($L$2,O6:GN6)),VALUE(RIGHT(O6:GN6,FIND($L$2,O6:GN6)+1)),0))}

Plus the above formula is an array formula.

Any help or suggestions will be greatly appreciated.

Paul
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Try this:
Code:
{=SUM(IF(ISNUMBER(FIND($L$2,O6:GN6)),VALUE(SUBSTITUTE(O6:GN6,L2,""))))}
 
Upvote 0

Forum statistics

Threads
1,215,461
Messages
6,124,956
Members
449,200
Latest member
indiansth

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