Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm using the following formula in date format. I need to amend the formula
so that if the result is a blank cell, the formula returns an answer of "null" instead of 1/1/1900. I tried IF(ISERROR but it didn't work for me. =INDEX(Hiring'!$T$4:$T$400,MATCH(B108,]Hiring'!$E$4:$E$400,0)) |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this...
=if(isna(MATCH(B108,'Hiring'!$E$4:$E$400,0), "", INDEX('Hiring'!$T$4:$T$400,MATCH(B108,'Hiring'!$E$ 4:$E$400,0)) ISNA is far preferable to iserror. Is error ignores all error including #Ref. If your reference gets currupted you will never know it with iserror. It will just look like a match was not found. If you have ever tried to debug something like that you know how difficult it is. Any error handling you do in a formula should be as specific as possible. -- HTH... Jim Thomlinson "KC" wrote: I'm using the following formula in date format. I need to amend the formula so that if the result is a blank cell, the formula returns an answer of "null" instead of 1/1/1900. I tried IF(ISERROR but it didn't work for me. =INDEX(Hiring'!$T$4:$T$400,MATCH(B108,]Hiring'!$E$4:$E$400,0)) |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks for your response Jim, the formula is giving me an error, that
highlights the quotes where you have ,"",. Any idea how to fix? "Jim Thomlinson" wrote: Try this... =if(isna(MATCH(B108,'Hiring'!$E$4:$E$400,0), "", INDEX('Hiring'!$T$4:$T$400,MATCH(B108,'Hiring'!$E$ 4:$E$400,0)) ISNA is far preferable to iserror. Is error ignores all error including #Ref. If your reference gets currupted you will never know it with iserror. It will just look like a match was not found. If you have ever tried to debug something like that you know how difficult it is. Any error handling you do in a formula should be as specific as possible. -- HTH... Jim Thomlinson "KC" wrote: I'm using the following formula in date format. I need to amend the formula so that if the result is a blank cell, the formula returns an answer of "null" instead of 1/1/1900. I tried IF(ISERROR but it didn't work for me. =INDEX(Hiring'!$T$4:$T$400,MATCH(B108,]Hiring'!$E$4:$E$400,0)) |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
missing a bracket or 2...
=if(isna(MATCH(B108,'Hiring'!$E$4:$E$400,0)), "", INDEX('Hiring'!$T$4:$T$400,MATCH(B108,'Hiring'!$E$ 4:$E$400,0))) -- HTH... Jim Thomlinson "KC" wrote: Thanks for your response Jim, the formula is giving me an error, that highlights the quotes where you have ,"",. Any idea how to fix? "Jim Thomlinson" wrote: Try this... =if(isna(MATCH(B108,'Hiring'!$E$4:$E$400,0), "", INDEX('Hiring'!$T$4:$T$400,MATCH(B108,'Hiring'!$E$ 4:$E$400,0)) ISNA is far preferable to iserror. Is error ignores all error including #Ref. If your reference gets currupted you will never know it with iserror. It will just look like a match was not found. If you have ever tried to debug something like that you know how difficult it is. Any error handling you do in a formula should be as specific as possible. -- HTH... Jim Thomlinson "KC" wrote: I'm using the following formula in date format. I need to amend the formula so that if the result is a blank cell, the formula returns an answer of "null" instead of 1/1/1900. I tried IF(ISERROR but it didn't work for me. =INDEX(Hiring'!$T$4:$T$400,MATCH(B108,]Hiring'!$E$4:$E$400,0)) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 - error saving file & error loading dll | Excel Discussion (Misc queries) | |||
Counting instances of found text (Excel error? Or user error?) | Excel Worksheet Functions | |||
I have Error 1919 Error Configuring ODBC dataSource Database | Excel Discussion (Misc queries) | |||
Excel 2003 Macro Error - Runtime error 1004 | Excel Discussion (Misc queries) |