Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum text&numbers
Hi, how can i sum 2 cells that contains each, text and numbers.
Ex: A B late 00:00:05 late 00:02:48 (late 00:00:05)+(late 00:02:48)=late 00:02:53 or (late 00:00:05)+(late 00:02:48)=00:02:53 Thanks in advance. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum text&numbers
Try this in C1
=RIGHT(A1,8)+RIGHT(B1,8) and format the cell as [h]:mm:ss "puiuluipui" wrote: Hi, how can i sum 2 cells that contains each, text and numbers. Ex: A B late 00:00:05 late 00:02:48 (late 00:00:05)+(late 00:02:48)=late 00:02:53 or (late 00:00:05)+(late 00:02:48)=00:02:53 Thanks in advance. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum text&numbers
Thanks!
"Sheeloo" a scris: Try this in C1 =RIGHT(A1,8)+RIGHT(B1,8) and format the cell as [h]:mm:ss "puiuluipui" wrote: Hi, how can i sum 2 cells that contains each, text and numbers. Ex: A B late 00:00:05 late 00:02:48 (late 00:00:05)+(late 00:02:48)=late 00:02:53 or (late 00:00:05)+(late 00:02:48)=00:02:53 Thanks in advance. |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum text&numbers
Hi, i have one more problem. your code it's working but someytimes i have a
blank cell or a cell containing "NO", and it gives me #VALUE! Can the code ignore blank cells or cells containing "NO"? Thanks! "Sheeloo" a scris: Try this in C1 =RIGHT(A1,8)+RIGHT(B1,8) and format the cell as [h]:mm:ss "puiuluipui" wrote: Hi, how can i sum 2 cells that contains each, text and numbers. Ex: A B late 00:00:05 late 00:02:48 (late 00:00:05)+(late 00:02:48)=late 00:02:53 or (late 00:00:05)+(late 00:02:48)=00:02:53 Thanks in advance. |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum text&numbers
Try this formula...
=IF(OR(A1={"","No"},B1={"","No"}),"","late "&TEXT(RIGHT(A1,8)+RIGHT(B1,8),"[hh]:mm:ss")) -- Rick (MVP - Excel) "puiuluipui" wrote in message ... Hi, i have one more problem. your code it's working but someytimes i have a blank cell or a cell containing "NO", and it gives me #VALUE! Can the code ignore blank cells or cells containing "NO"? Thanks! "Sheeloo" a scris: Try this in C1 =RIGHT(A1,8)+RIGHT(B1,8) and format the cell as [h]:mm:ss "puiuluipui" wrote: Hi, how can i sum 2 cells that contains each, text and numbers. Ex: A B late 00:00:05 late 00:02:48 (late 00:00:05)+(late 00:02:48)=late 00:02:53 or (late 00:00:05)+(late 00:02:48)=00:02:53 Thanks in advance. |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum text&numbers
To put the entry in the cell as text...
="late "&TEXT(RIGHT(A1,8)+RIGHT(B1,8),"[hh]:mm:ss") To put the entry in the cell as a real time value... =RIGHT(A1,8)+RIGHT(B1,8) and Custom Format the cell using this... "late "[hh]:mm:ss -- Rick (MVP - Excel) "puiuluipui" wrote in message ... Hi, how can i sum 2 cells that contains each, text and numbers. Ex: A B late 00:00:05 late 00:02:48 (late 00:00:05)+(late 00:02:48)=late 00:02:53 or (late 00:00:05)+(late 00:02:48)=00:02:53 Thanks in advance. |
#7
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum text&numbers
Thanks!
"Rick Rothstein" a scris: To put the entry in the cell as text... ="late "&TEXT(RIGHT(A1,8)+RIGHT(B1,8),"[hh]:mm:ss") To put the entry in the cell as a real time value... =RIGHT(A1,8)+RIGHT(B1,8) and Custom Format the cell using this... "late "[hh]:mm:ss -- Rick (MVP - Excel) "puiuluipui" wrote in message ... Hi, how can i sum 2 cells that contains each, text and numbers. Ex: A B late 00:00:05 late 00:02:48 (late 00:00:05)+(late 00:02:48)=late 00:02:53 or (late 00:00:05)+(late 00:02:48)=00:02:53 Thanks in advance. |
#8
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum text&numbers
Hi, i have one more problem. your code it's working but someytimes i have a
blank cell or a cell containing "NO", and it gives me #VALUE! Can the code ignore blank cells or cells containing "NO"? Thanks! "Rick Rothstein" a scris: To put the entry in the cell as text... ="late "&TEXT(RIGHT(A1,8)+RIGHT(B1,8),"[hh]:mm:ss") To put the entry in the cell as a real time value... =RIGHT(A1,8)+RIGHT(B1,8) and Custom Format the cell using this... "late "[hh]:mm:ss -- Rick (MVP - Excel) "puiuluipui" wrote in message ... Hi, how can i sum 2 cells that contains each, text and numbers. Ex: A B late 00:00:05 late 00:02:48 (late 00:00:05)+(late 00:02:48)=late 00:02:53 or (late 00:00:05)+(late 00:02:48)=00:02:53 Thanks in advance. |
#9
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum text&numbers
Hi,
Try this: =SUMPRODUCT(--SUBSTITUTE(A1:A2,"late ","")) assuming your two enteries are in A1:A2. On the plus side of this fomula is that is will work for 100 cells just as well as 2. Format the cell to time. -- If this helps, please click the Yes button Cheers, Shane Devenshire "puiuluipui" wrote: Hi, how can i sum 2 cells that contains each, text and numbers. Ex: A B late 00:00:05 late 00:02:48 (late 00:00:05)+(late 00:02:48)=late 00:02:53 or (late 00:00:05)+(late 00:02:48)=00:02:53 Thanks in advance. |
#10
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum text&numbers
Thanks!
"Shane Devenshire" a scris: Hi, Try this: =SUMPRODUCT(--SUBSTITUTE(A1:A2,"late ","")) assuming your two enteries are in A1:A2. On the plus side of this fomula is that is will work for 100 cells just as well as 2. Format the cell to time. -- If this helps, please click the Yes button Cheers, Shane Devenshire "puiuluipui" wrote: Hi, how can i sum 2 cells that contains each, text and numbers. Ex: A B late 00:00:05 late 00:02:48 (late 00:00:05)+(late 00:02:48)=late 00:02:53 or (late 00:00:05)+(late 00:02:48)=00:02:53 Thanks in advance. |
#11
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum text&numbers
Hi, i have one more problem. your code it's working but someytimes i have a
blank cell or a cell containing "NO", and it gives me #VALUE! Can the code ignore blank cells or cells containing "NO"? Thanks! "Shane Devenshire" a scris: Hi, Try this: =SUMPRODUCT(--SUBSTITUTE(A1:A2,"late ","")) assuming your two enteries are in A1:A2. On the plus side of this fomula is that is will work for 100 cells just as well as 2. Format the cell to time. -- If this helps, please click the Yes button Cheers, Shane Devenshire "puiuluipui" wrote: Hi, how can i sum 2 cells that contains each, text and numbers. Ex: A B late 00:00:05 late 00:02:48 (late 00:00:05)+(late 00:02:48)=late 00:02:53 or (late 00:00:05)+(late 00:02:48)=00:02:53 Thanks in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how to extract numbers from imported cell with text and numbers? | Excel Discussion (Misc queries) | |||
VLOOKUP should compare numbers stored as text to plain numbers. | Excel Worksheet Functions | |||
Convert numbers stored as text to numbers Excel 2000 | Excel Discussion (Misc queries) | |||
How do I convert numbers stored as text with spaces to numbers | Excel Discussion (Misc queries) | |||
How to convert Excel imported numbers from text to numbers? | Excel Discussion (Misc queries) |