Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-23-2018, 02:15 AM
ganesang ganesang is offline About converting Windows XP About converting Office 2016
Competent Performer
About converting
 
Join Date: Jul 2018
Posts: 171
ganesang is on a distinguished road
Default About converting

Hi

I need the another help in the excel.

I have values in the cell for ex., cell "J5" ->J1,J2 it should be converted in the another cell "S5" to,

<functionRef="J1">
<functionRef="J2">

if the cell contain one value only as J1 should be converted as "<functionRef="J1">"



Please advise on this......
Reply With Quote
  #2  
Old 11-24-2018, 12:26 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline About converting Windows 7 64bit About converting Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,767
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Please do not hijack existing threads with a new question ( even your own threads) but create a new one eventually with a link to any post of interest.
I did it for you this time
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 11-25-2018, 09:31 PM
ganesang ganesang is offline About converting Windows XP About converting Office 2016
Competent Performer
About converting
 
Join Date: Jul 2018
Posts: 171
ganesang is on a distinguished road
Default

Hi Pecoflyer

Sorry for the inconvenience. I will make a note on this in future.

I will wait for the answer for this question.

Please let me know if any more clarifications needed.

Thanks
Ganesan. G
Reply With Quote
  #4  
Old 11-26-2018, 12:33 AM
ganesang ganesang is offline About converting Windows XP About converting Office 2016
Competent Performer
About converting
 
Join Date: Jul 2018
Posts: 171
ganesang is on a distinguished road
Default

Can anyone help me out on this?

I have explained detail as follows

I have the values which is separated by commas as follows,

for exam, Cell J5 contains J1 or J1,J2 or J1,D2,D3 and so on...

I need to convert this as in to the Cell S5 as,

<funcref="J1"/> or <funcref="J1"/><funcref="J2"/> or <funcref="J1"/><funcref="D2"/><funcref="D3"/> and so on....

Cell J5 sometime appears as empty. In this case retains as empty.

So whatever in the cell J5 needs to be converted within the coding (<funcref=" "/>) which is in each separated by commas.
Reply With Quote
  #5  
Old 11-26-2018, 12:39 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline About converting Windows 7 64bit About converting Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,767
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Could you please post a sample sheet with some data and expected results? Thx
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #6  
Old 11-26-2018, 12:42 AM
ganesang ganesang is offline About converting Windows XP About converting Office 2016
Competent Performer
About converting
 
Join Date: Jul 2018
Posts: 171
ganesang is on a distinguished road
Default

Sample file attached here...

Please let me know if anything needed.
Attached Files
File Type: xlsx Example.xlsx (9.6 KB, 7 views)
Reply With Quote
  #7  
Old 11-26-2018, 02:48 AM
ganesang ganesang is offline About converting Windows XP About converting Office 2016
Competent Performer
About converting
 
Join Date: Jul 2018
Posts: 171
ganesang is on a distinguished road
Default

Is this needed for more details?

Please let me know if anything required to clarify.

Thanks
Reply With Quote
  #8  
Old 11-26-2018, 04:42 AM
ArviLaanemets ArviLaanemets is offline About converting Windows 8 About converting Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

Something like this (You can hide helper columns J1 ... J25)

I couldn't make wrap work with formula though.
Attached Files
File Type: xlsx XMPL.xlsx (14.4 KB, 7 views)
Reply With Quote
  #9  
Old 11-26-2018, 05:09 AM
ganesang ganesang is offline About converting Windows XP About converting Office 2016
Competent Performer
About converting
 
Join Date: Jul 2018
Posts: 171
ganesang is on a distinguished road
Default

Thanks for the help Arvilaanemets!

Is there any other way to directly convert the code in to the particular cell?

I have the excel data which already more columns to scroll and also hyphenated values are cut-off (for ex., J24-26 becomes J24).

Please advise
Reply With Quote
  #10  
Old 11-26-2018, 05:34 AM
ArviLaanemets ArviLaanemets is offline About converting Windows 8 About converting Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

Quote:
Originally Posted by ganesang View Post
I have the excel data which already more columns to scroll
As I sayd - hide helper columns! Place them as rightmost ones, and hide them. And unless you plan to use the workbook as shared one, define your table as Table like I did won Replacements sheet - then the formulas are added automatically into helper columns whenever new data is added into Table

Quote:
Originally Posted by ganesang View Post
... also hyphenated values are cut-off (for ex., J24-26 becomes J24).
You have to get rid of such entries. Either replace them with full list, or you'll need some additional helper columns where the entry is at first converted to full list, which is then used as source for further calculations.

Or don't use formulas at all. You design a stored procedure which writes desired result into specified column(s). The procedure is called from event of button on worksheet, or from keyboard shortcut.
Reply With Quote
  #11  
Old 11-26-2018, 05:37 AM
ganesang ganesang is offline About converting Windows XP About converting Office 2016
Competent Performer
About converting
 
Join Date: Jul 2018
Posts: 171
ganesang is on a distinguished road
Default

Ok

Thanks for the help!!!!

I will check and get back to you if anything can't unresolved.

Thanks
Ganesan. G
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting VBA code to ADO Remster Word VBA 2 02-19-2015 03:04 AM
About converting converting mm.s format to mm:ss derohanes Excel 12 10-30-2012 08:34 AM
About converting Converting pdf... to Word ??? admin4ever Word 1 05-27-2011 02:58 PM
Converting from Works Menno Hershberger Office 0 09-01-2010 11:33 PM
About converting Help having problems converting doc to pdf please Cobra Word 2 08-23-2010 04:58 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:09 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft