Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am using the following formula to grab a specific amount from another Excel
worksheet. Can't use the SUMPRODUCT because I want the value a line down from where it finds CSFS Totals. =(INDEX('C:\Trend Cards\All New Renewed\[April New Renew.xls]Sheet1'!$H$3:$H$5000,MATCH("CSFS Totals",'C:\Trend Cards\All New Renewed\[April New Renew.xls]Sheet1'!$B$3:$B$5000,0)+1))/1000 This value will not always show up on the other Excel file, which makes it display a #N/A. Is there anyway for it to display a 0 instead when it can't find it? Any help would be appreciated. Thanks! |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Jasmine,
Try this: =IF(ISNA(MATCH("CSFS Totals",'C:\Trend Cards\All New Renewed\[April New Renew.xls]Sheet1'!$B$3:$B$5000,0)),0,(INDEX('C:\Trend Cards\All New Renewed\[April New Renew.xls]Sheet1'!$H$3:$H$5000,MATCH("CSFS Totals",'C:\Trend Cards\All New Renewed\[April New Renew.xls]Sheet1'!$B$3:$B$5000,0)+1))/1000) Basically I just added the IF and ISNA function to your original formula. This should change any #N/A to 0. Hope this helps. -Simon "Jasmine" wrote: I am using the following formula to grab a specific amount from another Excel worksheet. Can't use the SUMPRODUCT because I want the value a line down from where it finds CSFS Totals. =(INDEX('C:\Trend Cards\All New Renewed\[April New Renew.xls]Sheet1'!$H$3:$H$5000,MATCH("CSFS Totals",'C:\Trend Cards\All New Renewed\[April New Renew.xls]Sheet1'!$B$3:$B$5000,0)+1))/1000 This value will not always show up on the other Excel file, which makes it display a #N/A. Is there anyway for it to display a 0 instead when it can't find it? Any help would be appreciated. Thanks! |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Jasmine, =IF(ISNA((INDEX('C:\Trend Cards\All New Renewed\[April New Renew.xls]Sheet1'!$H$3:$H$5000,MATCH("CSFS Totals",'C:\Trend Cards\All New Renewed\[April New Renew.xls]Sheet1'!$B$3:$B$5000,0)+1))/1000),0, (INDEX('C:\Trend Cards\All New Renewed\[April New Renew.xls]Sheet1'!$H$3:$H$5000,MATCH("CSFS Totals",'C:\Trend Cards\All New Renewed\[April New Renew.xls]Sheet1'!$B$3:$B$5000,0)+1))/1000) HTH Steve -- SteveG ------------------------------------------------------------------------ SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571 View this thread: http://www.excelforum.com/showthread...hreadid=547186 |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
That works perfectly! I am not exactly sure I understand why, but thank you
very much! That solves a huge problem for me. "SiC" wrote: Hi Jasmine, Try this: =IF(ISNA(MATCH("CSFS Totals",'C:\Trend Cards\All New Renewed\[April New Renew.xls]Sheet1'!$B$3:$B$5000,0)),0,(INDEX('C:\Trend Cards\All New Renewed\[April New Renew.xls]Sheet1'!$H$3:$H$5000,MATCH("CSFS Totals",'C:\Trend Cards\All New Renewed\[April New Renew.xls]Sheet1'!$B$3:$B$5000,0)+1))/1000) Basically I just added the IF and ISNA function to your original formula. This should change any #N/A to 0. Hope this helps. -Simon "Jasmine" wrote: I am using the following formula to grab a specific amount from another Excel worksheet. Can't use the SUMPRODUCT because I want the value a line down from where it finds CSFS Totals. =(INDEX('C:\Trend Cards\All New Renewed\[April New Renew.xls]Sheet1'!$H$3:$H$5000,MATCH("CSFS Totals",'C:\Trend Cards\All New Renewed\[April New Renew.xls]Sheet1'!$B$3:$B$5000,0)+1))/1000 This value will not always show up on the other Excel file, which makes it display a #N/A. Is there anyway for it to display a 0 instead when it can't find it? Any help would be appreciated. Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using AutoFilter to Sort Data Pulled in by INDEX / MATCH | Excel Worksheet Functions | |||
Match Index | Excel Worksheet Functions | |||
Match or Index Question | Excel Worksheet Functions | |||
Match & Index | Excel Worksheet Functions | |||
Vlookup, Index & Match | Excel Worksheet Functions |