Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 93
Default Text to Column Function Rejects Zeros

Hello,

As part of a project, I was conducting a survey (administered online) using
Snap survey software. Snap automatically sends results into an Excel file,
which is great. However, several of the questions allowed participants to
select more than one item ("Check the top 3 things..." etc.). These responses
were coded in Excel into a 10101 format, where 1=checked and 0=not checked,
all in one cell. Since 0 represents a response, I selected the cell
formatting of these columns as Custom (Format-Cell-Number tab-Custom), so
any 0s before the first 1 would not drop off.

But the problem happens when I go to split these
multiple-responses-in-one-cell into their own individual columns. For
example, let's say that Column C represents a question where people could
check up to 3 items, and one respondent did not check the first two and
checked the last one. The cell, then, would appear "001." I need to split
that column into 3 columns, one which will represent the first item, one
which will represent the second item, etc. However, when I use the
text-to-columns function, it does not recognize any 0s in front of the first
1, even though they show up that way on my Excel sheet. Using my above
example, the result I keep getting is the first new column contains a 1, and
the next 2 columns are blank -- it just kicks out the 0s automatically if
they are in front of the first 1.

Is there any other way I can format my cells to lock in those zeros so that
text-to-format recognizes the 0s? Or is there another function I can use to
split those cells into individual columns? Keep in mind that there are no
formulas in my current dataset, just numbers.

Any help would be most sincerely appreciated!!


  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 93
Default Text to Column Function Rejects Zeros

I should specify that I am using Excel 97 - sorry.

"Stephanie" wrote:

Hello,

As part of a project, I was conducting a survey (administered online) using
Snap survey software. Snap automatically sends results into an Excel file,
which is great. However, several of the questions allowed participants to
select more than one item ("Check the top 3 things..." etc.). These responses
were coded in Excel into a 10101 format, where 1=checked and 0=not checked,
all in one cell. Since 0 represents a response, I selected the cell
formatting of these columns as Custom (Format-Cell-Number tab-Custom), so
any 0s before the first 1 would not drop off.

But the problem happens when I go to split these
multiple-responses-in-one-cell into their own individual columns. For
example, let's say that Column C represents a question where people could
check up to 3 items, and one respondent did not check the first two and
checked the last one. The cell, then, would appear "001." I need to split
that column into 3 columns, one which will represent the first item, one
which will represent the second item, etc. However, when I use the
text-to-columns function, it does not recognize any 0s in front of the first
1, even though they show up that way on my Excel sheet. Using my above
example, the result I keep getting is the first new column contains a 1, and
the next 2 columns are blank -- it just kicks out the 0s automatically if
they are in front of the first 1.

Is there any other way I can format my cells to lock in those zeros so that
text-to-format recognizes the 0s? Or is there another function I can use to
split those cells into individual columns? Keep in mind that there are no
formulas in my current dataset, just numbers.

Any help would be most sincerely appreciated!!


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,572
Default Text to Column Function Rejects Zeros

You *must* format your cells to Text, *before* you enter any of your data.
Then, you will have to key in *all* your values, including the leading and
trailing 0's.

Then TTC will work for you.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Stephanie" wrote in message
...
I should specify that I am using Excel 97 - sorry.

"Stephanie" wrote:

Hello,

As part of a project, I was conducting a survey (administered online)
using
Snap survey software. Snap automatically sends results into an Excel
file,
which is great. However, several of the questions allowed participants to
select more than one item ("Check the top 3 things..." etc.). These
responses
were coded in Excel into a 10101 format, where 1=checked and 0=not
checked,
all in one cell. Since 0 represents a response, I selected the cell
formatting of these columns as Custom (Format-Cell-Number tab-Custom),
so
any 0s before the first 1 would not drop off.

But the problem happens when I go to split these
multiple-responses-in-one-cell into their own individual columns. For
example, let's say that Column C represents a question where people could
check up to 3 items, and one respondent did not check the first two and
checked the last one. The cell, then, would appear "001." I need to split
that column into 3 columns, one which will represent the first item, one
which will represent the second item, etc. However, when I use the
text-to-columns function, it does not recognize any 0s in front of the
first
1, even though they show up that way on my Excel sheet. Using my above
example, the result I keep getting is the first new column contains a 1,
and
the next 2 columns are blank -- it just kicks out the 0s automatically if
they are in front of the first 1.

Is there any other way I can format my cells to lock in those zeros so
that
text-to-format recognizes the 0s? Or is there another function I can use
to
split those cells into individual columns? Keep in mind that there are no
formulas in my current dataset, just numbers.

Any help would be most sincerely appreciated!!



  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 93
Default Text to Column Function Rejects Zeros

Put this formula in the column next to your data, then copy down select the
whole column and copy paste special values and it will leave zeroes in and
in text format. TTC away!
=TEXT(A1,"0000")
assuming data in A1 and 4 digits, add or subtract 0's for more/less
--
--
-John
Please rate when your question is answered to help us and others know what
is helpful.

"RagDyer" wrote in message
...
You *must* format your cells to Text, *before* you enter any of your data.
Then, you will have to key in *all* your values, including the leading and
trailing 0's.

Then TTC will work for you.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Stephanie" wrote in message
...
I should specify that I am using Excel 97 - sorry.

"Stephanie" wrote:

Hello,

As part of a project, I was conducting a survey (administered online)
using
Snap survey software. Snap automatically sends results into an Excel
file,
which is great. However, several of the questions allowed participants
to
select more than one item ("Check the top 3 things..." etc.). These
responses
were coded in Excel into a 10101 format, where 1=checked and 0=not
checked,
all in one cell. Since 0 represents a response, I selected the cell
formatting of these columns as Custom (Format-Cell-Number
tab-Custom), so
any 0s before the first 1 would not drop off.

But the problem happens when I go to split these
multiple-responses-in-one-cell into their own individual columns. For
example, let's say that Column C represents a question where people
could
check up to 3 items, and one respondent did not check the first two and
checked the last one. The cell, then, would appear "001." I need to
split
that column into 3 columns, one which will represent the first item, one
which will represent the second item, etc. However, when I use the
text-to-columns function, it does not recognize any 0s in front of the
first
1, even though they show up that way on my Excel sheet. Using my above
example, the result I keep getting is the first new column contains a 1,
and
the next 2 columns are blank -- it just kicks out the 0s automatically
if
they are in front of the first 1.

Is there any other way I can format my cells to lock in those zeros so
that
text-to-format recognizes the 0s? Or is there another function I can use
to
split those cells into individual columns? Keep in mind that there are
no
formulas in my current dataset, just numbers.

Any help would be most sincerely appreciated!!





  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 93
Default Text to Column Function Rejects Zeros

Oh, this worked PERFECTLY! Thank you SO MUCH!!!!!!!!


"John Bundy" wrote:

Put this formula in the column next to your data, then copy down select the
whole column and copy paste special values and it will leave zeroes in and
in text format. TTC away!
=TEXT(A1,"0000")
assuming data in A1 and 4 digits, add or subtract 0's for more/less
--
--
-John
Please rate when your question is answered to help us and others know what
is helpful.

"RagDyer" wrote in message
...
You *must* format your cells to Text, *before* you enter any of your data.
Then, you will have to key in *all* your values, including the leading and
trailing 0's.

Then TTC will work for you.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Stephanie" wrote in message
...
I should specify that I am using Excel 97 - sorry.

"Stephanie" wrote:

Hello,

As part of a project, I was conducting a survey (administered online)
using
Snap survey software. Snap automatically sends results into an Excel
file,
which is great. However, several of the questions allowed participants
to
select more than one item ("Check the top 3 things..." etc.). These
responses
were coded in Excel into a 10101 format, where 1=checked and 0=not
checked,
all in one cell. Since 0 represents a response, I selected the cell
formatting of these columns as Custom (Format-Cell-Number
tab-Custom), so
any 0s before the first 1 would not drop off.

But the problem happens when I go to split these
multiple-responses-in-one-cell into their own individual columns. For
example, let's say that Column C represents a question where people
could
check up to 3 items, and one respondent did not check the first two and
checked the last one. The cell, then, would appear "001." I need to
split
that column into 3 columns, one which will represent the first item, one
which will represent the second item, etc. However, when I use the
text-to-columns function, it does not recognize any 0s in front of the
first
1, even though they show up that way on my Excel sheet. Using my above
example, the result I keep getting is the first new column contains a 1,
and
the next 2 columns are blank -- it just kicks out the 0s automatically
if
they are in front of the first 1.

Is there any other way I can format my cells to lock in those zeros so
that
text-to-format recognizes the 0s? Or is there another function I can use
to
split those cells into individual columns? Keep in mind that there are
no
formulas in my current dataset, just numbers.

Any help would be most sincerely appreciated!!








Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
Sumproduct issues SteveDB1 Excel Worksheet Functions 25 June 3rd 09 04:58 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Zeros in text resulting in #div/0! even when using IF function [email protected] Excel Discussion (Misc queries) 10 March 1st 06 01:38 AM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


All times are GMT +1. The time now is 07:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"