Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-11-2016, 01:51 AM
praboos2001 praboos2001 is offline Keeping the source format when extracting data from multiple cells using Vlookup function Windows 7 64bit Keeping the source format when extracting data from multiple cells using Vlookup function Office 2013
Novice
Keeping the source format when extracting data from multiple cells using Vlookup function
 
Join Date: Nov 2016
Posts: 4
praboos2001 is on a distinguished road
Default Keeping the source format when extracting data from multiple cells using Vlookup function

Hi all,



I am new member and topics discussed here are looking very interesting and very useful for me personally for a project that i am currently working on. I have used vlookup function to extract from a column based on a multiple drop down list. To extend the detail, i have 3 multiple drop down list in the output sheet and when all three of them are chosen, a particular cell has to extract data from a column in the input sheet. Using vlookup function it does work. However, i have superscripts in the actual input data column and when the cell extracts data it leaves out the superscript which makes the data look very odd as the numbers i have used in the superscript are references and i would like to have the data as i feed in.

Please suggest a solution. You help will be much appreciated.

Thanks

Prabu
Reply With Quote
  #2  
Old 11-11-2016, 10:12 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Keeping the source format when extracting data from multiple cells using Vlookup function Windows 7 64bit Keeping the source format when extracting data from multiple cells using Vlookup function Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,766
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 post a sample sheet showing data and expected results. Especially the format part would be helpful ( no pics please)
__________________
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-11-2016, 01:42 PM
praboos2001 praboos2001 is offline Keeping the source format when extracting data from multiple cells using Vlookup function Windows 7 64bit Keeping the source format when extracting data from multiple cells using Vlookup function Office 2013
Novice
Keeping the source format when extracting data from multiple cells using Vlookup function
 
Join Date: Nov 2016
Posts: 4
praboos2001 is on a distinguished road
Default Sample sheet

hi pecoflyer,

Thank you very much for responding to my query. Please find attached the sample sheet. As can be seen in the attached sheet, i have created two sheets namely, data input and data output sheets. In the output sheet, in cells A2 and A4 i have created a drop down list out of which A4 is a dependent list on A2.

I have used vlookup on cells B9,10 &11 that extracts data from data input sheet based on what is selected in cells A2 and A4 in the drop down list.

The data in input sheet on cells E2 to E10 has got numbers as superscript and the same data in the output sheet on cell B11 doesn't have the numbers as superscript.

Though this looks very simple, its very important for me as i have to present this to a client and this doesn't look professional.

Looking forward to hear from you.

Thanks in advance
Reply With Quote
  #4  
Old 11-11-2016, 10:36 PM
macropod's Avatar
macropod macropod is offline Keeping the source format when extracting data from multiple cells using Vlookup function Windows 7 64bit Keeping the source format when extracting data from multiple cells using Vlookup function Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You can't return character formats via formulae - they return data only. Besides which, you're applying a different format anyway (bold, blue).

What you could do is put the superscript notes into a separate column on the 'Data Input Sheet' and have a separate lookup for that (also in another column) on the 'Data Output Sheet'. By merging & centring the other rows and right-aligning the language and left-aligning the superscripted notes, you can approximate the layout you're after.

See attached demo.
Attached Files
File Type: xlsm Copy of Test sheet.xlsm (57.4 KB, 26 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 11-12-2016, 03:33 AM
praboos2001 praboos2001 is offline Keeping the source format when extracting data from multiple cells using Vlookup function Windows 7 64bit Keeping the source format when extracting data from multiple cells using Vlookup function Office 2013
Novice
Keeping the source format when extracting data from multiple cells using Vlookup function
 
Join Date: Nov 2016
Posts: 4
praboos2001 is on a distinguished road
Default

Paul, that is a very wise idea. The sheet i showed is an example sheet but the actual one has got lot like this and it will be complicated to add an additional column next to exiting ones as there are more than 100 in my actual sheet.

Surely i will use it if no one comes up with an alternate idea.

Highly appreciate for your timelyhelp.
Reply With Quote
  #6  
Old 11-14-2016, 03:17 PM
macropod's Avatar
macropod macropod is offline Keeping the source format when extracting data from multiple cells using Vlookup function Windows 7 64bit Keeping the source format when extracting data from multiple cells using Vlookup function Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Another option would be to use small raised letters (typically inserted via Insert|Symbol) instead of numbers. See attached.
Attached Files
File Type: xlsm Test sheet.xlsm (57.3 KB, 22 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #7  
Old 11-15-2016, 04:40 AM
praboos2001 praboos2001 is offline Keeping the source format when extracting data from multiple cells using Vlookup function Windows 7 64bit Keeping the source format when extracting data from multiple cells using Vlookup function Office 2013
Novice
Keeping the source format when extracting data from multiple cells using Vlookup function
 
Join Date: Nov 2016
Posts: 4
praboos2001 is on a distinguished road
Default

Paul,

That is a amazing and an easy solution. This saved me lot of time in inserting additional columns next to the existing ones.

very very pleased and happy.

Prabu
Reply With Quote
Reply

Tags
source formatting, vlookup

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro for extracting data from multiple sheets if cell has text plasma33 Excel Programming 0 11-10-2016 12:52 AM
Keeping the source format when extracting data from multiple cells using Vlookup function Extracting data from a cell with multiple lines of text MMT Excel 9 02-12-2015 09:18 PM
How to populate cells in Sheet2 with Data Source query using cell data from Sheet1 bobznkazoo Excel 2 03-27-2014 11:14 AM
Keeping the source format when extracting data from multiple cells using Vlookup function Merging cells and keeping all the data/values Holgate1967 Excel 1 11-29-2013 09:37 AM
Keeping the source format when extracting data from multiple cells using Vlookup function Multiple VLOOKUP's checking multiple Cells OTPM Excel 11 05-23-2011 11:18 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:15 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