Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default formatting a cell the same as the source cell from a lookup table

I have a lookup table with a list of info in the return column, different
cells in the list have different formats, i.e. some parts that can't be
bought from a certain suppliers are in bold red. When the lookup function
returns one of these cells it has standard formatting not the formatting from
the source cell, i.e. black text which is not bold. If I change the
formatting of the destination cell then even the parts that can be bought
from a certain supplier will be in bold red which is not what i want. is it
possible to have the cell formated how the desination cell is formatted?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default formatting a cell the same as the source cell from a lookup table

A formula can only return a result - not a format. You could add
another column to your lookup table with some code to represent the
format you want (eg RB for red bold) and return this to a cell adjacent
to your current lookup, then use conditional formatting on this cell -
you are limited to 3 conditions with this. You can hide the column with
the formatting details if you wish.

Hope this helps.

Pete

hot dogs wrote:
I have a lookup table with a list of info in the return column, different
cells in the list have different formats, i.e. some parts that can't be
bought from a certain suppliers are in bold red. When the lookup function
returns one of these cells it has standard formatting not the formatting from
the source cell, i.e. black text which is not bold. If I change the
formatting of the destination cell then even the parts that can be bought
from a certain supplier will be in bold red which is not what i want. is it
possible to have the cell formated how the desination cell is formatted?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 100
Default formatting a cell the same as the source cell from a lookup table

Your source data is formatted using conditional formatting?
if not do conditional formatting
and using format paint, copy conditional formating to destination cells also,

Now source & destination cells will both have same formats.

Vlookup does not provide formats.

*** Please do rate ***

"hot dogs" wrote:

I have a lookup table with a list of info in the return column, different
cells in the list have different formats, i.e. some parts that can't be
bought from a certain suppliers are in bold red. When the lookup function
returns one of these cells it has standard formatting not the formatting from
the source cell, i.e. black text which is not bold. If I change the
formatting of the destination cell then even the parts that can be bought
from a certain supplier will be in bold red which is not what i want. is it
possible to have the cell formated how the desination cell is formatted?

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
Pivot Table external XLS file source change and GETPIVOTDATA refresh mbobro Excel Discussion (Misc queries) 0 July 8th 06 12:45 PM
Deferring conditional formatting? Pheasant Plucker® Excel Discussion (Misc queries) 14 March 17th 06 08:17 PM
Cell Limitations ? Formatting and Size when exporting to Tab based Text file? PaulH_1980 Excel Worksheet Functions 1 March 15th 06 11:51 PM
Can I copy a table from Word into one cell in Excel without losing data? (Office 97) [email protected] Excel Discussion (Misc queries) 2 November 29th 05 07:22 PM
Transfer Cell Formatting for linked cells Scott Excel Discussion (Misc queries) 2 November 23rd 05 11:04 PM


All times are GMT +1. The time now is 11:43 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"