ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   removing some of the characters from a cell (https://www.excelbanter.com/excel-discussion-misc-queries/24647-removing-some-characters-cell.html)

Patience

removing some of the characters from a cell
 
Hi. I have a spreadsheet where attendance in classes is represented as "55 of
60." I need to add the actual # of attendees, so I need to remove the "of
60." How can I do that?
Thanks!

Peo Sjoblom

One way

=--LEFT(A1,FIND(" ",A1)-1)


Regards,

Peo Sjoblom

"Patience" wrote:

Hi. I have a spreadsheet where attendance in classes is represented as "55 of
60." I need to add the actual # of attendees, so I need to remove the "of
60." How can I do that?
Thanks!


Gord Dibben

DataText to ColumnsSpace delimited and skip the columns you don't want.

This will leave 55 in first column.


Gord Dibben Excel MVP


On Tue, 3 May 2005 11:37:05 -0700, "Patience"
wrote:

Hi. I have a spreadsheet where attendance in classes is represented as "55 of
60." I need to add the actual # of attendees, so I need to remove the "of
60." How can I do that?
Thanks!




All times are GMT +1. The time now is 12:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com