PC Review


Reply
Thread Tools Rate Thread

Adding letters and numbers

 
 
TH3ROOKIE
Guest
Posts: n/a
 
      21st Sep 2005

Hi.

Here's what I'm looking to do.

If I enter this in cell A:6 to A:8

A:6 = 10b65b22
A:7 = 10b65b22
A:8 = 10b65b21

then excel will see that A:6 and A:7 is the same value so it will erase
A:7 and B:6 will give 2.

So if A:8 was the same then A=6 then A:8 erase itself and B:6 gives 3.

The other thing is if I enter this

A:6 = 8kb7800

Then I want excel to recognize the first 3 numbers/letters and if the
first 3 characters = 8kb, then c:6 = FEDEX

Hope I can get some help


--
TH3ROOKIE
------------------------------------------------------------------------
TH3ROOKIE's Profile: http://www.excelforum.com/member.php...o&userid=13363
View this thread: http://www.excelforum.com/showthread...hreadid=469379

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      21st Sep 2005
You could use a formula in B2 (headers in Row 1):

=IF(COUNTIF($A$2:A2,A2)=1,COUNTIF(A:A,A2),"Delete me")
then drag down the length of your data

Select column B and
edit|copy
edit|paste special|values

Apply data|filter|autofilter to column B
Filter to show "delete me"
select those visible cells
rightclick on your selection
delete
entire row.

Delete the original column A if you want.

For the second part, I' create a new worksheet with those 3 letter codes and
translated names.

Then use a formula like this in another helper column:
=vlookup(left(b2,3),sheet2!a:b,2,false)

For more info about =vlookup()...
You could look at Debra Dalgleish's site:
http://www.contextures.com/xlFunctions02.html

TH3ROOKIE wrote:
>
> Hi.
>
> Here's what I'm looking to do.
>
> If I enter this in cell A:6 to A:8
>
> A:6 = 10b65b22
> A:7 = 10b65b22
> A:8 = 10b65b21
>
> then excel will see that A:6 and A:7 is the same value so it will erase
> A:7 and B:6 will give 2.
>
> So if A:8 was the same then A=6 then A:8 erase itself and B:6 gives 3.
>
> The other thing is if I enter this
>
> A:6 = 8kb7800
>
> Then I want excel to recognize the first 3 numbers/letters and if the
> first 3 characters = 8kb, then c:6 = FEDEX
>
> Hope I can get some help
>
> --
> TH3ROOKIE
> ------------------------------------------------------------------------
> TH3ROOKIE's Profile: http://www.excelforum.com/member.php...o&userid=13363
> View this thread: http://www.excelforum.com/showthread...hreadid=469379


--

Dave Peterson
 
Reply With Quote
 
TH3ROOKIE
Guest
Posts: n/a
 
      21st Sep 2005

Doesn't work.... gives me an error when entering formula

I've entered this formula in cell b1, and when I tried to do somethin
else... BANG !!!! an error....

=IF(COUNTIF($A$2:*-A2,A2-*)=1,COUNTIF(A:A,A2),"Delete me")

it doesn't accept the value that are bold characters.

Same thing for the vlookup too, I've read and tried the example on th
link you gave me, it gives me an error too...

I'm trying hard to learn, but excel doesn't help me alot... it tell
me that I have an error.. but not what kind....

--
TH3ROOKI
-----------------------------------------------------------------------
TH3ROOKIE's Profile: http://www.excelforum.com/member.php...fo&userid=1336
View this thread: http://www.excelforum.com/showthread.php?threadid=46937

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      21st Sep 2005
First, the interface that most use doesn't show any bold characters (I connect
directly to the newsgroups--not through excelforum).

Do you see numbers as column headers or letters?

If you see numbers, change them (temporarily, if you want) to letters:
tools|option|General tab|uncheck R1C1 reference style.

If you're outside the USA, you might use a different list separator. In Europe,
lots of people use a semi colon:

=IF(COUNTIF($A$2:A2;A2)=1;COUNTIF(A:A;A2);"Delete me")

(I think I changed all the commas to semicolons.)

TH3ROOKIE wrote:
>
> Doesn't work.... gives me an error when entering formula
>
> I've entered this formula in cell b1, and when I tried to do something
> else... BANG !!!! an error....
>
> =IF(COUNTIF($A$2:*-A2,A2-*)=1,COUNTIF(A:A,A2),"Delete me")
>
> it doesn't accept the value that are bold characters.
>
> Same thing for the vlookup too, I've read and tried the example on the
> link you gave me, it gives me an error too...
>
> I'm trying hard to learn, but excel doesn't help me alot... it tells
> me that I have an error.. but not what kind.....
>
> --
> TH3ROOKIE
> ------------------------------------------------------------------------
> TH3ROOKIE's Profile: http://www.excelforum.com/member.php...o&userid=13363
> View this thread: http://www.excelforum.com/showthread...hreadid=469379


--

Dave Peterson
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding letters instead of numbers mits Microsoft Excel Worksheet Functions 6 5th Aug 2009 12:05 PM
Adding letters instead of numbers Can :) Microsoft Excel Worksheet Functions 2 5th Aug 2009 12:00 AM
adding numbers with letters jbruce911@yahoo.com Microsoft Excel Worksheet Functions 21 10th Jan 2008 10:34 AM
adding numbers but not letters SoozeeC Microsoft Excel Worksheet Functions 4 20th Dec 2007 11:00 AM
adding numbers with letters =?Utf-8?B?U2luZ2hh?= Microsoft Excel Misc 4 25th Oct 2006 01:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:42 AM.