Looking for autosum help with numbers, letters and dates

SlurpeeD

New Member
Joined
Jul 25, 2024
Messages
6
Office Version
  1. 365
Platform
  1. Windows
I am trying to figure out the formula to do an auto sum with numbers letters and times in minutes and seconds.

Its basically a weekly tracker. Cells F4 through L4. I want M4 to add the times (ex 2+39), but ignore the X's which represent days off, and numbers which are their employee attributes (these number 1-46).

Thanks!
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
How can we tell the difference between times (2+39) and employee attributes (1-46)?

A picture or some data would help.
 
Upvote 0
7/7/247/8/247/9/247/10/247/11/247/12/247/13/24
TimeImpedTimeImpedTimeImpedTimeImpedTimeImpedTimeImpedTimeImped
X2+002+393+291+3934X
04+262+25XX4+012+16
3+283+38XX3+124+362+19
2+38XX3+46194+281
3+133+092+54XX342+59
4+282+442+593+49XX
4+141+542+152+56XX34
2525252525XX
3+183+20XX3+404+083+33
X2525252525X
21+1921+1113+1214+008+3117+1311+07
 
Upvote 0
So each cell will either have an "X", a time represented as "4+26" or "2+25" and so on, or a raw number (1-46). I need a formula that just adds times and ignores everything else. Dont know if that is possible lol.
 
Upvote 0
  1. For that sample data, what would be the expected results?
  2. Is there also data in the 'Imped' columns? If so, what is that data like (samples)?
 
Upvote 0
There would be a number in the Imped column. Looking for a sum of all the time in each row excluding the regular numbers in the imped column and the X's.
 
Upvote 0
F4 through L4. I want M4 to add the times (ex 2+39), but ignore the X's which represent days off, and numbers which are their employee attributes (these number 1-46).
Also can you clarify - in your original post you say you want the sum from F4 to L4 in M4, but your data as posted would go out to S4?
 
Upvote 0
I would like each row to have a sum of hours represented as either 12:51 or 12+51, ignoring the X's and raw numbers. This sum would be in M4.
 
Upvote 0
Try this:
Excel Formula:
=SUM(IF(ISNUMBER(SEARCH("+",A3:A12)),--REPLACE(A3:A12,2,1,":"),0))
1722271966692.png
 
Upvote 0

Forum statistics

Threads
1,221,320
Messages
6,159,215
Members
451,547
Latest member
loop98

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