Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Other Topics > Computer Technical Help
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-12-2007, 01:16 AM
StepBangin StepBangin is offline
Senior Member
 
Join Date: Sep 2005
Location: Lovin My Poker Tracker
Posts: 2,334
Default Easy Excel Question

This is probably really easy, but I dont know how to do it.

I have one column that has either FR, SO, JR, or SR in the cells... I need to change the letters to the numbers 9, 10, 11, or 12.


Anyone know how I can do it so it doesnt take forever?
Reply With Quote
  #2  
Old 10-12-2007, 01:23 AM
LT22 LT22 is offline
Senior Member
 
Join Date: Aug 2007
Location: Making Vids
Posts: 352
Default Re: Easy Excel Question

ctrl+F

click the Replace tab, self-explanatory from there...
Reply With Quote
  #3  
Old 10-12-2007, 02:02 AM
SamIAm SamIAm is offline
Senior Member
 
Join Date: Apr 2004
Location: Merry Chhannukaahh
Posts: 6,273
Default Re: Easy Excel Question

If you don't want to modify the original data, you can write a function like

<font class="small">Code:</font><hr /><pre>if(
A3="FR",
9,
if(
A3="SO",
10,
if(
A3="JR",
11,
12
)
)
)</pre><hr />
I just wrote it all indented so you could read it. Excel would like it better like
if(A3="FR",9,if(A3="SO",10,if(A3="JR",11,12)))

edit: Note that I'm making this up w/o checking it. I might have " instead of ', or whatever.
Reply With Quote
  #4  
Old 10-12-2007, 08:54 PM
stopcensoringme stopcensoringme is offline
Junior Member
 
Join Date: Jul 2007
Posts: 24
Default Re: Easy Excel Question

If you don't mind losing the data, do find and replace.

An alternative to the formula is simply sort the data by that column. Insert a new column and populate the 9s, Ts, etc.
Reply With Quote
  #5  
Old 10-12-2007, 09:25 PM
Meech Meech is offline
Senior Member
 
Join Date: Nov 2004
Location: Meechigan
Posts: 1,159
Default Re: Easy Excel Question

I'd probably use a lookup table to make it extendable, nested ifs give me seizures.

But for 4 input values, i'd do the sort thing above.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:54 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.