Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 71
Default advanced use of the Excel lookup function

when using the hlookup function how can I get the formating of the cell
located during the lookup to transfer to the destination cell.

thanks


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default advanced use of the Excel lookup function

You can't. Formulas can only return values. You will need a macro to do this
use FIND to find the desired value and then use copy/paste SPECIAL.

--
Don Guillett
SalesAid Software

"Norm" wrote in message
...
when using the hlookup function how can I get the formating of the cell
located during the lookup to transfer to the destination cell.

thanks




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default advanced use of the Excel lookup function

you could try using conditional formatting (format/conditional formatting),
and have a different format for the cell with each different piece of data
that is entered into it, set the drop down table to formula is and write
='the result that will be entered', then set the format. Unfortunatly you can
only have 3 conditions per cell (4 if you count the original format). If you
only have 4 or less formats required but have more than 4 results, i.e. if
the cell is between 1 and 10 have a certain condition if it is between 11 and
20 have another, etc. Then you can achieve this by writing a formula that
covers the results required for each format.

"Norm" wrote:

when using the hlookup function how can I get the formating of the cell
located during the lookup to transfer to the destination cell.

thanks


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Why is ther no "Convert" function available in excel? EXCEL CONVERT FUNCTION Excel Worksheet Functions 2 August 2nd 06 09:19 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM
Statistical Excel Function Question within Excel 2000... Drew H Excel Worksheet Functions 3 October 31st 04 06:55 PM


All times are GMT +1. The time now is 01:53 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"