I'm using vlookup to search a block of data with a max of 31 rows, and a min of 0 rows.
This is data from a calendar in spreadsheet form. Only dates with work (event column) occur. So if there is work every day, then there would be 31 lines, or 30 lines or less in appropriate months with <31 days.
All my calculations regarding vlookup work (when there is data on that line), I wont bore you with them here.
PROBLEM:
On the calendar which uses vlookup to get the data, it keys on the first column. On those dates (like 11/7) which don't exist, or in a 30 or 28 day month, I get #N/A errors, which is logical. I just want to hide the #N/A display.
--------------------------------------------------------------
11/3 <Enter Data Here to Look Up Info in column g on that day (ROW 1)
bkb (result for vlookup(a1,b7:f37,4,false) if entry in b7 exists in cells b7:b37 (Row 3)
#N/A (result if data not in b7:b37. I just want to hide this) (ROW 4)
A B C D E F
1 (ROW 7)
2 11/1 11/1 11/1 soc cll (ROW 8)
3 11/3 11/4 11/6 bkb aus
4 11/9 11/11 11/11 vb dal
5
6
<SNIPPED FOR BREVITY>
28 NO DATA ON DAYS WHICH DON'T EXIST
29 NO DATA IF NO EVENT SCHEDULED THAT DATE
30 (ROW 36)
31 (ROW 37 )
I'VE TRIED:
=iferror(VLOOKUP(a1,b7:f37,4,FALSE),"") -- gives me the response #NAME?
(is IFERROR really a function or is that an error in the "help" database???)
=iserror(VLOOKUP(a1,b7:f37,4,FALSE)) -- returns "TRUE", I want a blank cell!!
I could go on adding more =if statements, but that gets too crazy.
I can't post a picture, and this message board's formatting screws things up, but you can see the sheet at
drdumont.webs.com
In a nutshell, I'd like to display a blank cell if VLOOKUP encounters ANY error.
Any help would be greatly appreciated, thanks in advance
-- Doc
This is data from a calendar in spreadsheet form. Only dates with work (event column) occur. So if there is work every day, then there would be 31 lines, or 30 lines or less in appropriate months with <31 days.
All my calculations regarding vlookup work (when there is data on that line), I wont bore you with them here.
PROBLEM:
On the calendar which uses vlookup to get the data, it keys on the first column. On those dates (like 11/7) which don't exist, or in a 30 or 28 day month, I get #N/A errors, which is logical. I just want to hide the #N/A display.
--------------------------------------------------------------
11/3 <Enter Data Here to Look Up Info in column g on that day (ROW 1)
bkb (result for vlookup(a1,b7:f37,4,false) if entry in b7 exists in cells b7:b37 (Row 3)
#N/A (result if data not in b7:b37. I just want to hide this) (ROW 4)
A B C D E F
1 (ROW 7)
2 11/1 11/1 11/1 soc cll (ROW 8)
3 11/3 11/4 11/6 bkb aus
4 11/9 11/11 11/11 vb dal
5
6
<SNIPPED FOR BREVITY>
28 NO DATA ON DAYS WHICH DON'T EXIST
29 NO DATA IF NO EVENT SCHEDULED THAT DATE
30 (ROW 36)
31 (ROW 37 )
I'VE TRIED:
=iferror(VLOOKUP(a1,b7:f37,4,FALSE),"") -- gives me the response #NAME?
(is IFERROR really a function or is that an error in the "help" database???)
=iserror(VLOOKUP(a1,b7:f37,4,FALSE)) -- returns "TRUE", I want a blank cell!!
I could go on adding more =if statements, but that gets too crazy.
I can't post a picture, and this message board's formatting screws things up, but you can see the sheet at
drdumont.webs.com
In a nutshell, I'd like to display a blank cell if VLOOKUP encounters ANY error.
Any help would be greatly appreciated, thanks in advance
-- Doc