Comments on: Excel Help
http://ask.metafilter.com/227729/Excel-Help/
Comments on Ask MetaFilter post Excel HelpTue, 30 Oct 2012 00:00:41 -0800Tue, 30 Oct 2012 00:13:33 -0800en-ushttp://blogs.law.harvard.edu/tech/rss60Question: Excel Help
http://ask.metafilter.com/227729/Excel-Help
Excelfilter: How do I find and replace (e.g. replace 17 for 18) a set of numbers in the format: 17-01-06 without it being recognised as a date? <br /><br /> Currently the set of numbers are formatted as text (but other formattings didnt help)post:ask.metafilter.com,2012:site.227729Tue, 30 Oct 2012 00:00:41 -0800freddymetzexcelfindandreplaceresolvedBy: roofus
http://ask.metafilter.com/227729/Excel-Help#3295515
=REPLACE(17,1,18) will work if you are always changing the left most characters.<br>
<br>
Alternatively if your still stuck you can use "text to columns" to break the date string into three new variables representing day month and year. You can then use any combination of sort, find and replace to help clean the day variable.comment:ask.metafilter.com,2012:site.227729-3295515Tue, 30 Oct 2012 00:13:33 -0800roofusBy: Mons Veneris
http://ask.metafilter.com/227729/Excel-Help#3295516
Extremely easy and somewhat hacky: In the find and replace field, append a ' (single quote) before the 18 (So you're finding 17 and replacing with '18). That'll force excel to keep it as text and not convert it to a date. This only works because you're trying to find and replace a string at the beginning of the string.<br>
<br>
Quick and easy: Say your data is in column A and starts at row 2. Make a new column B and place the following formula in it: ="18"&RIGHT(A2, 6) . Drag the formula to the bottom, then copy and paste as value into column A. Delete column B. Done.comment:ask.metafilter.com,2012:site.227729-3295516Tue, 30 Oct 2012 00:16:23 -0800Mons VenerisBy: viggorlijah
http://ask.metafilter.com/227729/Excel-Help#3295522
Copy paste the column into a plain text editor, find+replace, copy paste back into Excel.comment:ask.metafilter.com,2012:site.227729-3295522Tue, 30 Oct 2012 00:40:19 -0800viggorlijahBy: freddymetz
http://ask.metafilter.com/227729/Excel-Help#3295527
Thanks guys! For my particular sheet (every number had a barcode generated by a formula directly above it) the "hack" with the single quote did the job most efficiently!comment:ask.metafilter.com,2012:site.227729-3295527Tue, 30 Oct 2012 01:20:58 -0800freddymetz