Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hi, Is there a way of automatically reducing the number of digits in a cell? I have a spreadsheet containing 16,000 zip/postcodes. I need to remove the last two digits in each postcode. Is this possible? Any help that anyone can give would be much appreciated. Thanks, George -- Borge14 ------------------------------------------------------------------------ Borge14's Profile: http://www.excelforum.com/member.php...o&userid=37324 View this thread: http://www.excelforum.com/showthread...hreadid=570270 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Użytkownik "Borge14" napisał w wiadomości ... Hi, Is there a way of automatically reducing the number of digits in a cell? I have a spreadsheet containing 16,000 zip/postcodes. I need to remove the last two digits in each postcode. Is this possible? Any help that anyone can give would be much appreciated. Thanks, George =LEFT(A1;LEN(A1)-2) works for zipcode in a1 mcg |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Cheers. Although for some reason it doesn't seem to be working. Can I email you the document so you can take a look and see why that may be? -- Borge14 ------------------------------------------------------------------------ Borge14's Profile: http://www.excelforum.com/member.php...o&userid=37324 View this thread: http://www.excelforum.com/showthread...hreadid=570270 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() use comma instead of semi colon, formula should be like this =LEFT(A1,LEN(A1)-2) Borge14 Wrote: Cheers. Although for some reason it doesn't seem to be working. Can I email you the document so you can take a look and see why that may be? -- starguy ------------------------------------------------------------------------ starguy's Profile: http://www.excelforum.com/member.php...o&userid=32434 View this thread: http://www.excelforum.com/showthread...hreadid=570270 |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Użytkownik "Borge14" napisał w wiadomości ... Cheers. Although for some reason it doesn't seem to be working. Can I email you the document so you can take a look and see why that may be? -- Borge14 ------------------------------------------------------------------------ Borge14's Profile: http://www.excelforum.com/member.php...o&userid=37324 View this thread: http://www.excelforum.com/showthread...hreadid=570270 sure mcg |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() That works perfectly. Thanks for your help, much appreciated. -- Borge14 ------------------------------------------------------------------------ Borge14's Profile: http://www.excelforum.com/member.php...o&userid=37324 View this thread: http://www.excelforum.com/showthread...hreadid=570270 |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Be aware tho, that if your original number has a space between it's main
characters and the last two you wish to eliminate, the formula as given will leave the space still there........this mod will also delete the space...... =LEFT(A1,LEN(A1)-3) Vaya con Dios, Chuck, CABGx3 "Borge14" wrote: Hi, Is there a way of automatically reducing the number of digits in a cell? I have a spreadsheet containing 16,000 zip/postcodes. I need to remove the last two digits in each postcode. Is this possible? Any help that anyone can give would be much appreciated. Thanks, George -- Borge14 ------------------------------------------------------------------------ Borge14's Profile: http://www.excelforum.com/member.php...o&userid=37324 View this thread: http://www.excelforum.com/showthread...hreadid=570270 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
count each cell that have a number and take that number and count. | Excel Discussion (Misc queries) | |||
calculate using last four digits of number in cell | Excel Worksheet Functions | |||
Return SEARCHED Column Number of Numeric Label and Value | Excel Worksheet Functions | |||
Insert row number into a cell? | Excel Worksheet Functions | |||
Defining a number in a cell by text then subtracting it by the tex | Excel Worksheet Functions |