If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > ' before numbers and text

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-08-04, 06:56
wielens8 wielens8 is offline
Registered User
 
Join Date: Mar 2004
Posts: 6
' before numbers and text

I have made some subtotals. Now before some of the (not all) totals there is an ' .For example
1 totals
2 totals
'3 totals
'4 totals
5 totals
etc.

Now it is not possible to use the VLOOKUP function. I want to search on 1,2,3,4,5 (I removed the "totals").

Any solutions????
Reply With Quote
  #2 (permalink)  
Old 04-08-04, 09:12
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
What's interesting is that if you select one of the cells with the ' in it, but don't edit it, once you move out of the cell, then the number appears appropriately.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #3 (permalink)  
Old 04-08-04, 09:49
wielens8 wielens8 is offline
Registered User
 
Join Date: Mar 2004
Posts: 6
If I click the cell (cursor appears after the text) and the press enter. the ' still is before the text. I really have the remove the ' manually.
Reply With Quote
  #4 (permalink)  
Old 04-08-04, 10:32
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
If you select the cell and then hit F2, it appears to be the same.

Hoever, if you want to remove that you can use something like in C2:

=LEFT(B2,LEN(B2)-7)

Then copy down the column. (The "7" stands for the space plus Totals = " Totals")

Then format the cells as general. It may be at that point that selecting the cell and hitting F2 will change it to the number.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #5 (permalink)  
Old 04-08-04, 12:18
SR22Mike SR22Mike is offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA, Earth
Posts: 65
Here's some VBA code I use to remove tick marks.

sub TickRemover()

Range("A1").select

Do
ActiveCell = ActiveCell.Value
ActiveCell.Offset(1, 0).Select
Loop Until ActiveCell = ""

End Sub

Enjoy!
-Mike
Reply With Quote
  #6 (permalink)  
Old 04-13-04, 05:41
wielens8 wielens8 is offline
Registered User
 
Join Date: Mar 2004
Posts: 6
Thanx This works great!!!
Reply With Quote
  #7 (permalink)  
Old 04-13-04, 07:18
harg7769 harg7769 is offline
Registered User
 
Join Date: Mar 2004
Location: Glasgow
Posts: 8
Remove the ticks

To remove the ', couldn't you just have done a copy/Paste Special and multiplied all the cells in the range by 1 to force them to numbers? That's how I do it anyway.


Andrew H
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On