ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   copy selected part number of text from one cell into another cell (https://www.excelbanter.com/excel-discussion-misc-queries/183366-copy-selected-part-number-text-one-cell-into-another-cell.html)

orewa

copy selected part number of text from one cell into another cell
 
Hi

Can anyone help me.

I have a database where a cell has text or numbers (example Cell: B1:
contains company name : excel corporation 2008 Limited

I need to copy the first 4 characters in cell B1: into A1: EXCE

I also need the text to be in uppercase in A1 even when lowercase in B1.

Assume I need to change the number of characters copied over from 4 to 2 or
6. How would the formula change?

If the excel sheet I was working on had 1000 rows of data, would I just drag
the formula down from A1 to A100?

Any suggestions will be greatly appreciated.

--
David

Don Guillett

copy selected part number of text from one cell into another cell
 
=UPPER(LEFT(D2,4))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"orewa" wrote in message
...
Hi

Can anyone help me.

I have a database where a cell has text or numbers (example Cell: B1:
contains company name : excel corporation 2008 Limited

I need to copy the first 4 characters in cell B1: into A1: EXCE

I also need the text to be in uppercase in A1 even when lowercase in B1.

Assume I need to change the number of characters copied over from 4 to 2
or
6. How would the formula change?

If the excel sheet I was working on had 1000 rows of data, would I just
drag
the formula down from A1 to A100?

Any suggestions will be greatly appreciated.

--
David




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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com