Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi everyone,
I'm using the following formula =INDEX(Stats!$K$2:$K$47,MATCH($B3,Stats!$G$2:$G$47 ,0)) How do I add to this to not have #N/A when it doesn't find a match? Thank you! -- Deirdre |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Just add an IF(ISNA(..) error trap on the MATCH part of it, eg:
=IF(ISNA(MATCH($B3,Stats!$G$2:$G$47,0)),"",INDEX(S tats!$K$2:$K$47,MATCH($B3,Stats!$G$2:$G$47,0))) Adapt the return: "" to suit what you want for unmatched cases -- Max Singapore http://savefile.com/projects/236895 Downloads:17,500 Files:358 Subscribers:55 xdemechanik --- "Diddy" wrote: Hi everyone, I'm using the following formula =INDEX(Stats!$K$2:$K$47,MATCH($B3,Stats!$G$2:$G$47 ,0)) How do I add to this to not have #N/A when it doesn't find a match? Thank you! -- Deirdre |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you Max :-)
-- Deirdre "Max" wrote: Just add an IF(ISNA(..) error trap on the MATCH part of it, eg: =IF(ISNA(MATCH($B3,Stats!$G$2:$G$47,0)),"",INDEX(S tats!$K$2:$K$47,MATCH($B3,Stats!$G$2:$G$47,0))) Adapt the return: "" to suit what you want for unmatched cases -- Max Singapore http://savefile.com/projects/236895 Downloads:17,500 Files:358 Subscribers:55 xdemechanik --- "Diddy" wrote: Hi everyone, I'm using the following formula =INDEX(Stats!$K$2:$K$47,MATCH($B3,Stats!$G$2:$G$47 ,0)) How do I add to this to not have #N/A when it doesn't find a match? Thank you! -- Deirdre |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Welcome, Deirdre
-- Max Singapore http://savefile.com/projects/236895 Downloads:17,500, Files:358, Subscribers:55 xdemechanik --- "Diddy" wrote in message ... Thank you Max :-) -- Deirdre |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula to sum blank cells | Excel Worksheet Functions | |||
Average Formula to display blank cell if named range is blank | Excel Worksheet Functions | |||
Gone Blank on formula - please help | Excel Worksheet Functions | |||
How do i keep cells blank until the formula is used? | Excel Discussion (Misc queries) | |||
if blank formula | Excel Discussion (Misc queries) |