#1   Report Post  
Posted to microsoft.public.excel.misc
Renee Nguy
 
Posts: n/a
Default Formula

This is what I currently have:
A1 18506352, I would like B1 to pick up the first two digits so B1 would 18
A2 015070307 then B2 would show 01
A3 04506018 then B3 would show 04
Please help me create this formula
Thank you so much.
Renee
  #2   Report Post  
Posted to microsoft.public.excel.misc
Kevin B
 
Posts: n/a
Default Formula

The left() formula will do it.

In column B row 1 place the following formula:

=Left(A1,2)

Then copy it down column B as far as necessary.
--
Kevin Backmann


"Renee Nguy" wrote:

This is what I currently have:
A1 18506352, I would like B1 to pick up the first two digits so B1 would 18
A2 015070307 then B2 would show 01
A3 04506018 then B3 would show 04
Please help me create this formula
Thank you so much.
Renee

  #3   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default Formula

For a value in A1
B1: =LEFT(A1,2)
copy that formula down as far as you need.

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Renee Nguy" wrote:

This is what I currently have:
A1 18506352, I would like B1 to pick up the first two digits so B1 would 18
A2 015070307 then B2 would show 01
A3 04506018 then B3 would show 04
Please help me create this formula
Thank you so much.
Renee

  #4   Report Post  
Posted to microsoft.public.excel.misc
Renee Nguy
 
Posts: n/a
Default Formula

Hi Kevin,
The formula didn't work. It didn't turn into a function. It shows the
exact thing of =Left(A1,2) instead of the value.
Thank you,
Renee

"Kevin B" wrote:

The left() formula will do it.

In column B row 1 place the following formula:

=Left(A1,2)

Then copy it down column B as far as necessary.
--
Kevin Backmann


"Renee Nguy" wrote:

This is what I currently have:
A1 18506352, I would like B1 to pick up the first two digits so B1 would 18
A2 015070307 then B2 would show 01
A3 04506018 then B3 would show 04
Please help me create this formula
Thank you so much.
Renee

  #5   Report Post  
Posted to microsoft.public.excel.misc
Renee Nguy
 
Posts: n/a
Default Formula

Hi Ron,
The formula didn't work. It didn't turn into a function. It shows the
exact thing of =Left(A1,2) instead of the value.
Thank you,
Renee

"Ron Coderre" wrote:

For a value in A1
B1: =LEFT(A1,2)
copy that formula down as far as you need.

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Renee Nguy" wrote:

This is what I currently have:
A1 18506352, I would like B1 to pick up the first two digits so B1 would 18
A2 015070307 then B2 would show 01
A3 04506018 then B3 would show 04
Please help me create this formula
Thank you so much.
Renee



  #6   Report Post  
Posted to microsoft.public.excel.misc
Pete_UK
 
Posts: n/a
Default Formula

The cell B1 must have been formatted as text before you typed your
formula in. Use Format | Cells | Number (tab) and select General and
OK. Then double-click in B1 as if to edit the cell then press <enter.
You should now see the result, and you can copy B1 down the other cells
in column B.

Hope this helps.

Pete

  #7   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default Formula

It sounds like the number format for the cell is "text".

Try this:
Select the impacted cells
FormatCellsNumber Tab
Category: Number
Click the [OK] button

Leave those cells selected
EditReplace
Find what: =
Replace with: =
Click the [Replace All] button

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Renee Nguy" wrote:

Hi Ron,
The formula didn't work. It didn't turn into a function. It shows the
exact thing of =Left(A1,2) instead of the value.
Thank you,
Renee

"Ron Coderre" wrote:

For a value in A1
B1: =LEFT(A1,2)
copy that formula down as far as you need.

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Renee Nguy" wrote:

This is what I currently have:
A1 18506352, I would like B1 to pick up the first two digits so B1 would 18
A2 015070307 then B2 would show 01
A3 04506018 then B3 would show 04
Please help me create this formula
Thank you so much.
Renee

  #8   Report Post  
Posted to microsoft.public.excel.misc
Flintstone
 
Posts: n/a
Default Formula


Also the function of LEFT() makes the number text, multiply it by 1 to
turn it back to a true number.

=LEFT(A1,2)*1

Matt


--
Flintstone
------------------------------------------------------------------------
Flintstone's Profile: http://www.excelforum.com/member.php...o&userid=15310
View this thread: http://www.excelforum.com/showthread...hreadid=513757

  #9   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default Formula

Not sure that applies here, based on the specs in the original post:

A2 015070307 then B2 would show 01
A3 04506018 then B3 would show 04



***********
Regards,
Ron

XL2002, WinXP-Pro


"Flintstone" wrote:


Also the function of LEFT() makes the number text, multiply it by 1 to
turn it back to a true number.

=LEFT(A1,2)*1

Matt


--
Flintstone
------------------------------------------------------------------------
Flintstone's Profile: http://www.excelforum.com/member.php...o&userid=15310
View this thread: http://www.excelforum.com/showthread...hreadid=513757


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
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 11:54 PM.

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"