Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Default Vlookup Match and Index Assistance

I am working on a ranking spreadsheet, and I need to be able to lookup names from the sheet to the names on the sales data. If the name does not exist, I need a return of 0. This formula is as close as I have come to success, but it returns a N/A? value.

Any help is appreciated.

=IF($A13=$A$330,0,IF(ISERROR(Vlookup('Agent Sales'!$A13,'Sales Output Fronter'!A2:A153,1)))(INDEX('Sales Output Fronter'!$B$1:$B$153,MATCH('Agent Sales'!$A13,'Sales Output Fronter'!$A$1:$A$245,0))))

If value is empty, return 0, otherwise lookup value in list. If value does not exist, return 0, otherwise pull sales data from column.
  #2   Report Post  
Junior Member
 
Posts: 2
Smile

Quote:
Originally Posted by Jeremy Odenbrett View Post
I am working on a ranking spreadsheet, and I need to be able to lookup names from the sheet to the names on the sales data. If the name does not exist, I need a return of 0. This formula is as close as I have come to success, but it returns a N/A? value.

Any help is appreciated.

=IF($A13=$A$330,0,IF(ISERROR(Vlookup('Agent Sales'!$A13,'Sales Output Fronter'!A2:A153,1)))(INDEX('Sales Output Fronter'!$B$1:$B$153,MATCH('Agent Sales'!$A13,'Sales Output Fronter'!$A$1:$A$245,0))))

If value is empty, return 0, otherwise lookup value in list. If value does not exist, return 0, otherwise pull sales data from column.

I think I got it.

=IF($A13=$A$330,0,IF(VLOOKUP($A13,'Sales Output Fronter'!$A$2:$A$153,1)<$A$13,0,INDEX('Sales Output Fronter'!$B$1:$B$153,MATCH('Agent Sales'!$A12,'Sales Output Fronter'!$A$1:$A$245,0))))

Sometimes it just takes asking the question to get the answer....
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Vlookup Match and Index Assistance

=IF($A13=$A$330,0,IF(ISERROR(VLOOKUP(A13,A2:A153,1 ,0)),0,INDEX($B$1:$B$153,MATCH($A13,$A$1:$A$245,0) )))

Try this you're not using formula correctly without closing the paranthesis. try this will work.

if you still face any issue send me the sheet

Regards,
Mandeep Baluja
LearningZmyPassion
https://www.linkedin.com/profile/view?id=312532939
https://www.facebook.com/VBAEXCELSQL?ref=hl
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
Index Match, IF or Vlookup Yunus Excel Worksheet Functions 0 April 2nd 12 08:29 PM
Help on using Index, Match and Vlookup Ron New Users to Excel 2 October 19th 09 07:58 AM
VlOOKUP/MATCH/INDEX Daniel Q. Excel Worksheet Functions 2 April 16th 08 09:20 PM
index Match, or Vlookup Match.. news.transedge.com Excel Worksheet Functions 1 August 3rd 07 02:00 AM
Index and vlookup assistance MMB Excel Worksheet Functions 0 June 7th 07 08:22 PM


All times are GMT +1. The time now is 02:41 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"