Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Pivot Table external XLS file source change and GETPIVOTDATA refresh | Excel Discussion (Misc queries) | |||
Deferring conditional formatting? | Excel Discussion (Misc queries) | |||
Cell Limitations ? Formatting and Size when exporting to Tab based Text file? | Excel Worksheet Functions | |||
Can I copy a table from Word into one cell in Excel without losing data? (Office 97) | Excel Discussion (Misc queries) | |||
Transfer Cell Formatting for linked cells | Excel Discussion (Misc queries) |