Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
I have the following formula: =IF(RC[-43]="","",LOOKUP(MONTH(RC[-43]),{0,1,2,3,4,5,6,7,8,9,10,11,12},{" ","JAN","FEB","MAR","APR","MAY","JUN","JUL","AUG", "SEP","OCT","NOV","DEC"})) is it possible to incorporate that if I get an #VALUE! error that it can be replaced by UNK? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
If you are just wanting to return the month name, then you needn't use Lookup() =RC[-43] and format the cell as FormatCellsNumberCustom mmm or =TEXT(RC[-43],"mmm") -- Regards Roger Govier "SS" wrote in message ... Hi I have the following formula: =IF(RC[-43]="","",LOOKUP(MONTH(RC[-43]),{0,1,2,3,4,5,6,7,8,9,10,11,12},{" ","JAN","FEB","MAR","APR","MAY","JUN","JUL","AUG", "SEP","OCT","NOV","DEC"})) is it possible to incorporate that if I get an #VALUE! error that it can be replaced by UNK? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
thanks Roger, that was a great help - 2 hours of scratching my head, u
managed to sort in 5mins!!!!!! "Roger Govier" wrote: Hi If you are just wanting to return the month name, then you needn't use Lookup() =RC[-43] and format the cell as FormatCellsNumberCustom mmm or =TEXT(RC[-43],"mmm") -- Regards Roger Govier "SS" wrote in message ... Hi I have the following formula: =IF(RC[-43]="","",LOOKUP(MONTH(RC[-43]),{0,1,2,3,4,5,6,7,8,9,10,11,12},{" ","JAN","FEB","MAR","APR","MAY","JUN","JUL","AUG", "SEP","OCT","NOV","DEC"})) is it possible to incorporate that if I get an #VALUE! error that it can be replaced by UNK? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF formula in Excel / Replace numbers with 'words' | Excel Discussion (Misc queries) | |||
Find & Replace woes | Excel Worksheet Functions | |||
Excel: Add replace within selection functionality | Excel Discussion (Misc queries) | |||
Search and replace | Excel Worksheet Functions | |||
replace absolute references | Excel Worksheet Functions |