ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Take data from 1 cell to create a new cell (https://www.excelbanter.com/excel-worksheet-functions/76419-take-data-1-cell-create-new-cell.html)

[email protected]

Take data from 1 cell to create a new cell
 
How can I do this?

Old Cell New
Cell
12345.pleasehelp.405503.245 pleasehelp.jpg
12345.differentname.405503.245 differentname.jpg

What formula would I put in new cell to create it from the data from
old cell?


Biff

Take data from 1 cell to create a new cell
 
Hi!

Try this:

=MID(A1,FIND(".",A1)+1,FIND(".",A1,FIND(".",A1)+1)-FIND(".",A1))&"jpg"

Biff

wrote in message
ups.com...
How can I do this?

Old Cell New
Cell
12345.pleasehelp.405503.245 pleasehelp.jpg
12345.differentname.405503.245 differentname.jpg

What formula would I put in new cell to create it from the data from
old cell?




[email protected]

Take data from 1 cell to create a new cell
 
Maybe I didnt do something right but it returned #NAME?


[email protected]

Take data from 1 cell to create a new cell
 
Maybe I didnt do something right but it returned #NAME?


Biff

Take data from 1 cell to create a new cell
 
The only way that it would return #NAME? is if you misspelled one of the
functions.

Post the *EXACT* formula that you tried.

Biff

wrote in message
oups.com...
Maybe I didnt do something right but it returned #NAME?




[email protected]

Take data from 1 cell to create a new cell
 
I copy and pasted exactly what you posted. =)


[email protected]

Take data from 1 cell to create a new cell
 
=MID(E2,FIND(".",E2)+1,FIND(".",E2,FIND(".",E2)+1)-FIND(".",E2))&"jpg"

That is exactly what I put in it.. E2 is where the original data is
found.


Biff

Take data from 1 cell to create a new cell
 
Ok, what's in E2?

If I use this sample that you posted and put it in E2:

12345.pleasehelp.405503.245

The formula retunrs this:

pleasehelp.jpg

Biff

wrote in message
ups.com...
=MID(E2,FIND(".",E2)+1,FIND(".",E2,FIND(".",E2)+1)-FIND(".",E2))&"jpg"

That is exactly what I put in it.. E2 is where the original data is
found.





All times are GMT +1. The time now is 03:00 AM.

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