Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jasmine
 
Posts: n/a
Default Index / Match Help

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SiC
 
Posts: n/a
Default Index / Match Help

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default Index / Match Help


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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jasmine
 
Posts: n/a
Default Index / Match Help

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
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
Using AutoFilter to Sort Data Pulled in by INDEX / MATCH A Romeo Jr Excel Worksheet Functions 7 January 30th 06 11:43 PM
Match Index cjjoo Excel Worksheet Functions 3 October 25th 05 09:33 AM
Match or Index Question carl Excel Worksheet Functions 2 October 4th 05 09:11 PM
Match & Index Phyllis B. Excel Worksheet Functions 2 November 27th 04 03:26 PM
Vlookup, Index & Match Phyllis Excel Worksheet Functions 1 November 8th 04 06:11 PM


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

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

About Us

"It's about Microsoft Excel"