vlookup formula question

ryan_law2000

Well-known Member
Joined
Oct 2, 2007
Messages
738
Hello everyone, here is the vlookup formula that i have and seems to work.

Code:
=VLOOKUP(Table1412[[#This Row],[Material Number]],'0617 lookup'!$C$2:$I$2549,4,)

right now if the cell in that table = "Blank" it automatically puts a 0 ... I want this to stay blank just like the table... How can i do that?
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Sorry i ment to put this title as Ignore Blanks on Vlookup formula...
All i want this to do is skip over the cell if its blank
 
Upvote 0
What is type of data is normally expected from the Vlookup, number or text?

If it's text, you can simply use the t function
=T(VLOOKUP(....))

Otherwise, you have to test the vlookup for ""
=IF(VLOOKUP(....)="","",VLOOKUP(....))
 
Upvote 0
So i tried something like this but its not working... Im still getting a "0"
=IF(VLOOKUP(Table1412[[#This Row],[Material Number]],'0617 lookup'!$C$2:$I$1205,4)="","",VLOOKUP(Table1412[[#This Row],[Material Number]],'0617 lookup'!$C$2:$I$1205,4))
 
Upvote 0
The only problem with that is its removing anything that has a "0" now...
I need to keep everything that originally had a "0" and remove only the blanks that had nothing...
 
Upvote 0
So I have been seeing a problem here...

I went to the table and put all the "0" to "123456789"
then went back to the table and all the cells that should be blank are now "123456789" even though i know for a fact they are not in the table... maybe its just coping from a nother cell? I dunno...

So i changed all the "123456789" back to "0" and still all the cells (that are not in that table) are going to "0"
 
Last edited:
Upvote 0
I think you need to be using EXACT match in your vlookups
=IF(VLOOKUP(Table1412[[#This Row],[Material Number]],'0617 lookup'!$C$2:$I$1205,4,0)="","",VLOOKUP(Table1412[[#This Row],[Material Number]],'0617 lookup'!$C$2:$I$1205,4,0))
 
Upvote 0
hello, i have an excel doc made of two sheets 1st called client information and second called assignment.
how can i look for data to put in my 2nd sheets column if the 1st sheet is made of 10 different columns?
in my case, i want to look for data concerning seemingly only 2 columns but the problem is that they are not followed immediately.
the 1st sheet have 19 columns from A to T and i want only to take data in E and H. How can i do to put them in the formula? please reply
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,415
Messages
6,119,375
Members
448,888
Latest member
Arle8907

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top