Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I ignore a character in a cell?

I'm comparing numbers between two cells and I used the conditional
format to do this. But now I need to remove a character from the first
cell in order to get the right results. The first
cell would have something like this Q000003 which would be the quantity
and the second cell would be 2. And my condition is if first cell is
greater than second cell than the first cell would change colors. But I
need to ignore the Q in order to get the right results. How do I fix
this?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default How do I ignore a character in a cell?

rowan explain more to etdmai about the use of 255 there, other wise he
might think of it as essential.

yours
sajay


Assuming Q00003 is in cell A1 then:
=VALUE(MID(A1,2,255))
will return the numerical number 3.


Hope this helps
Rowan

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 414
Default How do I ignore a character in a cell?

Sajay

1. I'm not sure I am that open to taking orders in this newsgroup.
2. The matter has been resolved (I think) in another thread:
http://tinyurl.com/86y6w
3. In the verison of excel that I am using (2002) the third argument in
the MID worksheet function is not optional and hence is essential. While
the OP could adjust the number of characters used here to suit the data
I cannot as I do not know exactly what format the data will take in
every case.

Rowan

sajay wrote:
rowan explain more to etdmai about the use of 255 there, other wise he
might think of it as essential.

yours
sajay


Assuming Q00003 is in cell A1 then:
=VALUE(MID(A1,2,255))
will return the numerical number 3.


Hope this helps
Rowan

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default How do I ignore a character in a cell?

but explain why 255 and not any other sum
even i have doubts



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
Excel 2007 - Formatting text in cell (character by character) TomC Excel Discussion (Misc queries) 0 January 29th 10 07:25 PM
Ignore NA in a formula when I type it in a cell Tyler Manhattan Excel Worksheet Functions 4 August 27th 08 10:23 AM
How do I ignore cell values of zero? cenendra Excel Worksheet Functions 2 February 19th 08 06:02 PM
How do I ignore newline character/carriage return while importing Achal Excel Discussion (Misc queries) 6 March 24th 05 02:24 AM
Ignore Symbols in a cell Geo Excel Discussion (Misc queries) 2 March 10th 05 03:16 PM


All times are GMT +1. The time now is 02:45 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"