Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Vic Vic is offline
external usenet poster
 
Posts: 117
Default Need help with VLOOKUP

My formula in G10 is not working properly.
Here is the formula IF(D10="","",VLOOKUP(D10,BB$10:BC$167,2,0))
The problem: D is invoice# from 10 to 494
BB ranges from 10 to 167 and contains some invoice numbers that were verified
BC ranges from 10 to 167 and contains number of problems with the invoice
from 0 to whatever number.
If D=BB then I need G to display the number of problems from BC
I need D to remain blank if it does not match with BB.
So far, my formula is not working. I get many #N/A
Please help to correct this.
Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Need help with VLOOKUP


column D and column BB must be the same format... i.e. both Numeric or
both Text.

If they are supposed to be numeric.. try selecting column D and go to
Data|Text to Columns and click Finish...

Repeat for column BB.

To get rid of N/A error..

=IF(D10="","",IF(ISNA(VLOOKUP(D10,BB$10:BC$167,2,0 )),"",VLOOKUP(D10,BB$10:BC$167,2,0))


--
NBVC

Where there is a will there are many ways.
'The Code Cage' (http;//www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=111433

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,104
Default Need help with VLOOKUP

Are we really working the numbers or text?
Suppose BB1 holds the value 123
In some empty cell type =BB1=123
Do you get TRUE? Then VLOOKUP should work.
Happy to look at the workbook if you send it to me (not to the newsgroup) --
just remove TRUENORTH.

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Vic" wrote in message
...
My formula in G10 is not working properly.
Here is the formula IF(D10="","",VLOOKUP(D10,BB$10:BC$167,2,0))
The problem: D is invoice# from 10 to 494
BB ranges from 10 to 167 and contains some invoice numbers that were
verified
BC ranges from 10 to 167 and contains number of problems with the invoice
from 0 to whatever number.
If D=BB then I need G to display the number of problems from BC
I need D to remain blank if it does not match with BB.
So far, my formula is not working. I get many #N/A
Please help to correct this.
Thank you



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Need help with VLOOKUP

Hi,
try
=sumproduct(--(D10=BB$10:BB$167),BC$10:BC$167)

"Vic" wrote:

My formula in G10 is not working properly.
Here is the formula IF(D10="","",VLOOKUP(D10,BB$10:BC$167,2,0))
The problem: D is invoice# from 10 to 494
BB ranges from 10 to 167 and contains some invoice numbers that were verified
BC ranges from 10 to 167 and contains number of problems with the invoice
from 0 to whatever number.
If D=BB then I need G to display the number of problems from BC
I need D to remain blank if it does not match with BB.
So far, my formula is not working. I get many #N/A
Please help to correct this.
Thank you

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Need help with VLOOKUP

Try

=INDEX(BC$10:BC$167,MATCH(D10,BB$10:BB$167,0))

OR (to handle error)
=IF(ISNA(MATCH(D10,BB$10:BB$167,0)),"",INDEX(BC$10 :BC$167,MATCH(D10,BB$10:BB$167,0)))


--
If this post helps click Yes
---------------
Jacob Skaria


"Vic" wrote:

My formula in G10 is not working properly.
Here is the formula IF(D10="","",VLOOKUP(D10,BB$10:BC$167,2,0))
The problem: D is invoice# from 10 to 494
BB ranges from 10 to 167 and contains some invoice numbers that were verified
BC ranges from 10 to 167 and contains number of problems with the invoice
from 0 to whatever number.
If D=BB then I need G to display the number of problems from BC
I need D to remain blank if it does not match with BB.
So far, my formula is not working. I get many #N/A
Please help to correct this.
Thank you



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
VLookUp - Does the VLookUp return the exact information? Cpviv Excel Worksheet Functions 2 October 28th 08 09:57 AM
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 02:43 AM.

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

About Us

"It's about Microsoft Excel"