Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SS SS is offline
external usenet poster
 
Posts: 32
Default Replace #VALUE! with UNK

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Replace #VALUE! with UNK

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SS SS is offline
external usenet poster
 
Posts: 32
Default Replace #VALUE! with UNK

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
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
IF formula in Excel / Replace numbers with 'words' Emsmaps Excel Discussion (Misc queries) 1 April 7th 06 11:01 PM
Find & Replace woes SlipperyPete Excel Worksheet Functions 2 March 31st 06 10:51 PM
Excel: Add replace within selection functionality Marcel XL Excel Discussion (Misc queries) 1 March 3rd 06 01:51 PM
Search and replace Subu Excel Worksheet Functions 4 June 9th 05 07:01 PM
replace absolute references bj Excel Worksheet Functions 0 May 20th 05 07:18 PM


All times are GMT +1. The time now is 08:59 AM.

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

About Us

"It's about Microsoft Excel"