#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default Report Numbers only

A1 = 200C, I would like B1 to show the content of A1 with out the the letter
at the end. ie 200. I have tried to use INT, but that will only work on
decimal numbers.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default Report Numbers only

=Left(A1,3)

HARDEEP KANWAR

"The Rook" wrote:

A1 = 200C, I would like B1 to show the content of A1 with out the the letter
at the end. ie 200. I have tried to use INT, but that will only work on
decimal numbers.

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default Report Numbers only

Thanks for that, but I should have also mentioned that the number could vary
in length ie 1C or 10C or 100C or even 1000C Therefore +left doesn't work

Thanks

"Hardeep_kanwar" wrote:

=Left(A1,3)

HARDEEP KANWAR

"The Rook" wrote:

A1 = 200C, I would like B1 to show the content of A1 with out the the letter
at the end. ie 200. I have tried to use INT, but that will only work on
decimal numbers.

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Report Numbers only

Try this:

=--SUBSTITUTE(UPPER(A1),"C","")


"The Rook" wrote:

Thanks for that, but I should have also mentioned that the number could vary
in length ie 1C or 10C or 100C or even 1000C Therefore +left doesn't work

Thanks

"Hardeep_kanwar" wrote:

=Left(A1,3)

HARDEEP KANWAR

"The Rook" wrote:

A1 = 200C, I would like B1 to show the content of A1 with out the the letter
at the end. ie 200. I have tried to use INT, but that will only work on
decimal numbers.

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Report Numbers only

On Wed, 27 Aug 2008 09:25:01 -0700, The Rook
wrote:

Thanks for that, but I should have also mentioned that the number could vary
in length ie 1C or 10C or 100C or even 1000C Therefore +left doesn't work

Thanks

"Hardeep_kanwar" wrote:

=Left(A1,3)

HARDEEP KANWAR

"The Rook" wrote:

A1 = 200C, I would like B1 to show the content of A1 with out the the letter
at the end. ie 200. I have tried to use INT, but that will only work on
decimal numbers.

Thanks



Then use:

=--left(a1,len(a1)-1)

--ron
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
Find and report matching numbers in two worksheets Colin Hayes Excel Discussion (Misc queries) 3 February 22nd 08 09:51 PM
How do I insert page numbers on an Excel report. Inserting Page Numbers Excel Discussion (Misc queries) 1 July 2nd 07 06:36 PM
Automate Excel report to place certain data into existing report? Craig Harrison Excel Worksheet Functions 3 July 25th 06 01:54 PM
Header in Report Manager Report Steve K Excel Discussion (Misc queries) 0 March 7th 06 07:32 PM
can excel report scientific values rather than absolute numbers? JamesB Excel Discussion (Misc queries) 2 October 13th 05 03:00 PM


All times are GMT +1. The time now is 06:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"